Classes
The following classes are available globally.
-
A basic control with a label around an outlined area that the user can interact by clicking with the mouse, raising
See moreControlView.mouseClicked
events.Declaration
Swift
open class Button : ControlView
-
Undocumented
See moreDeclaration
Swift
open class Checkbox : ControlView
-
Base empty control system class that can be overridden with implementation.
See moreDeclaration
Swift
open class BaseControlSystem : ControlSystemType
-
Undocumented
See moreDeclaration
Swift
public class DefaultControlSystem : BaseControlSystem
-
A view that is augmented with the ability to be interacted as a UI element by an user with mouse and keyboard input.
See moreDeclaration
Swift
open class ControlView : View, TooltipProvider, MouseEventHandler, KeyboardEventHandler
-
Property wrapper that can be used to define an event publisher/source pair using a single property.
When used as a property wrapper, events can be registered to with
EventSource<T>.addListener(weakOwner:_:)
, and published withEventPublisher<T>.publishEvent(_:)
.Warning: Not thread-safe.
See moreDeclaration
Swift
@propertyWrapper public class Event<T>
-
An event argument set for an event that tracks cancellable actions, while exposing a
See morecancel
that can be changed by clients to cancel the action.Declaration
Swift
public class CancellableActionEventArgs<Args>
-
An event argument set for an event that tracks changes to a property, while exposing a
See morecancel
that can be changed by clients to cancel the state changeDeclaration
Swift
public class CancellableValueChangedEventArgs<T>
-
An event publisher that handles registration and dispatching of events.
Warning: Not thread-safe.
See moreDeclaration
Swift
public class EventPublisher<T> : EventPublisherType
-
The arguments for a keyboard event that is forwarded to event listeners.
See moreDeclaration
Swift
public class KeyEventArgs
-
The event arguments for a character-based key press event.
See moreDeclaration
Swift
public class KeyPressEventArgs
-
Property wrapper that can be used to define an event publisher/source pair using a single property which can also hold state and notify sources when its state has changed.
When used as a property wrapper, events can be registered to with
someEvent.addListener()
, and published with_someEvent.publishEvent(<eventValue>)
or_someEvent(<eventValue>)
.Warning: Not thread-safe.
See moreDeclaration
Swift
public class StatefulEvent<T> : Event<T>
-
A specialization of
See moreViewBitmapCache
that supports storing hashable metadata that can be used to invalidate the contents of the cache by comparing the current values with the values present the previous time the cache was rendered.Declaration
Swift
public class KeyedViewBitmapCache : ViewBitmapCache
-
A rectangular area in a view that can interact with the layout constraint system.
See moreDeclaration
Swift
public final class LayoutGuide
extension LayoutGuide: SpatialReferenceType
extension LayoutGuide: Equatable
extension LayoutGuide: Hashable
extension LayoutGuide: LayoutAnchorsContainer
-
Base class for views in ImagineUI.
Can be instantiated and used as container as-is or subclassed to provide custom behaviour, if required.
See moreDeclaration
Swift
open class View
extension View: LayoutAnchorsContainer
extension View: Equatable
extension View: Hashable
extension View: SpatialReferenceType
-
Undocumented
See moreDeclaration
Swift
public class LayoutConstraint : Hashable
extension LayoutConstraint: CustomStringConvertible
-
Undocumented
See moreDeclaration
Swift
public class LayoutConstraintSolver
-
Undocumented
See moreDeclaration
Swift
public class LayoutConstraintSolverCache
-
An observable describes a stateful value holder that notifies listeners whenever its state value has been changed.
See moreDeclaration
Swift
@propertyWrapper public final class Observable<T>
extension Observable: Encodable where T: Encodable
extension Observable: Decodable where T: Decodable
extension Observable: Equatable where T: Equatable
extension Observable: Hashable where T: Hashable
-
A container control that places components within an outlined panel area
See moreDeclaration
-
Undocumented
See moreDeclaration
Swift
public class ProgressBar : ControlView
-
Undocumented
See moreDeclaration
Swift
open class RadioButton : ControlView
-
A view which serves as the root of a view hierarchy.
See moreDeclaration
Swift
open class RootView : ControlView
-
A scheduler for
See moreonFixedFrame
events.Declaration
Swift
public final class Scheduler
-
Undocumented
See moreDeclaration
Swift
open class ScrollView : ControlView
-
Undocumented
See moreDeclaration
Swift
public class ScrollBarControl : ControlView
-
Undocumented
See moreDeclaration
Swift
public class SliderView : ControlView
-
Undocumented
See moreDeclaration
Swift
open class TextField : ControlView
-
Manages exhibition of tooltips for a view hierarchy within an ImagineUI control system.
See moreDeclaration
Swift
public class ImagineUITooltipsManager : TooltipsManagerType
-
A view used to display auxiliary information.
See moreDeclaration
Swift
public class TooltipView : ControlView
-
Undocumented
See moreDeclaration
Swift
public class TreeView : ControlView
-
Utility class used to cache view bitmaps. Used primarily by
See moreControlView
Declaration
Swift
public class ViewBitmapCache
-
Undocumented
See moreDeclaration
Swift
public class ClosureViewVisitor<T> : ViewVisitor
-
A closure-based view visitor that skips all remaining view visits after the provided closure returns
See more.skipChildren
for the first time.Declaration
Swift
public class SkippableClosureViewVisitor<T> : ViewVisitor
-
Undocumented
See moreDeclaration
Swift
public class ViewTraveler<Visitor> where Visitor : ViewVisitor
-
Undocumented
See moreDeclaration