Skip to content

Commit 2a6c23a

Browse files
Update README.md
Updated README to highlight how to use different versions of SwiftValidator.
1 parent 43fddfb commit 2a6c23a

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,16 @@ platform :ios, "8.1"
2222

2323
use_frameworks!
2424

25-
# As of 4.0.0, SwiftValidator has been extended beyond UITextField
25+
# Swift 3
26+
# Extended beyond UITextField
27+
pod 'SwiftValidator', :git => 'https://github.com/jpotts18/SwiftValidator.git', :branch => 'master'
28+
29+
# Swift 2.1
30+
# Extended beyond UITextField
2631
# Note: Installing 4.x.x will break code from 3.x.x
2732
pod 'SwiftValidator', :git => 'https://github.com/jpotts18/SwiftValidator.git', :tag => '4.0.0'
2833

29-
# For older versions
34+
# Swift 2.1 (limited to UITextField validation)
3035
pod 'SwiftValidator', :git => 'https://github.com/jpotts18/SwiftValidator.git', :tag => '3.0.5'
3136
```
3237

0 commit comments

Comments
 (0)