Latest 1.0.0
Homepage https://github.com/urbn/URBNValidator
License MIT
Platforms ios 8.0, tvos 9.0, requires ARC
Authors

CI Status
Version
License
Platform

Usage

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

Installation

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

pod "URBNValidator"

URBNValidator

Validation is something that everybody should do with user based content. All apps have some kind of input from the user. When you’re dealing with input that you don’t control (especially forms), then you’re opening your app up to a whole world of potential invalid input.

With that said, as developers we hate to do our validation. Who cares if the user typed in 1 instead of 2. We’ll just deal with that later. You sir are a jackass. And everybody talks about you behind your back.

Now, you may ask "what about other libraries like QBValidator". You’re right. QBValidator is pretty kickass. And we used it for a while. But for some reason the maintainer doesn’t want to maintain anymore 🔥. So instead of forking we decided there were enough additions we wanted to make, that we’d just create our own thing. And you know what, it’s badass.

This is the main concept behind the reasoning for URBNValidator.

Now let’s dig into what this thing is about

Features

  • Full swift support
  • Objc compatibility
  • Ability to create your own validations and extend custom types
  • Full localization support (global and per instance).

Usage

We’ve outlined most of the usage in our URBNValidator.playground. Check it out with the documentation rendered.

Author

Joe, [email protected]

License

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

Latest podspec

{
    "name": "URBNValidator",
    "version": "1.0.0",
    "summary": "URBNValidator is a simple swift validation library with support for objc",
    "description": "URBNValidator is a lightweight extensible swift validation library.   You can easily add validation tonany of your swift objects as well as any objc objects (if you're into that sort of thing).nnFeaturesn========n* Full swift supportn* Objc compatibilityn* Ability to create your own validations and extend custom typesn* Full localization support (global and per instance).",
    "homepage": "https://github.com/urbn/URBNValidator",
    "license": "MIT",
    "authors": {
        "Joe": "[email protected]"
    },
    "source": {
        "git": "https://github.com/urbn/URBNValidator.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "8.0",
        "tvos": "9.0"
    },
    "requires_arc": true,
    "source_files": [
        "Pod/Classes/**/*"
    ],
    "resources": [
        "Pod/Resources/**/*.lproj"
    ],
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This