FUISortFilterFormDelegate
public protocol FUISortFilterFormDelegate : AnyObject
Methods for returning a new UITableViewCell
or configuring UITableViewCell
-
Provides a chance to return any kind of
UITableViewCell
other than ‘FUISortFilterViewController.ControlType’ at indexPathDeclaration
Swift
func cell(_ vc: FUISortFilterViewController, controlType: FUISortFilterViewController.ControlType, at indexPath: IndexPath) -> UITableViewCell?
Parameters
vc
The
FUISortFilterViewController
object requesting the cell.controlType
The control type.
indexPath
The index path.
Return Value
the new
UITableViewCell
object. Returningnil
indicates that the created cell fromFUISortFilterViewController
is to be used. -
Provides a chance to customize the cell for the
FUISortFilterViewController.ControlType
atindexPath
.Declaration
Swift
func configCell(_ vc: FUISortFilterViewController, controlType: FUISortFilterViewController.ControlType, at indexPath: IndexPath, cell: UITableViewCell) -> UITableViewCell
Parameters
vc
the
FUISortFilterViewController
object requesting the cell.controlType
The control type.
indexPath
The index path.
cell
The cell requires further configuration. Need to do a downcast to proper
UITableViewCell
before configuration.Return Value
The configured
UITableViewCell
object.