Useful UITextField Extensions

Updated 2 January 2018

Save

UITextField Extensions

If you’re reading this, then I assume you’re familiar with Swift Extensions. Swift Extensions add new functionality to an existing class, structure, enumeration, or protocol type. Remember, it can only add new functionality but overriding existing functionality not possible with extensions. Here I am going to share some useful UITextField Extensions.

How to use this extension:

 

How to use this extension:

Select TextField in Storyboard and Press key ⌘⌥+4 –  for Attributes Inspector, you will find a new option for placeholder color

 

How to use this extension:

 

How to use this extension:

How to use this extension:

 

How to use this extension:

 

How to use this extension:

Select UITextField in Storyboard and Press key ⌘⌥+4 –  for Attributes Inspector, you will find a new option for Max Length

 

How to use this extension:

Select UITextField in Storyboard and Press key ⌘⌥+4 –  for Attributes Inspector, you will find a new option for Corner Radius, Border Width, Border Color and Shadow Radius

 

 

author
. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Start a Project


    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home