完善任务流程、键盘适配与页面交互
This commit is contained in:
48
Pods/IQTextView/README.md
generated
Normal file
48
Pods/IQTextView/README.md
generated
Normal file
@ -0,0 +1,48 @@
|
||||
# IQTextView
|
||||
|
||||
[](https://travis-ci.org/hackiftekhar/IQTextView)
|
||||
[](https://cocoapods.org/pods/IQTextView)
|
||||
[](https://cocoapods.org/pods/IQTextView)
|
||||
[](https://cocoapods.org/pods/IQTextView)
|
||||
|
||||

|
||||
|
||||
## 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](https://cocoapods.org). To install
|
||||
it, simply add the following line to your Podfile:
|
||||
|
||||
```ruby
|
||||
pod 'IQTextView'
|
||||
```
|
||||
|
||||
## 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
|
||||
```swift
|
||||
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
|
||||
```swift
|
||||
@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.
|
||||
Reference in New Issue
Block a user