Classes

The following classes are available globally.

  • Simple class to display a list of choices.

    The class generates cells using the identifiers Basic or Detail based on the values in self.optionDetails. Cells should be registered against these identifiers to prevent exceptions being thrown. Options can be configured into multiple sections using nested arrays in the sortedOptionKeys property. Cells should conform to SelectionCell. Visual cell selection should be configured in the cell itself.

    The delegate property 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.

    See more

    Declaration

    Swift

    public class SelectionViewController: UIViewController, UITableViewDataSource, UITableViewDelegate