CJFloatingLabel is a UI component designed as part of CoinJar Touch. Inspired by the Google's polymer project, CJFloatingLabel provides a versatile, highly configurable text field that comes with a floating display label and icon image view.
- Supports active & inactive states.
- Configurable UI (support for UIApperance)
- Standard and secure text entry
- Support for icon image or plain text.
CocoaPods is the easiest way to manage your iOS/OSX dependencies. Check out their getting started guide to see how to set it up. If you have cocoapods setup on your machine, simply set the spec like this:
platform :ios, '8.0'
pod "CJFloatingTextField", "~> 1.0.0"
- Masonry
We use constraints based layout at CoinJar, and since we create all of our views in code, we've gotten pretty used to using Masonry. It makes constraints based layout code about 400% easier to write and manage, and so it's part of this (and all of our) projects.
The module is entirely customisable through UIAppearance. All colours and fonts used within the module can be set using the UIAppearance proxy. The example project shows how to do this, but for a more in depth look at UIAppearance check out the docs check out the docs or check out Matt Thompson’s article on NSHipster
CJFloatingTextField is available under the MIT license. See the LICENSE file for more info.