Link Search Menu Expand Document

Label

public class Label: Control 

Inheritance

Control

Initializers

init(frame:)

public init(frame: Rect) 

Properties

text

public var text: String? 

font

public override var font: Font! 

frame

public override var frame: Rect 

adjustsFontForContentSizeCategory

public var adjustsFontForContentSizeCategory = false

Methods

sizeThatFits(_:)

override public func sizeThatFits(_ size: Size) -> Size 

traitCollectionDidChange(_:)

override public func traitCollectionDidChange(_ previousTraitCollection: TraitCollection?)