# StaticViewFactory

    public protocol StaticViewFactory

A factory that creates optional contained `UIView`s should conform to this protocol.

- `View`

  A type of the view to build.

  #### Declaration

  Swift

      associatedtype View : UIView

- `buildView(within:)`

  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.