Validate Text Field Swift Xcode Tutorial - Form Validation UITextField

preview_player
Показать описание
How to do form validation using UIKit Text Field. In this example Swift Xcode project we validate an email, password and phone number textfield. Meaning we verify that the user has entered the correct information into each field in our form.

After watching this beginner friendly tutorial you should have the skills to validate any type input that you require from the user.

Validate TextField Source Code:

UITextField Documentation:

⏱️TIMESTAMPS ⏱️
00:00 - Form Validation Intro
00:34 - Form Layout Storyboard
02:08 - Outlets - Assistant Editor
02:56 - Reset Form
03:27 - Validate Phone Number
04:43 - Check for Valid Form
05:13 - Validate Email
06:25 - Validate Password
08:13 - Testing Valid Form

#Swift #Xcode #iOSTutorial
Рекомендации по теме
Комментарии
Автор

Thank you for this video, been trying other videos and no luck. This video was straight forward and easy

sindanonegongo
Автор

thank goodness you have the code downloaded, you talk so fast. But I did learn a lot, thanks

dugrut
Автор

I really like your video, and so thank you!!

cannabaro
Автор

Thank you for the great video, I'm thankful for humans like you! Do you do personal tutoring?

geterrdun
Автор

how to dragged label into the `UIViewController` the text field i done but the label is not work

amalmohamed
Автор

This is awesome! Question though, how to validate the fields only when the button is press and add red border to the field not passed the validation? Thanks

EmanNollase
Автор

my password field is not validating properly

bharatiwagh
Автор

Please comment full code in comment box or in description.

monnydhingra