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 } -
fontExtension methodCreated font using the provided properties of the struct that conforms to TextAppearance or ButtonTextAppearance protocol.
Declaration
Swift
var font: UIFont { get } -
attributesExtension methodDictionary that can be use for attributed string.
Declaration
Swift
var attributes: [NSAttributedString.Key : Any] { get }
View on GitHub
TextAppearance Protocol Reference