Typography

public protocol Typography

Typography provides static size fonts as per FontStyle

  • Returns an instance of the font for the specified FontStyle and with font size.

    Declaration

    Swift

    static func font(forTextStyle style: FontStyle) -> UIFont

    Parameters

    style

    FontStyle

    Return Value

    Created font.