CreationKit Documentation

Class Component

open class Component<Layout: ComponentLayout>: UIView  

Generic UIView type that uses a ComponentLayout

Component Component UIView UIView Component->UIView LabelInputForm LabelInputForm Component->LabelInputForm

Conforms To

UIView

Initializers

init()

public convenience init()  

Creates a new Component.

init?(coder:​)

@available(iOS, unavailable, message: "Use init() instead.")
  required public init?(coder aDecoder: NSCoder)  

Properties

layout

public let layout: Layout

The layout that was used to create the component.

Methods

make()

public static func make() -> Component<Layout>  

Creates a new Component.