MenuListSectionControllerSelectionDelegate

@available(iOS 9.0, *)
@objc(PESDKMenuListSectionControllerSelectionDelegate)
public protocol MenuListSectionControllerSelectionDelegate : AnyObject

The MenuListSectionControllerSelectionDelegate protocol defines methods that allow you to respond to the selection events of an instance of MenuListSectionController.

  • Called when an item is selected.

    Declaration

    Swift

    func sectionController(_ sectionController: MenuListSectionController, didSelectItemAt index: Int, object: Any)

    Parameters

    sectionController

    The section controller that handles the item.

    index

    The index of the item that was selected within the section.

    object

    The object that was selected.