Releases: tbaranes/FittableFontLabel
Releases · tbaranes/FittableFontLabel
v3.0.0
Support for Swift 4.2 and Xcode 10
v2.0.0
Xcode 9.1 and Swift 4 support
v1.4.0
API breaking changes
Bugfixes
- Improved issue with long strings in small labels getting truncated
1.3.0
Enhancements
- Improving performance by using binary search instead of simple loop. That may prevent xcode freezing
Bugfixes
- Fixed
fontSizeThatFits
when used with empty strings
1.2.0
Enhancements
- Improvign default value of
fontSizeToFit
in UILabelExtension
. Default value is now explicitly 100
- Added
fontSizeThatFits
method in UILabelExtension
that returns a font size of the given text which can just fit the given CGSize
.
1.1.0
Enhancements
FittableFontLabel
now support topInset
, leftInset
, bottomInset
, rightInset
Bugfixes
- Fixed interface builder freeze
1.0.1
- Renaming the extension class
- Fixed inspectable attributes for
FittableFontLabel