What's the best way to make sure an NSString contains only the letters a-z and A-Z.
I've tried the following code but it's not working for some reason:
NSString *myegex = @"[A-Za-z]";
NSPredicate *emailTest = [NSPredicate predicateWithFormat:@"SELF MATCHES %@", myregex];
if (![emailTest evaluateWithObject:self.initials.text]) {
// print error
return;
}