ARLabel

MIT License
Objective-C
iOS

1 image

Author

Description

Ever had one of the following problems with UILabel?

  • Unable to determine the correct font size to fit width and HEIGHT
  • UILabel adjustsFontSizeToFitWidth does not work as expected
  • Could not animate font size change


That is where ARLabel comes in. Forget font size altogether! ARLabel works automatically by setting its font size to fit its frame. So working with ARLabel is more like working with a plain UIView. Just set the frame to desired size and forget everything else. You want animated font size change? Just set a different frame inside an UIView animation block.

Tags