Enter a text in UITextField, it displays the placeholder as a subject.
RaisePlaceholder is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'RaisePlaceholder'
Insert 'RaisePlaceholder' in your UITextField custom class.
Use IBInspectable
Use Code
import RaisePlaceholder
@IBOutlet weak var raisePlaceholder: RaisePlaceholder!
raisePlaceholder.animationDuration = 0.5
raisePlaceholder.subjectColor = UIColor.orange
raisePlaceholder.underLineColor = UIColor.orange
RaisePlaceholder is available under MIT license. See the LICENSE file for more info.