This repository has been archived by the owner on Jun 22, 2021. It is now read-only.
Releases: alexmx/AMXFontAutoScale
Releases · alexmx/AMXFontAutoScale
Release 1.2.0
Release 1.1.3
- Resolve the compilation issue by providing a workaround fix for Swift compiler bug SR-5959
Release 1.1.2
- Resolve the compilation issue by providing a workaround fix for Swift compiler bug SR-5959
Release 1.1.1
- Minor internal performance improvements.
Release 1.1.0
- Added a closure handler called every time the font should be updated.
import AMXFontAutoScale
class SomeViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
someLabel.amx_fontSizeUpdateHandler = { originalSize, preferredSize, multiplier in
print("For original size: \(originalSize) set preferred size: \(preferredSize), multiplier: \(multiplier)")
}
}
}
Release 1.0.4
- Fixed the issue #3 where the font was increased incrementally when moving the UILabel or UITextView out of window and adding it back.
Release 1.0.3
- Fixed the issue #2 where the instance scaling was broken in case if global one was set.
- Release 1.0.2 fixed the issue for UILabel. This release fixes the issue for UITextView as well.
Release 1.0.2
- Fixed the issue #2 where the instance scaling was broken in case if global one was set.
Release 1.0.1
- Fixed the issue where font was dropping the font weight/family. Thanks to @pmwheatley
- Decreased the min deployment target to iOS 8.
Initial release
v1.0.0 Add podspec.