GiniFont

public class GiniFont : NSObject

Provides a way to set all possible font weights used in the GiniPayBusiness SDK.

Possible weights:

  • regular
  • bold
  • light
  • thin
  • Undocumented

    Declaration

    Swift

    public var regular: UIFont
  • Undocumented

    Declaration

    Swift

    public var bold: UIFont
  • Undocumented

    Declaration

    Swift

    public var light: UIFont
  • Undocumented

    Declaration

    Swift

    public var thin: UIFont
  • 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