Changelog History
Page 1
-
v4.2.1 Changes
August 04, 2020๐ Changed
๐ Fixes support for Swift Package Manager by making
TypographyKitViewController
andTypographyKitColorsViewController
programmatic over using storyboards & xibs. -
v4.2.0 Changes
May 09, 2020โ Added
- ๐ Support for posting a
UIContentSizeCategory.didChangeNotification
notification manually where scaling usingUIFontMetrics
.
- ๐ Support for posting a
-
v4.1.0 Changes
March 19, 2020โ Added
- ๐ Support for Swift Package Manager.
-
v4.0.0 Changes
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.
- ๐ Support for SwiftUI. A typography style can be applied to a SwiftUI
-
v3.3.0 Changes
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 Changes
January 21, 2020โ Added
โ Added the ability to globally specify the line breaking mode for
UILabel
using theline-break
property oflabels
. For an example, see the sample app. -
v3.1.0 Changes
September 17, 2019โ Added
โ Added parameter
replacingDefaultTextColor
to functionattributedText(_ text:, style:,letterCase:, textColor: UIColor?)
allowing the most frequently occurring text color in an attributed string to be replaced with the value of thetextColor
parameter. -
v3.0.1 Changes
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 Changes
September 03, 2019โ Added
๐ Support for Xcode 11 and dark mode in iOS 13.
-
v2.2.3 Changes
September 03, 2019๐ Changed
๐ Fixed an issue whereby attributed text would not be updated correctly.