Skip to content

NSJoker/NSJFontResizingUITextView

Repository files navigation

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

NSJFontResizingUITextView

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.