fluidgroup/nextgrowingtextview
|flexible width | fixed width |
How to use
- Create an instance
- Add subview with layout
It supports AutoLayout completely.
let growingTextView = NextGrowingTextView()Setting up with configuration
growingTextView.configuration = .init(
minLines: 1,
maxLines: 10,
isAutomaticScrollToBottomEnabled: true,
isFlashScrollIndicatorsEnabled: true
)Accessing actual UITextView to apply settings
growingTextView.textViewAccessing UILabel for displaying placeholder
growingTextView.placeholderLabelRequirements
iOS 9.0+ Swift 5.5+
Installation
- Supports the following:
- CocoaPods - Swift Package Manager
License
NextGrowingTextView is available under the MIT license. See the LICENSE file for more info.
[[FOSSA Status]](https://app.fossa.io/projects/git%2Bgithub.com%2Fmuukii%2FNextGrowingTextView?ref=badge_large)
Package Metadata
Repository: fluidgroup/nextgrowingtextview
Default branch: main
README: README.md