first attempt at cocoa pods integration

This commit is contained in:
Jeff Potter 2015-03-24 15:47:00 -06:00
parent 699f1a118f
commit a2f8787113
2 changed files with 17 additions and 3 deletions

14
Validator.podspec Normal file
View File

@ -0,0 +1,14 @@
Pod::Spec.new do |s|
s.name = "Swift-Validator"
s.version = "2.0.1"
s.summary = "A UITextField Validation library for Swift"
s.homepage = "https://github.com/jpotts18/swift-validator"
s.screenshots = "https://raw.githubusercontent.com/jpotts18/swift-validator/master/swift-validator-v2.gif"
s.license = { :type => "Apache 2.0", :file => "LICENCE.txt" }
s.author = { "Jeff" => "jeff.potter6@gmail.com" }
s.social_media_url = "http://twitter.com/jpotts18"
s.platform = :ios
s.ios.deployment_target = '8.0'
s.source = { :git => "https://github.com/jpotts18/swift-validator.git", :tag => "2.0.1" }
s.source_files = "Validator/*.swift"
end

View File

@ -78,13 +78,13 @@
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
626BE5EE1A9B8EC600FE6D5C /* Swift-Validator */ = {
626BE5EE1A9B8EC600FE6D5C /* Classes */ = {
isa = PBXGroup;
children = (
62DC8D661AAA42700095DFA7 /* Rules */,
62D1AE3C1A1E6FAF00E4DFF8 /* Core */,
);
name = "Swift-Validator";
name = Classes;
sourceTree = "<group>";
};
62D1AE0E1A1E6D4400E4DFF8 = {
@ -108,7 +108,7 @@
62D1AE191A1E6D4400E4DFF8 /* Validator */ = {
isa = PBXGroup;
children = (
626BE5EE1A9B8EC600FE6D5C /* Swift-Validator */,
626BE5EE1A9B8EC600FE6D5C /* Classes */,
62D1AE1C1A1E6D4400E4DFF8 /* AppDelegate.swift */,
62D1AE1E1A1E6D4400E4DFF8 /* ViewController.swift */,
62D1AE201A1E6D4400E4DFF8 /* Main.storyboard */,