File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed
Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change 11SwiftValidator
22===============
33
4+ [ ![ Build Status] ( https://travis-ci.org/jpotts18/SwiftValidator.svg?branch=travis-ci )] ( https://travis-ci.org/jpotts18/SwiftValidator )
5+
46Swift Validator is a rule-based validation library for Swift.
57
68![ Swift Validator] ( /swift-validator-v2.gif )
@@ -11,29 +13,37 @@ Swift Validator is a rule-based validation library for Swift.
1113* `` UITextField `` + `` ValidationError `` come out of `` Validator ``
1214* `` Validator `` evaluates `` [Rule] `` sequentially and stops evaluating when a `` Rule `` fails.
1315
14- ## Quick Start
16+ ## Installation
1517
1618``` ruby
1719# Podfile
1820source ' https://github.com/CocoaPods/Specs.git'
1921platform :ios , " 8.1"
2022
2123use_frameworks!
22- pod ' SwiftValidator' , ' 3.0.0 '
24+ pod ' SwiftValidator' , ' 3.0.1 '
2325```
2426
2527Install into your project:
2628
27- ```
29+ ``` bash
2830$ pod install
2931```
3032
3133Open your project in Xcode from the .xcworkspace file (not the usual project file):
3234
33- ```
35+ ``` bash
3436$ open MyProject.xcworkspace
3537```
3638
39+ If you are using Carthage you will need to add this to your ` Cartfile `
40+
41+ ``` bash
42+ github “jpotts18/SwiftValidator”
43+ ```
44+
45+ ## Usage
46+
3747You can now import SwiftValidator framework into your files.
3848
3949Initialize the `` Validator `` by setting a delegate to a View Controller or other object.
You can’t perform that action at this time.
0 commit comments