GitHunt
SU

sumansid/TextfieldEffects

A comprehensive extension file for most common types of textfields styling written in Swift for Xcode.

Textfields-Styling-Extensions

HitCount

All in one extension file for textfield styling.

How to use ?

  1. Drag and drop Extension.swift file to your project.
  2. Use the following functions as per your need.
The Extension.swift files contains various styling extensions for UITextField like the following :
  1. setIcon : To put an icon on the left side of the textfield using UIImage.

    Email Unit

  2. addShadowToTextField : To add a shadow to any textfield.

    Screen Shot 2020-02-02 at 8 18 36 AM
  3. setBottomBorder : To make flat textfields that have a small border at the bottom.

    Screen Shot 2020-02-02 at 8 20 03 AM
  4. changePlaceholderColor : To change the textfield's placeholder color.

    Screen Shot 2020-05-28 at 10 45 57 PM
  5. addRoundedCorner : To make a border around the textfield.

    Screen Shot 2020-04-20 at 10 27 59

  6. setTextAlignment : To set a textfield with a different alignment, font size and font weight.

    Screen Shot 2020-04-20 at 10 45 54

Contributors :

@nbpapps

Contributing

Pull requests are welcome.

sumansid/TextfieldEffects | GitHunt