Assuming I have created IBOutlet UITextField *emailValidate;
And the empty method
-(IBAction)checkEmail:(id)sender {
// Add email validation code here.
}
And linked the File Owner file to the TextField
, what code would I have to insert in the method to validate an email adress? checking that only one '@' is included, and only one '.' is included?