CustomFontSet
public struct CustomFontSet: FontSetProtocol
Implementation of FontSetProtocol which uses UIFont’s init(name:, size:) function to transform Strings into UIFonts using the font’s name as the String key.
Remark
Uses default pointSize of 25. To set pointSize, consider defining property like fontSize to call UIFont’s .withSize(fontSize:) to convert this to a new Font with a given size.-
Undocumented
Declaration
Swift
public init?(rawValue: String)
-
Undocumented
Declaration
Swift
public var rawValue: String
-
Undocumented
Declaration
Swift
public var font: UIFont