Skip to content

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

Notifications You must be signed in to change notification settings

sumansid/TextfieldEffects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages