CreationKit Documentation

Class Actions​Layout

public final class ActionsLayout: NSObject, ComponentLayout  
ActionsLayout ActionsLayout NSObject NSObject ActionsLayout->NSObject ComponentLayout ComponentLayout ActionsLayout->ComponentLayout

Conforms To

ComponentLayout

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

NSObject

Methods

layout(on:​)

public func layout(on view: UIView)  

configure(actions:​)

public func configure(actions: [Action])  

Configures the layout with the actions.

Parameters

actions [Action]

The actions to add.