Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 900 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 900 Bytes

NSString+EWEmailValidation

This NSString category is nothing more than a convenient wrapper for Matt Gallagher's implementation of RFC 2822 verification.

Usage

NSString *email = @"no@thanks.com";
if ([email isValidEmail]) {
  NSLog(@"%@ looks totally spamable.");
} else {
  NSLog(@"This isn't even an email address.");
}

License