AnyVISPERApp
open class AnyVISPERApp<AppState> : VISPERAppType
Type erasure for the generic ApplicationType protocol (you need this to reference it as a full type, to use it in arrays or variable definitions, since generic protocols can only be used in generic definitions)
-
Undocumented
Declaration
Swift
public typealias ApplicationState = AppState -
Undocumented
Declaration
Swift
public init<Base>(_ base: Base) where AppState == Base.ApplicationState, Base : VISPERAppType -
Declaration
Swift
open var state: ObservableProperty<AppState> { get } -
Declaration
Swift
open var wireframe: Wireframe { get } -
Declaration
Swift
open var redux: Redux<AppState> { get } -
Declaration
Swift
open func add(feature: Feature) throws -
Declaration
Swift
public func add(featureObserver: FeatureObserver) -
Declaration
Swift
open func add<T>(featureObserver: T) where AppState == T.AppState, T : StatefulFeatureObserver -
Declaration
Swift
open func add(featureObserver: WireframeFeatureObserver) -
Declaration
Swift
open func navigateOn(_ controller: UIViewController) -
Declaration
Swift
public func controllerToNavigate(matches: (UIViewController?) -> Bool) -> UIViewController?
View on GitHub
AnyVISPERApp Class Reference