Type Aliases
The following type aliases are available globally.
-
Undocumented
Declaration
Swift
public typealias CheckboxStateWillChangeEventArgs = CancellableValueChangedEventArgs<Checkbox.State> -
A typealias for arguments for a
ControlView.paintedeventDeclaration
Swift
public typealias PaintEventArgs = (Renderer, ClipRegionType) -
A typealias for an event that tracks actions that can be cancelled by listeners.
Declaration
Swift
public typealias CancellableActionEvent<Args> = Event<CancellableActionEventArgs<Args>> -
A typealias for an event that tracks changes to a property’s value, while giving the opportunity for a listener to cancel the value change.
Declaration
Swift
public typealias CancellableValueChangeEvent<Value> = Event<CancellableValueChangedEventArgs<Value>> -
A typealias for an event that tracks changes to a property’s value
Declaration
Swift
public typealias ValueChangedEvent<Value> = Event<ValueChangedEventArgs<Value>> -
A typealias for an event that tracks actions that can be cancelled by listeners.
Declaration
Swift
public typealias CancellableActionEventWithSender<Sender, Args> = EventWithSender<Sender, CancellableActionEventArgs<Args>> -
A typealias for an event that tracks changes to a property’s value, while giving the opportunity for a listener to cancel the value change.
Declaration
Swift
public typealias CancellableValueChangeEventWithSender<Sender, Value> = EventWithSender<Sender, CancellableValueChangedEventArgs<Value>> -
A typealias for an event source for an event with a sender.
The sender is by convention the object responsible for the issuing of the event, if the event is a property, the sender is the property’s type, and may be used by event listeners as a filter to selectively respond to events.
Declaration
Swift
public typealias EventSourceWithSender<T, U> = EventSource<SenderEventArgs<T, U>> -
Represents an event that sends a
senderproperty along with the event arguments to listeners.The sender is by convention the object responsible for the issuing of the event, if the event is a property, the sender is the property’s type, and may be used by event listeners as a filter to selectively respond to events based on the sender.
Declaration
Swift
public typealias EventWithSender<T, U> = Event<SenderEventArgs<T, U>> -
A typealias for an event that has a sender.
Declaration
Swift
public typealias SenderEventArgs<Sender, EventArgs> = (sender: Sender, args: EventArgs) -
A typealias for an event that tracks changes to a property’s value
Declaration
Swift
public typealias ValueChangedEventWithSender<Sender, Value> = EventWithSender<Sender, ValueChangedEventArgs<Value>> -
Type for UISettings.timeInSeconds
Declaration
Swift
public typealias TimeInSecondsFunction = () -> TimeInterval
Type Aliases Reference