mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
updated load and display did change methods
This commit is contained in:
@@ -243,32 +243,22 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
- (void)visibilityDidChange:(BOOL)isVisible ASDISPLAYNODE_REQUIRES_SUPER;
|
||||
|
||||
/**
|
||||
* @abstract Called whenever the the node enters the display range.
|
||||
* @abstract Called whenever the the node has entered or left the display state.
|
||||
*
|
||||
* @discussion Subclasses may use this to monitor when they enter the display range.
|
||||
* @discussion Subclasses may use this to monitor when a node should be rendering its content.
|
||||
*
|
||||
* @note This method can be called from any thread and should therefore be thread safe.
|
||||
*/
|
||||
- (void)didEnterDisplayRange ASDISPLAYNODE_REQUIRES_SUPER;
|
||||
- (void)displayStateDidChange:(BOOL)inDisplayState ASDISPLAYNODE_REQUIRES_SUPER;
|
||||
|
||||
/**
|
||||
* @abstract Called whenever the the node exits the display range.
|
||||
* @abstract Called whenever the the node has entered or left the load state.
|
||||
*
|
||||
* @discussion Subclasses may use this to monitor when they exit the display range.
|
||||
*/
|
||||
- (void)didExitDisplayRange ASDISPLAYNODE_REQUIRES_SUPER;
|
||||
|
||||
/**
|
||||
* @abstract Called whenever the the node enters the fetch data range.
|
||||
* @discussion Subclasses may use this to monitor data for a node should be loaded, either from a local or remote source.
|
||||
*
|
||||
* @discussion Subclasses may use this to monitor when they enter the fetch data range.
|
||||
* @note This method can be called from any thread and should therefore be thread safe.
|
||||
*/
|
||||
- (void)didEnterFetchDataRange ASDISPLAYNODE_REQUIRES_SUPER;
|
||||
|
||||
/**
|
||||
* @abstract Called whenever the the node exits the fetch data range.
|
||||
*
|
||||
* @discussion Subclasses may use this to monitor when they exit the fetch data range.
|
||||
*/
|
||||
- (void)didExitFetchDataRange ASDISPLAYNODE_REQUIRES_SUPER;
|
||||
- (void)loadStateDidChange:(BOOL)inLoadState ASDISPLAYNODE_REQUIRES_SUPER;
|
||||
|
||||
/**
|
||||
* Called just before the view is added to a window.
|
||||
|
||||
Reference in New Issue
Block a user