FUISortFilterFormDelegate
public protocol FUISortFilterFormDelegate : AnyObject
Methods for returning a new UITableViewCell or configuring UITableViewCell
-
Provides a chance to return any kind of
UITableViewCellother than ‘FUISortFilterViewController.ControlType’ at indexPathDeclaration
Swift
func cell(_ vc: FUISortFilterViewController, controlType: FUISortFilterViewController.ControlType, at indexPath: IndexPath) -> UITableViewCell?Parameters
vcThe
FUISortFilterViewControllerobject requesting the cell.controlTypeThe control type.
indexPathThe index path.
Return Value
the new
UITableViewCellobject. Returningnilindicates that the created cell fromFUISortFilterViewControlleris to be used. -
Provides a chance to customize the cell for the
FUISortFilterViewController.ControlTypeatindexPath.Declaration
Swift
func configCell(_ vc: FUISortFilterViewController, controlType: FUISortFilterViewController.ControlType, at indexPath: IndexPath, cell: UITableViewCell) -> UITableViewCellParameters
vcthe
FUISortFilterViewControllerobject requesting the cell.controlTypeThe control type.
indexPathThe index path.
cellThe cell requires further configuration. Need to do a downcast to proper
UITableViewCellbefore configuration.Return Value
The configured
UITableViewCellobject.