ContainerBoundaryProtocol

public protocol ContainerBoundaryProtocol : AnyBoundary, 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.

  • Subboundaries associated type. This must be definined using BoundaryList using this syntax: typealias Subboundaries = BoundaryList.Add You can add up to 20 subboundaries. A container has the ability to build its children, using the Resolver API.

    Declaration

    Swift

    associatedtype Subboundaries : BoundaryListProtocol

Available where Subboundaries.Boundary1: Boundary

Available where Subboundaries.Boundary2: Boundary

Available where Subboundaries.Boundary3: Boundary

Available where Subboundaries.Boundary4: Boundary

Available where Subboundaries.Boundary5: Boundary

Available where Subboundaries.Boundary6: Boundary

Available where Subboundaries.Boundary7: Boundary

Available where Subboundaries.Boundary8: Boundary

Available where Subboundaries.Boundary9: Boundary

Available where Subboundaries.Boundary10: Boundary

  • resolver(for:) Extension method

    Creates a resolver for the subboundary. The subboundary must be added on the Subboundaries typealias.

    Declaration

    Swift

    func resolver(for: Subboundaries.Boundary10.Type) -> Resolver<Subboundaries.Boundary10>

Available where Subboundaries.Boundary11: Boundary

  • resolver(for:) Extension method

    Creates a resolver for the subboundary. The subboundary must be added on the Subboundaries typealias.

    Declaration

    Swift

    func resolver(for: Subboundaries.Boundary11.Type) -> Resolver<Subboundaries.Boundary11>

Available where Subboundaries.Boundary12: Boundary

  • resolver(for:) Extension method

    Creates a resolver for the subboundary. The subboundary must be added on the Subboundaries typealias.

    Declaration

    Swift

    func resolver(for: Subboundaries.Boundary12.Type) -> Resolver<Subboundaries.Boundary12>

Available where Subboundaries.Boundary13: Boundary

  • resolver(for:) Extension method

    Creates a resolver for the subboundary. The subboundary must be added on the Subboundaries typealias.

    Declaration

    Swift

    func resolver(for: Subboundaries.Boundary13.Type) -> Resolver<Subboundaries.Boundary13>

Available where Subboundaries.Boundary14: Boundary

  • resolver(for:) Extension method

    Creates a resolver for the subboundary. The subboundary must be added on the Subboundaries typealias.

    Declaration

    Swift

    func resolver(for: Subboundaries.Boundary14.Type) -> Resolver<Subboundaries.Boundary14>

Available where Subboundaries.Boundary15: Boundary

  • resolver(for:) Extension method

    Creates a resolver for the subboundary. The subboundary must be added on the Subboundaries typealias.

    Declaration

    Swift

    func resolver(for: Subboundaries.Boundary15.Type) -> Resolver<Subboundaries.Boundary15>

Available where Subboundaries.Boundary16: Boundary

  • resolver(for:) Extension method

    Creates a resolver for the subboundary. The subboundary must be added on the Subboundaries typealias.

    Declaration

    Swift

    func resolver(for: Subboundaries.Boundary16.Type) -> Resolver<Subboundaries.Boundary16>

Available where Subboundaries.Boundary17: Boundary

  • resolver(for:) Extension method

    Creates a resolver for the subboundary. The subboundary must be added on the Subboundaries typealias.

    Declaration

    Swift

    func resolver(for: Subboundaries.Boundary17.Type) -> Resolver<Subboundaries.Boundary17>

Available where Subboundaries.Boundary18: Boundary

  • resolver(for:) Extension method

    Creates a resolver for the subboundary. The subboundary must be added on the Subboundaries typealias.

    Declaration

    Swift

    func resolver(for: Subboundaries.Boundary18.Type) -> Resolver<Subboundaries.Boundary18>

Available where Subboundaries.Boundary19: Boundary

  • resolver(for:) Extension method

    Creates a resolver for the subboundary. The subboundary must be added on the Subboundaries typealias.

    Declaration

    Swift

    func resolver(for: Subboundaries.Boundary19.Type) -> Resolver<Subboundaries.Boundary19>

Available where Subboundaries.Boundary20: Boundary

  • resolver(for:) Extension method

    Creates a resolver for the subboundary. The subboundary must be added on the Subboundaries typealias.

    Declaration

    Swift

    func resolver(for: Subboundaries.Boundary20.Type) -> Resolver<Subboundaries.Boundary20>