Skip to content

FluidGroup/NextGrowingTextView

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

* Update README.md

* Update README.md
0b9c945

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

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