A simple (but correct) library for validating email addresses. Supports mail addresses as defined in rfc5322 as well as the new Internationalized Mail Address standards (rfc653x). Based on https://github.com/jstedfast/EmailValidation
Add to your Podfile
pod 'EmailValidator'
EmailValidator.validate("[email protected]")
EmailValidator.validate(email: "[email protected]",
allowTopLevelDomains: true, // true/false, will allow top level domains
allowInternational: true) // true/false, will allow international addresses (e.g cyrillic or chinese)
link |
Stars: 37 |
Last commit: 4 years ago |
Add Swift Package Mangager support. Thanks to @twodayslate for PR #3
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics