To run the example project, clone the repo, and run pod install
from the Example directory first.
IQTextView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'IQTextView'
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 { }
Iftekhar Qurashi hack.iftekhar@gmail.com
IQTextView is available under the MIT license. See the LICENSE file for more info.