TypographyKit v4.0.0 Release Notes
Release Date: 2020-02-23 // about 4 years ago-
➕ Added
- 👌 Support for SwiftUI. A typography style can be applied to a SwiftUI
Text
view as follows:
Text("A string").typography(style: .interactive)
Letter casing can be applied directly to a String as follows:
"A string".letterCase(style: .interactive)
- 💅 Scaling mode may now be specified on a per typography style basis using the
scaling-mode
key.
🔄 Changed
- 0️⃣ The default scaling mode (if one is not specified) is now
UIFontMetrics
with fallback to stepping prior to iOS 11.0. - 👌 Improvements to scaling using
UIFontMetrics
including respecting minimum point size constraints.
- 👌 Support for SwiftUI. A typography style can be applied to a SwiftUI