SystemFontSet

public enum SystemFontSet: String, FontSetProtocol

Implementation of FontSetProtocol which uses UIFont’s systemFont(ofSize:, weight:) function to transform Strings into UIFonts using the font weight 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 var font: UIFont