Other Type Aliases

The following type aliases are available globally.

  • This type is used when configuring a button.

    Declaration

    Swift

    public typealias ButtonConfigurationClosure = (Button) -> Void
  • This type is used when configuring a view.

    Declaration

    Swift

    public typealias ViewConfigurationClosure = (UIView) -> Void
  • This type is used when a tool becomes active.

    Declaration

    Swift

    public typealias DidEnterToolClosure = () -> Void
  • This type is used when a tool is about to resign being active.

    Declaration

    Swift

    public typealias WillLeaveToolClosure = () -> Void
  • This type is used when configuring a toolbar item.

    Declaration

    Swift

    public typealias ToolbarItemClosure = (ToolbarItem) -> Void