- December 17, 2024
- Mins Read
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.
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’
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
}
}
A vertical stackview which takes subviews with different widths and adds them to it's rows with paddings, spacings etc.
AudioManager is a Swift package that provides a modular and easy-to-use interface for implementing audio feedback in your applications. It ...