BubbleTextField
An Expanding Bubble Text Field.
Written in Swift, and inspired by Xcode's refactor text field.
Features
- Auto-expanding width
- Continuous spell checking
- Supports
placeholderString
Installation
BubbleTextField
is available for installation using CocoaPods or Carthage. Alternatively, you can simply copy the BubbleTextField.swift
file into your Xcode project.
CocoaPods
Usingpod "BubbleTextField"
Carthage
Usinggithub "chriszielinski/BubbleTextField"
Quick Start
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~
Community
- 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.
Used In
😢
Contributors
- Chris Zielinski — Original author.
License
BubbleTextField is available under the MIT license, see the LICENSE file for more information.