JWPrototypingBuilder

public protocol JWPrototypingBuilder : NSObject

Undocumented

  • The type of item the builder builds.

    Declaration

    Swift

    associatedtype Output : NSObject, DeepCopying
  • Builds the object.

    Throws

    An error if the object is not setup correctly.

    Declaration

    Swift

    func build() throws -> Output

    Return Value

    An instance of the assicated object.

  • The associated object being built up by the builder.

    Declaration

    Swift

    var outputObject: Output { get }
  • Creates a new instance for building the specified output type from a prototype.

    Declaration

    Swift

    init(from prototype: Output?)

    Parameters

    prototype

    The existing object from which the builder will extract initial values for its output object.