Protocols

The following protocols are available globally.

  • A boundary is a model for handling the object graph construction of a group of objects. Never use this protocol directly instead inherit from Boundary, Adapter, Container or RootBoundary

    See more

    Declaration

    Swift

    public protocol BoundaryProtocol
  • Protocol for Container Boundaries. A container is simply a boundary that contains other children boundaries. This gives makes the boundary composable. Never use this protocol directly Instead inherit from ContainerBoundary.

    See more

    Declaration

    Swift

    public protocol ContainerBoundaryProtocol : AnyBoundary, BoundaryProtocol
  • This is a protocol listing 20 boundary associatedtypes. This is only for internal use please use the concrete type BoundaryList instead.

    See more

    Declaration

    Swift

    public protocol BoundaryListProtocol
  • A boundary protocol for a plugin. A plugin is an abstract boundary, defining input ports. Use Structs conforming to this protocol for defining your Plugins. For implementing a plugin Use AdapterBoundary

    Declaration

    Swift

    public protocol PluginBoundary : BoundaryProtocol where Self.Dependencies == BoundaryList
  • Protocol for plugin Adapters. Adapters build implementations for plugins.

    See more

    Declaration

    Swift

    public protocol AdapterBoundaryProtocol : AnyBoundary, BoundaryProtocol
  • A RootBoundary is the root object of the Boundary Graph. Never use this protocol directly. Instead inherit from RootBoundary.

    Declaration

    Swift

    public protocol RootBoundaryProtocol : ContainerBoundaryProtocol where Self.Dependencies == BoundaryList