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
listAdapter
The list adapter that the list will display in.
sectionController
The 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
listAdapter
The list adapter that the list was displayed in.
sectionController
The 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
listAdapter
The list adapter that row will display in.
sectionController
The section controller that is displaying.
cell
The cell about to be displayed.
index
The 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
listAdapter
The list adapter that the list was displayed in.
sectionController
The section controller that is no longer displaying the cell.
cell
The cell that is no longer displayed.
index
The index of the row.