Popularity
4.4
Stable
Activity
0.0
Stable
262
8
51

Code Quality Rank: L4
Programming language: Swift
License: MIT License
Tags: UI    
Latest version: v1.1.8

ALTextInputBar alternatives and similar libraries

Based on the "UI" category.
Alternatively, view ALTextInputBar alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of ALTextInputBar or a related project?

Add another 'UI' Library

README

ALTextInputBar

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.

With some text With lots of text

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.

class ViewController: UIViewController {

    let textInputBar = ALTextInputBar()

    // The magic sauce
    // This is how we attach the input bar to the keyboard
    override var inputAccessoryView: UIView? {
        get {
            return textInputBar
        }
    }

    // Another ingredient in the magic sauce
    override var canBecomeFirstResponder: Bool {
        return true
    }
}

License

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


*Note that all licence references and agreements mentioned in the ALTextInputBar README section above are relevant to that project's source code only.