Skip to content
プロジェクト

iwasrobbed/RPFloatingPlaceholders

GitHubで見る

概要

UITextField と UITextView のサブクラスです。テキストを入力すると、プレースホルダーがフローティングラベルに変わります。

Web・アプリ開発

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
-4
1か月
-5

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

Deprecated

Please use 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!

Please see the included example app for sample usage.

Support this project via Gratipay

Options:

Animate upward (default)

Upwards animation

Animate downward

Downwards animation

Supports:

ARC & iOS 6+, Autolayout or springs and struts

Apps using it:

  • Booking.com — 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:

Credit:

Credit for the design concept goes to Matt D. Smith.

関連プロジェクトを探す

読み込み中…