Swiftpack.co - FluidGroup/NextGrowingTextView as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by FluidGroup.
FluidGroup/NextGrowingTextView 2.2.0
📝 The next in the generations of 'growing textviews' optimized for iOS 8 and above.
⭐️ 1,651
🕓 16 weeks ago
iOS
.package(url: "https://github.com/FluidGroup/NextGrowingTextView.git", from: "2.2.0")

NextGrowingTextView
(An Essential UI component for input text)

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.

How to use

  1. Create an instance
  2. 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.textView

Accessing UILabel for displaying placeholder

growingTextView.placeholderLabel

Requirements

iOS 9.0+ Swift 5.5+

Installation

  • Supports the following:
    • CocoaPods
    • Swift Package Manager

Author

muukii

License

NextGrowingTextView is available under the MIT license. See the LICENSE file for more info.

FOSSA Status

GitHub

link
Stars: 1652
Last commit: 3 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

2.2.0
16 weeks ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics