You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 1, 2022. It is now read-only.
An auto growing text input bar for messaging apps. Written in Swift.
ALTextInputBar is designed to solve a few issues that folks usually encounter when building messaging apps.
Features
Simple to use and configure
Automatic resizing based on content
Interactive dismiss gesture support
Installation & Requirements
This project requires Xcode 8.0 to run and compiles with swift 3.0
ALTextInputBar is available on CocoaPods. Add the following to your Podfile:
pod'ALTextInputBar'
Usage
This is the minimum configuration required to attach an input bar to the keyboard.
classViewController:UIViewController{lettextInputBar=ALTextInputBar()
// The magic sauce
// This is how we attach the input bar to the keyboard
overridevarinputAccessoryView:UIView?{get{return textInputBar
}}
// Another ingredient in the magic sauce
overridevarcanBecomeFirstResponder:Bool{returntrue}}
License
ALTextInputBar is available under the MIT license. See the LICENSE file for more info.
About
An auto growing text input bar for messaging apps.