Type Aliases
The following type aliases are available globally.
-
A piece of observable view model.
You define the model that is used by your view to bind to properties and logic needed and to handle its lifecycle.
Declaration
Swift
public typealias MwxObservableViewModel<V> = MwxViewModel<V> & ObservableObject where V : MwxView
-
A property wrapper that is used to inject an instance of this property to the object declared in. Read only property wrapper injector.
Declaration
Swift
public typealias Service = Inject
-
A property wrapper that subscribes to a
ObservableObject
automatically invalidating the view when it changes. define theMwxViewItem
view item property that is used by your view to bind to properties and logic needed and to handle its lifecycle.Declaration
Swift
public typealias ViewItem = ObservedObject
-
A property wrapper that subscribes to a
ObservableObject
automatically invalidating the view when it changes. define theMwxObservableViewModel
view model property that is used by your view to bind to properties and logic needed and to handle its lifecycle.Declaration
Swift
public typealias ViewModel = EnvironmentObservedInject