Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/muukii/NextGrowingTextView
📝 The next in the generations of 'growing textviews' optimized for iOS 8 and above.
https://github.com/muukii/NextGrowingTextView
carthage cocoapods hacktoberfest ios textview xcode
Last synced: 4 days ago
JSON representation
📝 The next in the generations of 'growing textviews' optimized for iOS 8 and above.
- Host: GitHub
- URL: https://github.com/muukii/NextGrowingTextView
- Owner: FluidGroup
- License: mit
- Created: 2015-12-18T03:49:56.000Z (almost 9 years ago)
- Default Branch: main
- Last Pushed: 2023-05-08T14:06:12.000Z (over 1 year ago)
- Last Synced: 2024-11-07T17:02:46.240Z (6 days ago)
- Topics: carthage, cocoapods, hacktoberfest, ios, textview, xcode
- Language: Swift
- Homepage:
- Size: 7.63 MB
- Stars: 1,802
- Watchers: 30
- Forks: 149
- Open Issues: 30
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-cocoa - NextGrowingTextView
README
# NextGrowingTextView
(An Essential UI component for input text)|flexible width | fixed width |
|---|---|
|||> 💡
**Displaying the user-interface on top of the keyboard**
[muukii/Bureau](https://github.com/muukii/Bureau) enables you to show your user-interface on top of the keyboard in the easiest way.## How to use
1. Create an instance
2. Add subview with layoutIt supports AutoLayout completely.
```swift
let growingTextView = NextGrowingTextView()
```**Setting up with configuration**
```swift
growingTextView.configuration = .init(
minLines: 1,
maxLines: 10,
isAutomaticScrollToBottomEnabled: true,
isFlashScrollIndicatorsEnabled: true
)
```**Accessing actual UITextView to apply settings**
```swift
growingTextView.textView
```**Accessing UILabel for displaying placeholder**
```swift
growingTextView.placeholderLabel
```## Requirements
iOS 9.0+ Swift 5.5+
## Installation
- Supports the following:
- CocoaPods
- Swift Package Manager## Author
[muukii](https://github.com/muukii)
## License
NextGrowingTextView is available under the MIT license. See the LICENSE file for more info.
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fmuukii%2FNextGrowingTextView.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fmuukii%2FNextGrowingTextView?ref=badge_large)