Native Shopify Mobile App with 20 new features
Kickstart your hyperlocal marketplace in Corona pandemic with a starter guide
Android App Development
iOS App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 188.8.131.52 release ready!
Owner and Founder. Opencart
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:
txtField.text = "[email protected]"print("Check Email: [email protected] -- ", txtField.hasValidEmail)
Select TextField in Storyboard and Press key ⌘⌥+4 – for Attributes Inspector, you will find a new option for placeholder color
txtField.setLeftPaddingPoints(50) //or txtField.setRightPaddingPoints(50)
UITextField.connectAllTxtFieldFields(txtfields: [txtField, txtField2, txtField3])
Select UITextField in Storyboard and Press key ⌘⌥+4 – for Attributes Inspector, you will find a new option for Max Length
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
Your email address will not be published. Required fields are marked*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.