sunjinshuai / NextGrowingTextView

πŸ“ The next in the generations of 'growing textviews' optimized for iOS 8 and above.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NextGrowingTextView - An Essential UI component for input text

flexible width fixed width

πŸ’‘
You want also to need to display a 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

Create an instance, then adding 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 in there

growingTextView.textView

Accessing UILabel for displaying placeholder

growingTextView.placeholderLabel

Requirements

iOS 9.0+ Swift 5.5+

Installation

  • Supports followings:
    • CocoaPods
    • Swift Package Manager

Author

muukii

License

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

FOSSA Status

About

πŸ“ The next in the generations of 'growing textviews' optimized for iOS 8 and above.

License:MIT License


Languages

Language:Swift 97.6%Language:Ruby 2.4%