CreationKit Documentation

Class Chip​Layout

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

Conforms To

ComponentLayout

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

NSObject

Properties

title

public var title: String?  

left​Accessory​Image

public var leftAccessoryImage: UIImage?  

right​Accessory​Image

public var rightAccessoryImage: UIImage?  

title​Color

public var titleColor: UIColor = ColorManager.Neutral.fiveHundred  

accessory​Color

public var accessoryColor: UIColor = ColorManager.Neutral.fiveHundred  

Methods

layout(on:​)

public func layout(on view: UIView)