mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Let nodes deallocate naturally, manually trampoline UIKit ivars
Be more aggressive with main thread punting Trampoline setting the dataSource/delegate onto the main thread Short-circuit the supplementary nodes method if no data source Don't rely on assertions Mark variable unused to fix release builds Handle ASCollectionNode/ASTableNode deallocation better Add some comments about new macro
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
|
||||
#import <AsyncDisplayKit/_ASAsyncTransactionContainer.h>
|
||||
#import <AsyncDisplayKit/ASBaseDefines.h>
|
||||
#import <AsyncDisplayKit/ASDealloc2MainObject.h>
|
||||
#import <AsyncDisplayKit/ASDimension.h>
|
||||
#import <AsyncDisplayKit/ASAsciiArtBoxCreator.h>
|
||||
#import <AsyncDisplayKit/ASLayoutElement.h>
|
||||
@@ -106,7 +105,7 @@ extern NSInteger const ASDefaultDrawingPriority;
|
||||
*
|
||||
*/
|
||||
|
||||
@interface ASDisplayNode : ASDealloc2MainObject <ASLayoutElement>
|
||||
@interface ASDisplayNode : NSObject <ASLayoutElement>
|
||||
|
||||
/** @name Initializing a node object */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user