ALTextInputBar
  • October 26, 2023

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.

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
}
}

GitHub


View Github

#ios #swift #textinputbar #xcode
YOU MIGHT ALSO LIKE...
CameraBackground

Features Both front and back camera supported. Flash modes: auto, on, off. Countdown timer. Tap to focus. Pinch to zoom. Usage  

DKCamera

Description A light weight & simple & easy camera for iOS by Swift. It uses CoreMotion framework to detect device orientation, so ...

HorizonSDK-iOS

Horizon SDK is a state of the art real-time video recording / photo shooting iOS library. Some of the features ...

LLSimpleCamera

LLSimpleCamera: A simple customizable camera - video recorder control LLSimpleCamera is a library for creating a customized camera - video ...

RSBarcodes_Swift

RSBarcodes allows you to read 1D and 2D barcodes using the metadata scanning capabilities introduced with iOS 7 and generate ...