Latest 1.0.2
Homepage https://github.com/evanrobertson/EmailValidator
License MIT
Platforms ios 10.0
Authors

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

Installation

Add to your Podfile
pod 'EmailValidator'

Use

Basic

EmailValidator.validate("[email protected]")

Other options

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)

Latest podspec

{
    "name": "EmailValidator",
    "version": "1.0.2",
    "summary": "A simple (but correct) library for validating email addresses.",
    "description": "A simple (but correct) Swift 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",
    "homepage": "https://github.com/evanrobertson/EmailValidator",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Evan Robertson": "[email protected]"
    },
    "platforms": {
        "ios": "10.0"
    },
    "source": {
        "git": "https://github.com/evanrobertson/EmailValidator.git",
        "tag": "1.0.2"
    },
    "source_files": "EmailValidator"
}

Pin It on Pinterest

Share This