Type Aliases

The following type aliases are available globally.

  • Undocumented

    Declaration

    Swift

    public typealias UIEventSubtype = UIEvent.EventSubtype
  • typealias representing () -> Void used to allow actions/events to be set on views.

    Declaration

    Swift

    public typealias ActionBlock = () -> Void
  • typealias representing (T) -> Void used to allow actions/events to be set on views as well as passing data along.

    Declaration

    Swift

    public typealias ActionBlockWithData<T> = (T) -> Void