-
Notifications
You must be signed in to change notification settings - Fork 3
Label
fumoboy007 edited this page Nov 27, 2020
·
2 revisions
An AutoLayoutTextView subclass that acts like a label.
public class Label: AutoLayoutTextViewSpecifically, it is non-editable, does not draw a background by default, allows vibrancy, etc.
public override init(frame frameRect: NSRect, textContainer container: NSTextContainer?)public required init?(coder: NSCoder)var allowsVibrancy: Boolvar drawsBackground: Boolvar isEditable: Boolvar acceptsFirstResponder: Boolpublic override func encode(with aCoder: NSCoder)public override func resignFirstResponder() -> Boolpublic override func hitTest(_ point: NSPoint) -> NSView?Generated at 2020-11-27T07:13:09+0000 using swift-doc 1.0.0-beta.5.