Skip to content

UITextView growing or scrolling based on number of lines

License

Notifications You must be signed in to change notification settings

Divjyot/GrowingTextView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DSGrowingTextView

Description

A general class for making a UITextView growing or scrolling based on number of lines. For example untill say 5 lines increase the text view height according to its text and after it make the scrolling instead. Language: Objective-C

GIF

Installation

Just copy the class Include folder having two classes DSTextView & DSUtility in your project.

Usage

Use the DSTextView class for your text view & assign that class to your text view.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT License

About

UITextView growing or scrolling based on number of lines

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published