IGListWorkingRangeDelegate
@protocol IGListWorkingRangeDelegate <NSObject>
Implement this protocol to receive working range events for a list.
The working range is a range near the viewport in which you can begin preparing content for display. For example, you could begin decoding images, or warming text caches.
-
Notifies the delegate that an section controller will enter the working range.
Declaration
Objective-C
- (void)listAdapter:(nonnull IGListAdapter *)listAdapter sectionControllerWillEnterWorkingRange: (nonnull IGListSectionController *)sectionController;
Swift
func listAdapter(_ listAdapter: IGListAdapter, sectionControllerWillEnterWorkingRange sectionController: IGListSectionController)
Parameters
listAdapter
The adapter controlling the list.
sectionController
The section controller entering the range.
-
Notifies the delegate that an section controller exited the working range.
Declaration
Objective-C
- (void)listAdapter:(nonnull IGListAdapter *)listAdapter sectionControllerDidExitWorkingRange: (nonnull IGListSectionController *)sectionController;
Swift
func listAdapter(_ listAdapter: IGListAdapter, sectionControllerDidExitWorkingRange sectionController: IGListSectionController)
Parameters
listAdapter
The adapter controlling the list.
sectionController
The section controller that exited the range.