AMXFontAutoScale Versions Save

⚠️ Experimental automatic cross-device font scaling for UILabel and UITextView.

v1.2.0

6 years ago
  • Add IBInspectable support for enabling/disabling the auto scaling
  • Improved performance

v1.1.2

6 years ago
  • Resolve the compilation issue by providing a workaround fix for Swift compiler bug SR-5959

v1.1.3

6 years ago
  • Resolve the compilation issue by providing a workaround fix for Swift compiler bug SR-5959

v1.1.1

6 years ago
  • Minor internal performance improvements.

v1.1.0

6 years ago
  • 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)")
        }
    }
}

v1.0.4

6 years ago
  • Fixed the issue #3 where the font was increased incrementally when moving the UILabel or UITextView out of window and adding it back.

v1.0.3

7 years ago
  • 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.

v1.0.2

7 years ago
  • Fixed the issue #2 where the instance scaling was broken in case if global one was set.

v1.0.1

7 years ago
  • Fixed the issue where font was dropping the font weight/family. Thanks to @pmwheatley
  • Decreased the min deployment target to iOS 8.

v1.0.0

7 years ago