Skip to content

najanda89/RaisePlaceholder

Repository files navigation

Language Cocoapods LICENSE: MIT

RaisePlaceholder

Enter a text in UITextField, it displays the placeholder as a subject.

Preview

Installation

CocoaPods

RaisePlaceholder is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'RaisePlaceholder'

Usage

Insert 'RaisePlaceholder' in your UITextField custom class.

Subclass

Customize

Use IBInspectable

IBInspectable

Use Code

import RaisePlaceholder

@IBOutlet weak var raisePlaceholder: RaisePlaceholder!

raisePlaceholder.animationDuration = 0.5
raisePlaceholder.subjectColor = UIColor.orange
raisePlaceholder.underLineColor = UIColor.orange

License

RaisePlaceholder is available under MIT license. See the LICENSE file for more info.