Classes
The following classes are available globally.
-
Simple implementation of
See moreSelectionCellwith two labels and checkmark selection state.Declaration
Swift
public class SelectionTableViewCell: UITableViewCell, SelectionCell
-
Simple class to display a list of choices.
The class generates cells using the identifiers
BasicorDetailbased on the values inself.optionDetails. Cells should be registered against these identifiers to prevent exceptions being thrown. Options can be configured into multiple sections using nested arrays in thesortedOptionKeysproperty. Cells should conform toSelectionCell. Visual cell selection should be configured in the cell itself.The
See moredelegateproperty should be set to return the selected choice(s) on dismissal. The delegate methods only request dismissal, they makes no assumption of how to be dismissed. This allows for modal / push / custom / child view controller presentation of the choices.Declaration
Swift
public class SelectionViewController: UIViewController, UITableViewDataSource, UITableViewDelegate
View on GitHub
Classes Reference