StaticViewFactory
public protocol StaticViewFactory
A factory that creates optional contained UIView
s should conform to this protocol.
-
A type of the view to build.
Declaration
Swift
associatedtype View : UIView
-
Factory method that will be called by the corresponding container
UIView
Declaration
Swift
static func buildView(within bounds: CGRect) -> View?
Parameters
bounds
A bounds rect of the container.
Return Value
Build
UIView
instance.