To run the example project, clone the repo, and run pod install from the Example directory first.
- Swift 4.2
- iOS 8+
- Xcode 8+
LGTextView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'LGTextView'To use an LGTextView, simply drag a regular UITextView into your storyboard, and set its class to LGTextView. You'll then be able to enter the placeholder of your choice.
Alternatively, you can create an LGTextView with placeholder in code, as follows:
textView.placeholder = "Put some fancy placeholder here 💥"
If you would like to contribute, I'll happily approve and merge pull requests. If you have any issues using this library, found a bug, or have an idea for an enhacement, it's not issue to open an issue :) (ha!)
Linus Geffarth, linus@geffarth.com
LGTextView is available under the MIT license. See the LICENSE file for more info.