Skip to content
This repository has been archived by the owner on Jun 22, 2021. It is now read-only.

Releases: alexmx/AMXFontAutoScale

Release 1.2.0

11 Jan 12:23
Compare
Choose a tag to compare
  • Add IBInspectable support for enabling/disabling the auto scaling
  • Improved performance

Release 1.1.3

21 Sep 20:29
Compare
Choose a tag to compare
  • Resolve the compilation issue by providing a workaround fix for Swift compiler bug SR-5959

Release 1.1.2

26 Sep 20:32
Compare
Choose a tag to compare
  • Resolve the compilation issue by providing a workaround fix for Swift compiler bug SR-5959

Release 1.1.1

09 Aug 13:33
Compare
Choose a tag to compare
  • Minor internal performance improvements.

Release 1.1.0

01 Aug 16:30
Compare
Choose a tag to compare
  • 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

18 May 12:03
Compare
Choose a tag to compare
  • 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

12 May 12:53
Compare
Choose a tag to compare
  • 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

12 May 12:07
Compare
Choose a tag to compare
  • Fixed the issue #2 where the instance scaling was broken in case if global one was set.

Release 1.0.1

25 Apr 11:22
Compare
Choose a tag to compare
  • Fixed the issue where font was dropping the font weight/family. Thanks to @pmwheatley
  • Decreased the min deployment target to iOS 8.

Initial release

01 Apr 00:24
Compare
Choose a tag to compare
v1.0.0

Add podspec.