Other Protocols

The following protocols are available globally.

  • Represents a storable container for a state object.

    Extend this protocol to implement new methods for the Store<> and StoreProxy<> types.

    See more

    Declaration

    Swift

    public protocol StateStorable
  • Makes a view “connectable” to the application state.

    This should not be used directly. Instead, use ConnectableView. This protocol isn’t combined into ConnectableView due to a possible bug in Swift that throws an invalid assocated type if Props isn’t explicitly typealiased.

    See more

    Declaration

    Swift

    public protocol Connectable
  • A view modifier that connects to the application state.

    See more

    Declaration

    Swift

    public protocol ConnectableViewModifier : Connectable, ViewModifier
  • A type-erased wrapper of a Store.

    See more

    Declaration

    Swift

    public protocol AnyStore : ActionDispatcher