Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iwasrobbed/RPFloatingPlaceholders
UITextField and UITextView subclasses with placeholders that change into floating labels when the fields are populated with text.
https://github.com/iwasrobbed/RPFloatingPlaceholders
Last synced: 5 days ago
JSON representation
UITextField and UITextView subclasses with placeholders that change into floating labels when the fields are populated with text.
- Host: GitHub
- URL: https://github.com/iwasrobbed/RPFloatingPlaceholders
- Owner: iwasrobbed
- License: mit
- Created: 2013-10-21T20:29:25.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2020-01-04T06:42:36.000Z (almost 5 years ago)
- Last Synced: 2024-12-01T06:06:45.645Z (11 days ago)
- Language: Objective-C
- Homepage: http://dribbble.com/shots/1254439--GIF-Mobile-Form-Interaction
- Size: 88.9 KB
- Stars: 1,128
- Watchers: 33
- Forks: 120
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ios - RPFloatingPlaceholders - UITextField and UITextView subclasses with placeholders that change into floating labels when the fields are populated with text. (UI / TextField & TextView)
- awesome-ios-star - RPFloatingPlaceholders - UITextField and UITextView subclasses with placeholders that change into floating labels when the fields are populated with text. (UI / TextField & TextView)
README
## Deprecated
Please use [JVFloatLabeledTextField](https://github.com/jverdi/JVFloatLabeledTextField) instead or feel free to chime in on an issue if you'd like to take over the repo.
## RPFloatingPlaceholders
UITextField and UITextView subclasses with placeholders that change into floating labels when the fields are populated with text.
*Used by millions of people in the Booking.com app!* Is your app using it? [Let me know!](mailto:[email protected])
Please see the included example app for sample usage.
Support this project via Gratipay
### Options:
**Animate upward (default)**
![Upwards animation](http://i.imgur.com/HLehhbQ.gif)
**Animate downward**
![Downwards animation](http://i.imgur.com/DrAECwk.gif)
### Supports:
ARC & iOS 6+, Autolayout or springs and struts### Apps using it:
* [Booking.com](https://itunes.apple.com/app/booking.com-hotel-reservations/id367003839) — Used by millions of people around the world to book hotels.
### A little help from my friends:
Please feel free to fork and create a pull request for bug fixes or improvements, being sure to maintain the general coding style and adding comments as necessary.Thanks to the following people for their help:
* [Giridhar](https://github.com/gizmoboy7)
* [Dima](https://github.com/DimaVartanian)
* [Dan Spinosa](https://github.com/spinosa)
* [Nick](https://github.com/nicked)
* [Andrii Chernenko](https://github.com/deville)### Credit:
[Credit for the design concept goes to Matt D. Smith](http://dribbble.com/shots/1254439--GIF-Mobile-Form-Interaction).