uif

UIFloatLabelTextView

A subclassed UITextView that follows the Float Label UI design pattern.

Showing:

Popularity

Downloads/wk

0

GitHub Stars

172

Maintenance

Last Commit

3yrs ago

Contributors

2

Package

Dependencies

0

License

MIT

Categories

Readme

UIFloatLabelTextView

A subclassed UITextView that implements the Float Label UI design pattern.

Cocoapods Carthage Compatible


Note

If you are looking for the UITextField equivalent of this class, please visit my UIFloatLabelTextField repository.

About

In 2013, Matt D. Smith unveiled the Float Label user interface design pattern. In short, it retains a text field's placeholder above said text field (or text view) as a floating label. This label is brightly colored when the field is active, and dimly colored when a user has finished editing that field.

Sample Gif of Library in Action

Image credit: Matt D. Smith.

Features

  • Works with all view init styles
    • Visual Formatting Language (for programmatic NSAutoLayout)
    • Manual Frame Initialization
    • Storyboards and Xibs
  • Works with all NSTextAlignments
  • Added Placeholder support
  • Support for disabling all default UIMenuController options
    • E.g., Paste, Copy, Cut, Select, Select All

Installation

CocoaPods

pod 'UIFloatLabelTextView'

Carthage

github "ArtSabintsev/UIFloatLabelTextView"

Usage

Check out UIFloatLabelTextView.h for a full list of editable properties. Also, check out the UIFloatLabelSampleApp for an example impementation of the application.

Created and maintained by

Arthur Ariel Sabintsev

License

Please refer to the LICENSE file.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100