Class
FontProvider
public class FontProvider: FontProviding
A type that can provide custom fonts for Tink views.
Relationships
Conforms To
FontProviding
A type that can provide fonts for Tink views.
Initializers
init()
public init()
init(lightFont:regularFont:semiBoldFont:boldFont:)
public init(lightFont: Font, regularFont: Font, semiBoldFont: Font, boldFont: Font)
Initializes a appearance provider with the specified styling.
Parameters
Name | Type | Description |
---|---|---|
lightFont | Font |
The light font to use. |
regularFont | Font |
The regular font to use. |
semiBoldFont | Font |
The semibold font to use. |
boldFont | Font |
The bold font to use. |