Subclass of UITextField that adds an animated placeholder and an optional hint label below the text.
Migrated to Swift 5.
Changed text padding from horizontal and vertical padding values to UIEdgeInsets
which allows padding to the left, right, top and bottom of the text rectangle. The properties horizontalTextPadding
and verticalTextPadding
were removed.
Added Carthage support. Added hintOffset
property that offsets the hint label from the text.
Basically redid most of the implementation. Improved support of different text alignments. Added support of the left and right auxiliary views and right-to-left languages. Added a view that draws an animated underline below the text (optional).
Fixed layout issue.
Fixed access control of init(frame:)
which was accidentally set to internal
.
Had to fix the author's email address throughout the lib.
The first release of this repository published on CocoaPods.