flexible width | fixed width |
---|---|
💡
Displaying the user-interface on top of the keyboard
muukii/Bureau enables you to show your user-interface on top of the keyboard in the easiest way.
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.textView
Accessing UILabel for displaying placeholder
growingTextView.placeholderLabel
iOS 9.0+ Swift 5.5+
NextGrowingTextView is available under the MIT license. See the LICENSE file for more info.
link |
Stars: 1783 |
Last commit: 50 weeks ago |
Full Changelog: https://github.com/FluidGroup/NextGrowingTextView/compare/2.2.0...2.2.1
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics