IGListDisplayDelegate
@protocol IGListDisplayDelegate <NSObject>
Implement this protocol to receive display events for an section controller when it is on screen.
-
Tells the delegate that the specified list is about to be displayed.
Declaration
Objective-C
- (void)listAdapter:(nonnull IGListAdapter *)listAdapter willDisplaySectionController: (nonnull IGListSectionController<IGListSectionType> *)sectionController;Parameters
listAdapterThe list adapter that the list will display in.
sectionControllerThe list about to be displayed.
-
Tells the delegate that the specified list is no longer being displayed.
Declaration
Objective-C
- (void)listAdapter:(nonnull IGListAdapter *)listAdapter didEndDisplayingSectionController: (nonnull IGListSectionController<IGListSectionType> *)sectionController;Parameters
listAdapterThe list adapter that the list was displayed in.
sectionControllerThe list that is no longer displayed.
-
Tells the delegate that a row in the specified list is about to be displayed.
Declaration
Objective-C
- (void)listAdapter:(nonnull IGListAdapter *)listAdapter willDisplaySectionController: (nonnull IGListSectionController<IGListSectionType> *)sectionController cell:(nonnull UICollectionViewCell *)cell atIndex:(NSInteger)index;Parameters
listAdapterThe list adapter that row will display in.
sectionControllerThe section controller that is displaying.
cellThe cell about to be displayed.
indexThe index of the row.
-
Tells the delegate that a row in the specified list is no longer being displayed.
Declaration
Objective-C
- (void)listAdapter:(nonnull IGListAdapter *)listAdapter didEndDisplayingSectionController: (nonnull IGListSectionController<IGListSectionType> *)sectionController cell:(nonnull UICollectionViewCell *)cell atIndex:(NSInteger)index;Parameters
listAdapterThe list adapter that the list was displayed in.
sectionControllerThe section controller that is no longer displaying the cell.
cellThe cell that is no longer displayed.
indexThe index of the row.
View on GitHub
IGListDisplayDelegate Protocol Reference