UILabel

  • A boolean indicating if the text should live adjust size based on the user’s dynamic text setting changing.

    A wrapper for self.adjustsFontForContentSizeCategory on iOS 10+, and custom notification for content size change on iOS 9 and lower.

    Declaration

    Swift

    public var respondsToDynamicTypeChanges: Bool
  • Returns value of self.text.isEmpty

    Declaration

    Swift

    public var isTextEmpty: Bool