Add setNeedsDataFetch method to queue off screen fetchData calls

This commit is contained in:
Levi McCallum
2016-01-27 14:52:37 -08:00
parent f696eb7476
commit ec7a3599bd
4 changed files with 48 additions and 3 deletions

View File

@@ -442,7 +442,6 @@ NS_ASSUME_NONNULL_BEGIN
*
* @see displaySuspended and setNeedsDisplay
*/
- (void)recursivelyClearContents;
/**
@@ -465,6 +464,13 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (void)recursivelyFetchData;
/**
* @abstract Marks the node as needing to call fetchData
* @discussion If the node is outside of the preload range, it is queued to call fetchData the next time it enters the range.
* Otherwise, fetchData is called immediately if the node is currently within the preload range.
*/
- (void)setNeedsDataFetch;
/**
* @abstract Toggle displaying a placeholder over the node that covers content until the node and all subnodes are
* displayed.