From a2f8787113b14c163557f93fba4bb6c0858e94b1 Mon Sep 17 00:00:00 2001 From: Jeff Potter Date: Tue, 24 Mar 2015 15:47:00 -0600 Subject: [PATCH] first attempt at cocoa pods integration --- Validator.podspec | 14 ++++++++++++++ Validator.xcodeproj/project.pbxproj | 6 +++--- 2 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 Validator.podspec diff --git a/Validator.podspec b/Validator.podspec new file mode 100644 index 0000000..09aee9d --- /dev/null +++ b/Validator.podspec @@ -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 diff --git a/Validator.xcodeproj/project.pbxproj b/Validator.xcodeproj/project.pbxproj index 15d806a..2590935 100644 --- a/Validator.xcodeproj/project.pbxproj +++ b/Validator.xcodeproj/project.pbxproj @@ -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 = ""; }; 62D1AE0E1A1E6D4400E4DFF8 = { @@ -108,7 +108,7 @@ 62D1AE191A1E6D4400E4DFF8 /* Validator */ = { isa = PBXGroup; children = ( - 626BE5EE1A9B8EC600FE6D5C /* Swift-Validator */, + 626BE5EE1A9B8EC600FE6D5C /* Classes */, 62D1AE1C1A1E6D4400E4DFF8 /* AppDelegate.swift */, 62D1AE1E1A1E6D4400E4DFF8 /* ViewController.swift */, 62D1AE201A1E6D4400E4DFF8 /* Main.storyboard */,