An Expanding Bubble Text Field. 💬
Written in Swift, and inspired by Xcode's refactor text field.
- Auto-expanding width
- Continuous spell checking
- Supports
placeholderString
BubbleTextField
is available for installation using CocoaPods or Carthage. Alternatively, you can simply copy the BubbleTextField.swift
file into your Xcode project.
Using CocoaPods
pod "BubbleTextField"
Using Carthage
github "chriszielinski/BubbleTextField"
The sample projects provide an example of how to integrate a BubbleTextField
using a Storyboard, otherwise you can follow these steps.
Just create and add the BubbleTextField
to your view hierarchy.
let bubbleTextField = BubbleTextField()
// Optionally, activate spell checking.
bubbleTextField.isContinuousSpellCheckingEnabled = true
view.addSubview(bubbleTextField)
~groovy~ 🏖️
- Found a bug? Open an issue.
- Feature idea?
Open an issue.Do it yourself & PR when done 😅 (or you can open an issue). - Want to contribute? Submit a pull request.
- 😢
- Chris Zielinski — Original author.
BubbleTextField is available under the MIT license, see the LICENSE file for more information.