Skip to content

A beautiful and animating text field. Written in Swift.

License

Notifications You must be signed in to change notification settings

pranavansp/SPTextField

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPTextField

A beautiful and animating text field. Written in Swift. Underlined UITextField. This project is maintained by Pranavan.

SPTextField on Simulator

Usage

  1. Create UITextField in your storyboard or programatically.
  2. Set SPTextField as UITextField class.
  3. 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

  1. Useful methods for Calling Alert Animation
  • Create Outlet
@IBOutlet var newText: SPLoginTextField!
  • Call method for animation
newText.invalidFieldAlert()!

Installation

Manually

Drop SPTextField.swift in your project.

*Pods is coming.

Requirements

  • iOS 9.0+
  • Xcode 8.0+

Author

This project is maintained by Pranavan. I design and build Web and iOS/Android applications.

About

A beautiful and animating text field. Written in Swift.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages