NSJFontResizingUITextView
NSJFontResizingUITextView copied to clipboard
NSJFontResizingUITextView
Problem
UITextField adjusts its font size dynamicaly with respect to is content, it can lower its font size upto a certain value set by the developer. The same requirement may arise for a UITextView where you have to set the content size of the UITextView constant and reduce the font size to view all the text in it without scrolling.
Demo
Example
To run the example project, clone the repo, and run pod install from the Example directory first.
Requirements
Installation
NSJFontResizingUITextView is available through CocoaPods. To install it, simply add the following line to your Podfile:
source 'https://github.com/NSJoker/NSJFontResizingUITextViewPodSpecs.git'
pod "NSJFontResizingUITextView"
Author
NSJoker, [email protected]
License
NSJFontResizingUITextView is available under the MIT license. See the LICENSE file for more info.