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;

    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;

    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;

    Parameters

    listAdapter

    The list adapter whose collection view ended dragging.

    sectionController

    The visible section controller that ended dragging.