TypographyKit v4.1.0 Release Notes

Release Date: 2020-03-19 // 12 days ago
  • ➕ Added

    • 👌 Support for Swift Package Manager.

Previous changes from v4.0.0

  • ➕ 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.