Protocol
Buildable
The base protocol that all builders should conform to.
protocol Buildable : AnyObject, Sendable
Overview
A builder is responsible for instantiating a napkin unit and wiring up all its internal components. Builders are the entry point for creating new napkin units in the application tree.
Overview
In the napkin architecture, builders serve as factories that:
Conforming to Buildable
Custom builder protocols should extend Buildable to define their specific build methods:
protocol MyFeatureBuildable: Buildable {
func build(withListener listener: MyFeatureListener) -> MyFeatureRouting
}
See Also
Builder
See Also
Component
Relationships
Conforming Types