IGListSingleSectionControllerDelegate

@protocol IGListSingleSectionControllerDelegate <NSObject>

A delegate that can receive selection events on an IGListSingleSectionController.

  • Tells the delegate that the section controller was selected.

    Declaration

    Objective-C

    - (void)didSelectSectionController:
                (nonnull IGListSingleSectionController *)sectionController
                            withObject:(nonnull id)object;

    Swift

    func didSelect(_ sectionController: ListSingleSectionController, with object: Any)

    Parameters

    sectionController

    The section controller that was selected.

    object

    The model for the given section.

  • Tells the delegate that the section controller was deselected.

    Note

    Method is @optional until the 4.0.0 release where it will become required.

    Declaration

    Objective-C

    - (void)didDeselectSectionController:
                (nonnull IGListSingleSectionController *)sectionController
                              withObject:(nonnull id)object;

    Swift

    optional func didDeselect(_ sectionController: ListSingleSectionController, with object: Any)

    Parameters

    sectionController

    The section controller that was deselected.

    object

    The model for the given section.