IGListSingleSectionControllerDelegate
Objective-C
@protocol IGListSingleSectionControllerDelegate <NSObject>
                Swift
@MainActor protocol ListSingleSectionControllerDelegate : NSObjectProtocol
                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
sectionControllerThe section controller that was selected.
objectThe model for the given section.
 - 
                  
                  
Tells the delegate that the section controller was deselected.
Note
Method is
@optionaluntil 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
sectionControllerThe section controller that was deselected.
objectThe model for the given section.
 
View on GitHub