CreationKit Documentation

Class Static​Input​Field​Layout

public final class StaticInputFieldLayout: NSObject, ComponentLayout  

A layout for static input fields for Forms.

StaticInputFieldLayout StaticInputFieldLayout ComponentLayout ComponentLayout StaticInputFieldLayout->ComponentLayout NSObject NSObject StaticInputFieldLayout->NSObject

Conforms To

ComponentLayout

A protocol to share components (view layouts) across different types.

NSObject

Properties

title

public var title: String?  

The title to display for the input field. Defaults to nil.

subtitle

public var subtitle: String?  

The subtitle to display for the input field. Defaults to nil.

text

public var text: String?  

The text in the input field.

helper

public var helper: String?  

Methods

layout(on:​)

public func layout(on view: UIView)