Latest 0.1.0
Homepage https://github.com/manuelmarcos/validation-pod
License MIT
Platforms ios 8.0
Authors

[![CI Status](http://img.shields.io/travis/Manuel Marcos Regalado/ValidationPod.svg?style=flat)](https://travis-ci.org/Manuel Marcos Regalado/ValidationPod)
Version
License
Platform

Import

#import "Validation.h"

Usage

// Check whether a string is valid or not
if ([Validation isValidString:@"My valid String"]) {
// Do some something when the string is valid
}

// Check whether a string is valid or not and if it's empty
if ([Validation isValidString:@"My valid String" invalidIfEmptyString:YES]) {
// Do some something when the string is valid and is not empty
}

// Check whether a dictionary is valid or not
if ([Validation isValidDictionary:@{@"Hold the" : "Door"}]) {
// Do some something when the dictionary is valid
}

// Check whether an array is valid or not
if ([Validation isValidArray:@[@"Patatas Bravas", @"Paella", @"Chorizo"]]) {
// Do some something when the array is valid
}

// Check whether an email is valid or not
if ([Validation isValidEmail:@"[email protected]") {
// Do some something when the email is valid
}

Installation

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

pod "ValidationPod"

Author

Manuel Marcos Regalado, [email protected]

License

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

Latest podspec

{
    "name": "ValidationPod",
    "version": "0.1.0",
    "summary": "A utility pod to help validating Strings, Dictionaries, Arrays and emails",
    "description": "A utility pod to help validating valid Strings, Dictionaries, Arrays and emails",
    "homepage": "https://github.com/manuelmarcos/validation-pod",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Manuel Marcos Regalado": "[email protected]"
    },
    "source": {
        "git": "https://github.com/manuelmarcos/validation-pod.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "ValidationPod/Classes/**/*"
}

Pin It on Pinterest

Share This