All Versions
41
Latest Version
Avg Release Cycle
24 days
Latest Release
11 days ago

Changelog History
Page 1

  • v4.1.0

    March 19, 2020

    ➕ Added

    • 👌 Support for Swift Package Manager.
  • v4.0.0

    February 23, 2020

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

    February 19, 2020

    ➕ Added

    ➕ Added the ability to specify a minimum and / or maximum point size per typography style e.g.

            "paragraph": {
                "font-name": "Avenir-Medium",
                "minimum-point-size": 12,
                "maximum-point-size": 24,
                "point-size": 18,
                "text-color": "text",
                "letter-case": "regular"
            }
    
  • v3.2.0

    January 21, 2020

    ➕ Added

    ➕ Added the ability to globally specify the line breaking mode for UILabel using the line-break property of labels. For an example, see the sample app.

  • v3.1.0

    September 17, 2019

    ➕ Added

    ➕ Added parameter replacingDefaultTextColor to function attributedText(_ text:, style:,letterCase:, textColor: UIColor?) allowing the most frequently occurring text color in an attributed string to be replaced with the value of the textColor parameter.

  • v3.0.1

    September 11, 2019

    ⚡️ Updated

    💅 Resolved an issues with setting NSAttributedString on UILabel` updating all fonts to the specified typography style even where a font attribute was already set.

  • v3.0.0

    September 03, 2019

    ➕ Added

    👌 Support for Xcode 11 and dark mode in iOS 13.

  • v2.2.3

    September 03, 2019

    🔄 Changed

    🛠 Fixed an issue whereby attributed text would not be updated correctly.

  • v2.2.2

    September 02, 2019

    🔄 Changed

    🛠 Fixed an issue whereby invoking UIFont(name:, size:) using the name of the system font (as part of setting a new font size for attributed text) causes the font to be set to Times New Roman.

  • v2.2.1

    August 21, 2019

    🔄 Changed

    • 🛠 Fixed an issue whereby updating an element's attributed text only updated the font size and not the typeface.