A beautiful and animating text field. Written in Swift. Underlined UITextField. This project is maintained by Pranavan.
- Create
UITextFieldin your storyboard or programatically. - Set
SPTextFieldasUITextFieldclass. - Customization Customization for SPTextField:
- Left Image : Text Field main Icon/Image (Set as template on Assets)
- Right Padding : Spacing between text and icon
- Border Inactive : Text field inactiive underline color
- Border Active : Text field Active underline color
- Alert Image : Right Side Alert Image Icon
- Image Size : Both main and alert image icon sizes
- Useful methods for Calling Alert Animation
- Create Outlet
@IBOutlet var newText: SPLoginTextField!- Call method for animation
newText.invalidFieldAlert()!Manually
Drop SPTextField.swift in your project.
*Pods is coming.
- iOS 9.0+
- Xcode 8.0+
This project is maintained by Pranavan. I design and build Web and iOS/Android applications.


