GiniVisionFont

public class GiniVisionFont : NSObject

Provides a way to set all possible font weights used in the GiniVision library.

Possible weights:

  • regular
  • bold
  • light
  • thin
  • Undocumented

    Declaration

    Swift

    public private(set) var isEnabled: Bool { get }
  • Undocumented

    Declaration

    Swift

    public init(regular: UIFont, bold: UIFont, light: UIFont, thin: UIFont, isEnabled: Bool = true)
  • Undocumented

    Declaration

    Swift

    public func with(weight: UIFont.Weight, size: CGFloat, style: UIFont.TextStyle) -> UIFont