In this video, we will learn how to create extension for string class in swift. Extension in swift allows developer to add their code to already existed classes, example String, UIView, UIButton etc.
In this video, we will add function to String class that validates an email address i.e. will return true if email id is in correct format otherwise will return false. We will add valid email function to string class using extension feature of swift language and then use that extended function in our code.
Watch video Swift Tutorial: How to create and use extension in swift ( Email validation example) online, duration hours minute second in high quality that is uploaded to the channel Swift Tutorials 01 January 2019. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 1,284 times and liked it 22 visitors.