Declarative UIKit for iOS apps
CLASS
DHDLabelopen class DHDLabel: UILabel
Connivence object for UILabel
init(font:textColor:alignment:text:lineLimit:adjustsFontForContentSizeCategory:)public convenience init(font: UIFont?,
textColor: UIColor?,
alignment: NSTextAlignment?,
text: String?,
lineLimit: Int?,
adjustsFontForContentSizeCategory: Bool?)
init(_:font:)public convenience init(_ text: String?,
font: UIFont? = UIFont.preferredFont(forTextStyle: .body))
Create a DHDLabel with a font and some text
UIFont of the label| Name | Description |
|---|---|
| text | a string of text |
| font | the UIFont of the label |
init(_:)public convenience init(_ text: String?)
Create a DHDLabel with some text
| Name | Description |
|---|---|
| text | a string of text |