mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Implement node-backing for ASTableView and ASCollectionView, with a strong back-pointer in these cases.
This commit is contained in:
@@ -160,6 +160,20 @@ typedef NS_OPTIONS(NSUInteger, ASDisplayNodeMethodOverrides)
|
||||
|
||||
@property (nonatomic, assign) CGFloat contentsScaleForDisplay;
|
||||
|
||||
/**
|
||||
* // TODO: NOT YET IMPLEMENTED
|
||||
*
|
||||
* @abstract Prevents interface state changes from affecting the node, until disabled.
|
||||
*
|
||||
* @discussion Useful to avoid flashing after removing a node from the hierarchy and re-adding it.
|
||||
* Removing a node from the hierarchy will cause it to exit the Display state, clearing its contents.
|
||||
* For some animations, it's desirable to be able to remove a node without causing it to re-display.
|
||||
* Once re-enabled, the interface state will be updated to the same value it would have been.
|
||||
*
|
||||
* @see ASInterfaceState
|
||||
*/
|
||||
@property (nonatomic, assign) BOOL interfaceStateSuspended;
|
||||
|
||||
/**
|
||||
* This method has proven helpful in a few rare scenarios, similar to a category extension on UIView,
|
||||
* but it's considered private API for now and its use should not be encouraged.
|
||||
|
||||
Reference in New Issue
Block a user