SelectionViewControllerDelegate

public protocol SelectionViewControllerDelegate: class

Delegate of a SelectionViewController responsible for responding to the result of a selection.

  • This should request dismissal from the delegate. This assumes no specific form of presentation allowing the presenter to decide how the view is displayed to the user. It is assumed that this delegate call back does not update the selection in the presenting view controller.

    Declaration

    Swift

    func selectionViewControllerRequestsCancel(selectionViewController: SelectionViewController)
  • This should request dismissal from the delegate. This assumes no specific form of presentation allowing the presenter to decide how the view is displayed to the user. It is assumed that this delegate call back updates the selection in the presenting view controller.

    Declaration

    Swift

    func selectionViewControllerRequestsDismissal(selectionViewController: SelectionViewController)