CreationKit Documentation

Class Day​Cell​Layout

public final class DayCellLayout: NSObject, ComponentLayout  

A layout for day cells in a DatePicker

DayCellLayout DayCellLayout ComponentLayout ComponentLayout DayCellLayout->ComponentLayout NSObject NSObject DayCellLayout->NSObject

Nested Types

DayCellLayout.State

Conforms To

ComponentLayout

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

NSObject

Properties

label

public lazy var label: UILabel  

label​Background

public lazy var labelBackground: UIView  

Methods

apply(state:​animated:​)

public func apply(state: State, animated: Bool = true)  

layout(on:​)

public func layout(on view: UIView)