Classes

The following classes are available globally.

  • Button that supports Typography. You can optionally set maximumPointSize or maximumScaleFactor to set a cap on Dynamic Type scaling.

    See more

    Declaration

    Swift

    open class TypographyButton : UIButton
  • A text label that supports Typography. You can optionally set maximumPointSize or maximumScaleFactor to set a cap on Dynamic Type scaling.

    See more

    Declaration

    Swift

    open class TypographyLabel : UILabel
  • A text label that supports Typography. You can optionally set maximumPointSize or maximumScaleFactor to set a cap on Dynamic Type scaling.

    See more

    Declaration

    Swift

    open class TypographyTextField : UITextField
  • A text view that supports Typography.

    You can optionally set maximumPointSize or maximumScaleFactor to set a cap on Dynamic Type scaling.

    Note

    By default UITextView has no intrinsic height (because content can scroll). If you are looking to essentially have an interactive label with link support, you need to set isScrollEnabled = false and isEditable = false.
    See more

    Declaration

    Swift

    open class TypographyTextView : UITextView