TextAppearance

public protocol TextAppearance

Represents a type of the design of a text.

  • Undocumented

    Declaration

    Swift

    var fontName: String { get }
  • Undocumented

    Declaration

    Swift

    var textColor: UIColor { get }
  • Undocumented

    Declaration

    Swift

    var textStyle: UIFont.TextStyle? { get }
  • Undocumented

    Declaration

    Swift

    var fontSize: CGFloat? { get }
  • font Extension method

    Created font using the provided properties of the struct that conforms to TextAppearance or ButtonTextAppearance protocol.

    Declaration

    Swift

    var font: UIFont { get }
  • attributes Extension method

    Dictionary that can be use for attributed string.

    Declaration

    Swift

    var attributes: [NSAttributedString.Key : Any] { get }