UILabel
public extension UILabel
-
SwifterSwift: Initialize a UILabel with text
Declaration
Swift
convenience init(text: String?)
-
SwifterSwift: Initialize a UILabel with a text and font style.
Declaration
Swift
convenience init(text: String, style: UIFont.TextStyle)
Parameters
text
the label’s text.
style
the text style of the label, used to determine which font should be used.
-
SwifterSwift: Required height for a label
Declaration
Swift
var requiredHeight: CGFloat { get }