NLBirthDateValidator 0.1.1

NLBirthDateValidator 0.1.1

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Jun 2016
SPMSupports SPM

Maintained by Kale Toh.



  • By
  • Kale

NLBirthDateValidator

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

NLBirthDateValidator is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "NLBirthDateValidator"

Usage

To use, implement the following code.

let result = NLBirthDateValidator.checkBirthDate(13, month: 09, year: 1986, minimumAge: 16)

The result would either be .DateValid, .DateInvalid, or .AgeUnderMinimum.

Author

Kale, [email protected]

License

NLBirthDateValidator is available under the MIT license. See the LICENSE file for more info.