MenuListSectionControllerListDisplayDelegate
@available(iOS 9.0, *)
@objc(PESDKMenuListSectionControllerListDisplayDelegate)
public protocol MenuListSectionControllerListDisplayDelegate : AnyObject
The MenuListSectionControllerListDisplayDelegate
protocol defines methods that allow you to
respond to the display events of an instance of MenuListSectionController
.
-
Called just before a cell will be displayed.
Declaration
Swift
func sectionController(_ sectionController: MenuListSectionController, willDisplay cell: UICollectionViewCell, at index: Int) -> <<error type>>
Parameters
sectionController
The section controller that handles the cell.
cell
The cell that will be displayed.
index
The index of the cell within the section.