IGListScrollDelegate
@protocol IGListScrollDelegate <NSObject>
Implement this protocol to receive display events for a section controller when it is on screen.
-
Tells the delegate that the section controller was scrolled on screen.
Declaration
Objective-C
- (void)listAdapter:(nonnull IGListAdapter *)listAdapter didScrollSectionController: (nonnull IGListSectionController *)sectionController;
Swift
func listAdapter(_ listAdapter: IGListAdapter, didScroll sectionController: IGListSectionController)
Parameters
listAdapter
The list adapter whose collection view was scrolled.
sectionController
The visible section controller that was scrolled.
-
Tells the delegate that the section controller will be dragged on screen.
Declaration
Objective-C
- (void)listAdapter:(nonnull IGListAdapter *)listAdapter willBeginDraggingSectionController: (nonnull IGListSectionController *)sectionController;
Swift
func listAdapter(_ listAdapter: IGListAdapter, willBeginDragging sectionController: IGListSectionController)
Parameters
listAdapter
The list adapter whose collection view will drag.
sectionController
The visible section controller that will drag.
-
Tells the delegate that the section controller did end dragging on screen.
Declaration
Objective-C
- (void)listAdapter:(nonnull IGListAdapter *)listAdapter didEndDraggingSectionController: (nonnull IGListSectionController *)sectionController willDecelerate:(BOOL)decelerate;
Swift
func listAdapter(_ listAdapter: IGListAdapter, didEndDragging sectionController: IGListSectionController, willDecelerate decelerate: Bool)
Parameters
listAdapter
The list adapter whose collection view ended dragging.
sectionController
The visible section controller that ended dragging.
-
Undocumented
Declaration
Objective-C
- (void)listAdapter:(IGListAdapter *)listAdapter didEndDeceleratingSectionController:(IGListSectionController *)sectionController;
Swift
optional func listAdapter(_ listAdapter: IGListAdapter, didEndDeceleratingSectionController sectionController: IGListSectionController)