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