DynamicTypography
public protocol DynamicTypography : Typography, TypographyOptions
DynamicTypography provides dynamic types fonts along with static size fonts
-
Returns an instance of the font for the specified
FontStyleand scaled appropriately for the user’s selected content size category.Declaration
Swift
static func preferredFont(forTextStyle style: FontStyle) -> UIFontParameters
styleFontStyle
Return Value
Created font.
View on GitHub
Install in Dash
DynamicTypography Protocol Reference