UILabel

public extension UILabel

Label+Measurable contains dynamic content of a label.

Author

Adamas

Version

1.5.0

Date

16/08/2019
  • Get the position of the last character.

    Declaration

    Swift

    var endPosition: CGPoint { get }
  • Get the height of each line.

    Declaration

    Swift

    var lineHeight: CGFloat { get }
  • How many lines are presented.

    Declaration

    Swift

    var lineAmount: Int { get }
  • The actual height of the text.

    Declaration

    Swift

    var actualHeight: CGFloat { get }
  • Declaration

    Swift

    override func localize(withLocalizationFile localizationFile: String = defaultLocalizationFile)