Skip to content

Commit a2f8787

Browse files
committed
first attempt at cocoa pods integration
1 parent 699f1a1 commit a2f8787

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

Validator.podspec

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Pod::Spec.new do |s|
2+
s.name = "Swift-Validator"
3+
s.version = "2.0.1"
4+
s.summary = "A UITextField Validation library for Swift"
5+
s.homepage = "https://github.com/jpotts18/swift-validator"
6+
s.screenshots = "https://raw.githubusercontent.com/jpotts18/swift-validator/master/swift-validator-v2.gif"
7+
s.license = { :type => "Apache 2.0", :file => "LICENCE.txt" }
8+
s.author = { "Jeff" => "jeff.potter6@gmail.com" }
9+
s.social_media_url = "http://twitter.com/jpotts18"
10+
s.platform = :ios
11+
s.ios.deployment_target = '8.0'
12+
s.source = { :git => "https://github.com/jpotts18/swift-validator.git", :tag => "2.0.1" }
13+
s.source_files = "Validator/*.swift"
14+
end

Validator.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,13 @@
7878
/* End PBXFrameworksBuildPhase section */
7979

8080
/* Begin PBXGroup section */
81-
626BE5EE1A9B8EC600FE6D5C /* Swift-Validator */ = {
81+
626BE5EE1A9B8EC600FE6D5C /* Classes */ = {
8282
isa = PBXGroup;
8383
children = (
8484
62DC8D661AAA42700095DFA7 /* Rules */,
8585
62D1AE3C1A1E6FAF00E4DFF8 /* Core */,
8686
);
87-
name = "Swift-Validator";
87+
name = Classes;
8888
sourceTree = "<group>";
8989
};
9090
62D1AE0E1A1E6D4400E4DFF8 = {
@@ -108,7 +108,7 @@
108108
62D1AE191A1E6D4400E4DFF8 /* Validator */ = {
109109
isa = PBXGroup;
110110
children = (
111-
626BE5EE1A9B8EC600FE6D5C /* Swift-Validator */,
111+
626BE5EE1A9B8EC600FE6D5C /* Classes */,
112112
62D1AE1C1A1E6D4400E4DFF8 /* AppDelegate.swift */,
113113
62D1AE1E1A1E6D4400E4DFF8 /* ViewController.swift */,
114114
62D1AE201A1E6D4400E4DFF8 /* Main.storyboard */,

0 commit comments

Comments
 (0)