Skip to content

A UITextView subclass with support for placeholder text (like UITextField)

License

Notifications You must be signed in to change notification settings

cbowns/MPTextView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MPTextView

MPTextView and support for iOS 7

I'm not currently shipping any applications which use MPTextView. It's completely untested on iOS 7 and later. I recommend maintaining a fork with iOS 7+ support, or evaluating an alternative project such as SZTextView.


A UITextView subclass with support for placeholder text (similar to UITextField)

Notes and errata

  • The property is named .placeholderText to avoid colliding with .placeholder if UITextView gains that property in a future version of iOS.
  • Some setters on UITextView are overridden to pass font and text alignment data through to the placeholder label. setAttributedText: has not been.

This has been tested on an iPhone 5 running iOS 6.1.4, and in the iOS 6.1 Simulator for both non-Retina and Retina iPads.

Open an issue if you have any problems!

About

A UITextView subclass with support for placeholder text (like UITextField)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published