Example
To run the example project, clone the repo, and run pod install from the Example directory first.
Requirements
Installation
IQTextView is available through CocoaPods. To install it, simply add the following line to your Podfile:
Usage
You can set any UITextView class to IQTextView and then you can change the placeholder and placeholderTextColor from the storyboard
To change them via code, you may have to set them programmatically
textView.placeholderTextColor = UIColor.lightGray textView.placeholder = "Enter your message here..."
To work this with IQKeyboardToolbarManager to show placeholder in toolbar, you may have to confirm IQPlaceholderable manually in your code
@available(iOSApplicationExtension, unavailable) @MainActor extension IQTextView: IQPlaceholderable { }
Author
Iftekhar Qurashi hack.iftekhar@gmail.com
License
IQTextView is available under the MIT license. See the LICENSE file for more info.
