To run the example project, clone the repo, and run pod install
from the Example directory first.
NLBirthDateValidator is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "NLBirthDateValidator"
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.
Kale, [email protected]
NLBirthDateValidator is available under the MIT license. See the LICENSE file for more info.