Protocols

The following protocols are available globally.

  • Declare a method to present alert to the view controller.

    See more

    Declaration

    Swift

    public protocol Present: class
  • Declare a method to add an approvable action.

    See more

    Declaration

    Swift

    public protocol Approve: class
  • Declare a method to add a destructive action.

    See more

    Declaration

    Swift

    public protocol DestructiveApprove
  • Declare a method to add a cancelable action.

    See more

    Declaration

    Swift

    public protocol Cancel