SystemFont

public protocol SystemFont : Font where Self.TextStyle == UIFont.TextStyle

SystemFont font which represents built in Font Style - UIFont.TextStyle.

  • font(forTextStyle:) Extension method

    Declaration

    Swift

    public func font(forTextStyle textStyle: UIFont.TextStyle) -> UIFont