From 2175e86fc9420fcb366815a141adeac95a3f7b8b Mon Sep 17 00:00:00 2001 From: Shane Woolcock Date: Wed, 17 Aug 2016 10:10:06 +0930 Subject: [PATCH 1/4] Added extension on UIResponder to resign the current first responder --- Example/Podfile.lock | 4 +- .../Pods/Local Podspecs/FazeKit.podspec.json | 3 +- Example/Pods/Manifest.lock | 4 +- Example/Pods/Pods.xcodeproj/project.pbxproj | 300 +++++++++--------- FazeKit/Classes/UIResponderAdditions.swift | 28 ++ 5 files changed, 186 insertions(+), 153 deletions(-) create mode 100644 FazeKit/Classes/UIResponderAdditions.swift diff --git a/Example/Podfile.lock b/Example/Podfile.lock index 3a4fbc1..9b09868 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -6,10 +6,10 @@ DEPENDENCIES: EXTERNAL SOURCES: FazeKit: - :path: "../" + :path: ../ SPEC CHECKSUMS: - FazeKit: b2c698f043a5f289e8ad423ef836cf21fa8d1636 + FazeKit: 44354fd0748abb06d5360774f474be1b144f0bfa PODFILE CHECKSUM: fa12f807dae8d93a6a5a1166a5439a23410201c1 diff --git a/Example/Pods/Local Podspecs/FazeKit.podspec.json b/Example/Pods/Local Podspecs/FazeKit.podspec.json index 643e34e..6a6d0d3 100644 --- a/Example/Pods/Local Podspecs/FazeKit.podspec.json +++ b/Example/Pods/Local Podspecs/FazeKit.podspec.json @@ -9,7 +9,8 @@ "file": "LICENSE" }, "authors": { - "NextFaze": "contact@nextfaze.com" + "Ric Santos": "rics@ntos.me", + "Shane Woolcock": "samahnub@gmail.com" }, "source": { "git": "https://github.com/NextFaze/FazeKit.git", diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock index 3a4fbc1..9b09868 100644 --- a/Example/Pods/Manifest.lock +++ b/Example/Pods/Manifest.lock @@ -6,10 +6,10 @@ DEPENDENCIES: EXTERNAL SOURCES: FazeKit: - :path: "../" + :path: ../ SPEC CHECKSUMS: - FazeKit: b2c698f043a5f289e8ad423ef836cf21fa8d1636 + FazeKit: 44354fd0748abb06d5360774f474be1b144f0bfa PODFILE CHECKSUM: fa12f807dae8d93a6a5a1166a5439a23410201c1 diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj index 6a19061..c0f93f1 100644 --- a/Example/Pods/Pods.xcodeproj/project.pbxproj +++ b/Example/Pods/Pods.xcodeproj/project.pbxproj @@ -7,24 +7,25 @@ objects = { /* Begin PBXBuildFile section */ - 0214767C449F1DC17E5307AC099D7A1F /* NSDateAdditions.swift in Sources */ = {isa = PBXBuildFile; fileRef = CAE7193950F87079E861E66EBDB1C72A /* NSDateAdditions.swift */; }; + 116F2127EEE3DBC50C7F4D3B0AF6E5F8 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E86668F20F252C440D1015B816BE59C5 /* UIKit.framework */; }; 14A6862B573E10D04B09380C9C882548 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A2A6FF208CEC4C2861F1E9D42D651453 /* Foundation.framework */; }; - 1A585AB3F635D17B83D9A68DF4A9428F /* CollectionAdditions.swift in Sources */ = {isa = PBXBuildFile; fileRef = C3E0D0A61C48BF35E342607D6455FB9C /* CollectionAdditions.swift */; }; - 28150482FCF61C04EFBD261085FD3D98 /* UIDeviceAdditions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2B6554C049F8E01CA8B754B0B33C275B /* UIDeviceAdditions.swift */; }; - 29685427714B0415E791744436AB721E /* UIViewAdditions.swift in Sources */ = {isa = PBXBuildFile; fileRef = C72AC59BDE1BC25869CD1D6F50492912 /* UIViewAdditions.swift */; }; + 200FA64F634D3A48CC2E5BBF7FB78F06 /* CollectionAdditions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 153164ABC2B080D4CDA4A652F53937E5 /* CollectionAdditions.swift */; }; + 38CE621C29F38697D6D0E3A20D086C0F /* UIScreenAdditions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0F0F08748B9CF253855FDB33B0ADCD94 /* UIScreenAdditions.swift */; }; + 3C34EFACBE8AC97A73A65A7A54758AD2 /* UIDeviceAdditions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6B526E01BA789E6BB17F87D13B34BD12 /* UIDeviceAdditions.swift */; }; + 43B02F311EC05FCD899E3B8D915F8D67 /* FazeKit-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 71580B7CBD31FEF9F84979C3944AF131 /* FazeKit-dummy.m */; }; + 5535ED319233A70AC1C3C49280ECDEF2 /* UIResponderAdditions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 686E2C4233899ACAFB954ADFA991F90F /* UIResponderAdditions.swift */; }; 5ABC9223246409B44AFA184E264261D2 /* Pods-FazeKit_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = A1FEDE77480A01A2AC3F1BF93896358F /* Pods-FazeKit_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 78D08B00F844677E600CD0DFF05A20DF /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A2A6FF208CEC4C2861F1E9D42D651453 /* Foundation.framework */; }; - AA5D17FA8F1ED2DE5F1D7D449BAFF079 /* StringAdditions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 648CD88509E3CD7EF8373EC404490E5D /* StringAdditions.swift */; }; + 64049AEA30380B2B26082F4CCDAD1947 /* StringAdditions.swift in Sources */ = {isa = PBXBuildFile; fileRef = D0EB5B784659EACA66F2D5917FBB8522 /* StringAdditions.swift */; }; + 7F072CBAE02C90475DD540B8D8ED3C09 /* NSDateAdditions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1F00FA13BBE84967D85F832192D687F9 /* NSDateAdditions.swift */; }; + 8B65A494FA5856769DEFAC285BF052F6 /* FazeKit-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 61F13988EE68C11BE7E445E95CF8BFCE /* FazeKit-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 97D1E5959A6A6AD3083101B54EC863DB /* NSDateComponentAdditions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 358A02B2D078747F51B7D08DAA894B6B /* NSDateComponentAdditions.swift */; }; + A36385A1F317D62E87EE7D5A8F21E911 /* UIViewAdditions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6F79D452925B39FBBCF569A722B2F00F /* UIViewAdditions.swift */; }; BAFA5C1A9A1BCC8128A101B35FC27A0F /* Pods-FazeKit_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 2601B9E18AF362D1FA9762E15669E426 /* Pods-FazeKit_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - C24BA999A4D907767ACDBB12E9485A73 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E86668F20F252C440D1015B816BE59C5 /* UIKit.framework */; }; - C4E5EC32C7FA663B2B0FE00AE4B4A421 /* NSProcessInfoAdditions.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE78AF5ABD3395A3C53423DAD0333E64 /* NSProcessInfoAdditions.swift */; }; - C6AFFE14D23B929FC91253E332A649E3 /* FazeKit-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 61F13988EE68C11BE7E445E95CF8BFCE /* FazeKit-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - C70B74258DC815E37A60A835B21BD79E /* NSDateComponentAdditions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A800471D2906279934703188C75C0F3 /* NSDateComponentAdditions.swift */; }; + CEFE6B1D1DD96BB2ECE4229B639DCA54 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A2A6FF208CEC4C2861F1E9D42D651453 /* Foundation.framework */; }; DF727BD7BA75C68423B2C104D288F7AC /* Pods-FazeKit_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 6F3C9BC2DA3BAC6164EE7AD012E3D24D /* Pods-FazeKit_Example-dummy.m */; }; + E699A32D308161067BC9A5861E01BF22 /* NSProcessInfoAdditions.swift in Sources */ = {isa = PBXBuildFile; fileRef = B9AC4DCD938604C35E5C7EF469BC86CB /* NSProcessInfoAdditions.swift */; }; E87975789209F1C028AAD5FF0D212735 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A2A6FF208CEC4C2861F1E9D42D651453 /* Foundation.framework */; }; - E99E15B6C2D853EC14A593B89B146F2F /* UIScreenAdditions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 759818388E1323EDE32D229DD8E4E1FC /* UIScreenAdditions.swift */; }; EEB4A634AE9CBCE1FB10D93E96D975C3 /* Pods-FazeKit_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 2FB4DE631D9F51D1581B54389D414895 /* Pods-FazeKit_Tests-dummy.m */; }; - F623CC87D342A14A869C92F5AB5D2590 /* FazeKit-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 71580B7CBD31FEF9F84979C3944AF131 /* FazeKit-dummy.m */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -32,14 +33,14 @@ isa = PBXContainerItemProxy; containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; proxyType = 1; - remoteGlobalIDString = 5EA9D9E139C16A03ECF92E5E99C17A01; + remoteGlobalIDString = B73CB8C2336B022592A7755054DB1346; remoteInfo = FazeKit; }; CFF85E45975F988A1B4F3951E00C0EC4 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; proxyType = 1; - remoteGlobalIDString = 5EA9D9E139C16A03ECF92E5E99C17A01; + remoteGlobalIDString = B73CB8C2336B022592A7755054DB1346; remoteInfo = FazeKit; }; /* End PBXContainerItemProxy section */ @@ -47,23 +48,26 @@ /* Begin PBXFileReference section */ 00C4305ADAD279636C1C96176AE4BC73 /* FazeKit.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = FazeKit.modulemap; sourceTree = ""; }; 0A1AAFF75E2CC46A652C80064951AE06 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 0F0F08748B9CF253855FDB33B0ADCD94 /* UIScreenAdditions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = UIScreenAdditions.swift; sourceTree = ""; }; + 153164ABC2B080D4CDA4A652F53937E5 /* CollectionAdditions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = CollectionAdditions.swift; sourceTree = ""; }; 19587F9E62528DFFB17175BFD82BBC03 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 1F00FA13BBE84967D85F832192D687F9 /* NSDateAdditions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = NSDateAdditions.swift; sourceTree = ""; }; 2601B9E18AF362D1FA9762E15669E426 /* Pods-FazeKit_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-FazeKit_Tests-umbrella.h"; sourceTree = ""; }; - 2B6554C049F8E01CA8B754B0B33C275B /* UIDeviceAdditions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = UIDeviceAdditions.swift; sourceTree = ""; }; 2E942A43EB3BBDA851CB6D5BD44C7D4A /* Pods-FazeKit_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-FazeKit_Tests-acknowledgements.plist"; sourceTree = ""; }; 2FB4DE631D9F51D1581B54389D414895 /* Pods-FazeKit_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-FazeKit_Tests-dummy.m"; sourceTree = ""; }; - 3A800471D2906279934703188C75C0F3 /* NSDateComponentAdditions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = NSDateComponentAdditions.swift; sourceTree = ""; }; + 358A02B2D078747F51B7D08DAA894B6B /* NSDateComponentAdditions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = NSDateComponentAdditions.swift; sourceTree = ""; }; 43C467D8F6ED457259EB2B5548FEFBE3 /* Pods-FazeKit_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-FazeKit_Example-acknowledgements.markdown"; sourceTree = ""; }; 52C81A729DAA2801C0B6ACABDB5C4A89 /* FazeKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = FazeKit.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 55808AB1308422B28E9108292A9F3314 /* Pods_FazeKit_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_FazeKit_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 5C4C5D322F0358C80BCEC19157F4E7CD /* Pods_FazeKit_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_FazeKit_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 61F13988EE68C11BE7E445E95CF8BFCE /* FazeKit-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "FazeKit-umbrella.h"; sourceTree = ""; }; - 648CD88509E3CD7EF8373EC404490E5D /* StringAdditions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = StringAdditions.swift; sourceTree = ""; }; + 686E2C4233899ACAFB954ADFA991F90F /* UIResponderAdditions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = UIResponderAdditions.swift; sourceTree = ""; }; + 6B526E01BA789E6BB17F87D13B34BD12 /* UIDeviceAdditions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = UIDeviceAdditions.swift; sourceTree = ""; }; 6C80AB51873A452AC738AC8743717882 /* Pods-FazeKit_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-FazeKit_Tests-resources.sh"; sourceTree = ""; }; 6F3C9BC2DA3BAC6164EE7AD012E3D24D /* Pods-FazeKit_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-FazeKit_Example-dummy.m"; sourceTree = ""; }; + 6F79D452925B39FBBCF569A722B2F00F /* UIViewAdditions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = UIViewAdditions.swift; sourceTree = ""; }; 7008DB59E83F3531952A1338DE0FF0AC /* Pods-FazeKit_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-FazeKit_Tests-acknowledgements.markdown"; sourceTree = ""; }; 71580B7CBD31FEF9F84979C3944AF131 /* FazeKit-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "FazeKit-dummy.m"; sourceTree = ""; }; - 759818388E1323EDE32D229DD8E4E1FC /* UIScreenAdditions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = UIScreenAdditions.swift; sourceTree = ""; }; 8EABB261BDBA5DDF9D167316E4C0515F /* Pods-FazeKit_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-FazeKit_Example.modulemap"; sourceTree = ""; }; 92C0D4F4CF121BD9E515180D1187C2F9 /* Pods-FazeKit_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-FazeKit_Example-resources.sh"; sourceTree = ""; }; 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; @@ -72,11 +76,9 @@ A1FEDE77480A01A2AC3F1BF93896358F /* Pods-FazeKit_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-FazeKit_Example-umbrella.h"; sourceTree = ""; }; A2A6FF208CEC4C2861F1E9D42D651453 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; B6C175E93F3958F4BA9490F1A9D6C3B4 /* Pods-FazeKit_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-FazeKit_Example-acknowledgements.plist"; sourceTree = ""; }; - C3E0D0A61C48BF35E342607D6455FB9C /* CollectionAdditions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = CollectionAdditions.swift; sourceTree = ""; }; - C72AC59BDE1BC25869CD1D6F50492912 /* UIViewAdditions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = UIViewAdditions.swift; sourceTree = ""; }; - CAE7193950F87079E861E66EBDB1C72A /* NSDateAdditions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = NSDateAdditions.swift; sourceTree = ""; }; + B9AC4DCD938604C35E5C7EF469BC86CB /* NSProcessInfoAdditions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = NSProcessInfoAdditions.swift; sourceTree = ""; }; CE2AD7B44607FA2CB0CD55F74EA74ECE /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - CE78AF5ABD3395A3C53423DAD0333E64 /* NSProcessInfoAdditions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = NSProcessInfoAdditions.swift; sourceTree = ""; }; + D0EB5B784659EACA66F2D5917FBB8522 /* StringAdditions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = StringAdditions.swift; sourceTree = ""; }; D38757DECB6D6DFF9F71A77396712127 /* FazeKit-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "FazeKit-prefix.pch"; sourceTree = ""; }; DABD955476B4AF5E3CD17DD838590F1D /* Pods-FazeKit_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-FazeKit_Tests.modulemap"; sourceTree = ""; }; E86668F20F252C440D1015B816BE59C5 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/System/Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; }; @@ -96,20 +98,20 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 4C548E897AA04657D03D9FD7B5AE8166 /* Frameworks */ = { + 45FBA1A392EF09F2AF5A85D536B9DAB1 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 14A6862B573E10D04B09380C9C882548 /* Foundation.framework in Frameworks */, + CEFE6B1D1DD96BB2ECE4229B639DCA54 /* Foundation.framework in Frameworks */, + 116F2127EEE3DBC50C7F4D3B0AF6E5F8 /* UIKit.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; - 9087CE03AB7CE986E9060160F1AEE478 /* Frameworks */ = { + 4C548E897AA04657D03D9FD7B5AE8166 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 78D08B00F844677E600CD0DFF05A20DF /* Foundation.framework in Frameworks */, - C24BA999A4D907767ACDBB12E9485A73 /* UIKit.framework in Frameworks */, + 14A6862B573E10D04B09380C9C882548 /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -142,6 +144,14 @@ name = Frameworks; sourceTree = ""; }; + 54B67B1B13B6CE7FEA494D9E2AE0AB67 /* FazeKit */ = { + isa = PBXGroup; + children = ( + F95B4CE7726C5795C9D8CFEAB19BB541 /* Classes */, + ); + path = FazeKit; + sourceTree = ""; + }; 56288C01A726DD97FC6C66A52C602955 /* Development Pods */ = { isa = PBXGroup; children = ( @@ -175,29 +185,6 @@ ); sourceTree = ""; }; - 9E03E63A28912FC2F1EF1EA9C0607D90 /* Classes */ = { - isa = PBXGroup; - children = ( - C3E0D0A61C48BF35E342607D6455FB9C /* CollectionAdditions.swift */, - CAE7193950F87079E861E66EBDB1C72A /* NSDateAdditions.swift */, - 3A800471D2906279934703188C75C0F3 /* NSDateComponentAdditions.swift */, - CE78AF5ABD3395A3C53423DAD0333E64 /* NSProcessInfoAdditions.swift */, - 648CD88509E3CD7EF8373EC404490E5D /* StringAdditions.swift */, - 2B6554C049F8E01CA8B754B0B33C275B /* UIDeviceAdditions.swift */, - 759818388E1323EDE32D229DD8E4E1FC /* UIScreenAdditions.swift */, - C72AC59BDE1BC25869CD1D6F50492912 /* UIViewAdditions.swift */, - ); - path = Classes; - sourceTree = ""; - }; - A1AF95115BAFEFD71765DD3F92E7783A /* FazeKit */ = { - isa = PBXGroup; - children = ( - 9E03E63A28912FC2F1EF1EA9C0607D90 /* Classes */, - ); - path = FazeKit; - sourceTree = ""; - }; A5D556DE4896ED3E810E77262A089DBB /* Products */ = { isa = PBXGroup; children = ( @@ -211,7 +198,7 @@ B8511BCAEB2D8597D6E642D67D68E07F /* FazeKit */ = { isa = PBXGroup; children = ( - A1AF95115BAFEFD71765DD3F92E7783A /* FazeKit */, + 54B67B1B13B6CE7FEA494D9E2AE0AB67 /* FazeKit */, 61708C5993C00FE0D1A11309FDDA154D /* Support Files */, ); name = FazeKit; @@ -254,22 +241,38 @@ name = iOS; sourceTree = ""; }; + F95B4CE7726C5795C9D8CFEAB19BB541 /* Classes */ = { + isa = PBXGroup; + children = ( + 153164ABC2B080D4CDA4A652F53937E5 /* CollectionAdditions.swift */, + 1F00FA13BBE84967D85F832192D687F9 /* NSDateAdditions.swift */, + 358A02B2D078747F51B7D08DAA894B6B /* NSDateComponentAdditions.swift */, + B9AC4DCD938604C35E5C7EF469BC86CB /* NSProcessInfoAdditions.swift */, + D0EB5B784659EACA66F2D5917FBB8522 /* StringAdditions.swift */, + 6B526E01BA789E6BB17F87D13B34BD12 /* UIDeviceAdditions.swift */, + 686E2C4233899ACAFB954ADFA991F90F /* UIResponderAdditions.swift */, + 0F0F08748B9CF253855FDB33B0ADCD94 /* UIScreenAdditions.swift */, + 6F79D452925B39FBBCF569A722B2F00F /* UIViewAdditions.swift */, + ); + path = Classes; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ - 047C55DF7451B7E851E67A0381F8E8A3 /* Headers */ = { + C1239AB0FD7024AEB46007593042B8BB /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - C6AFFE14D23B929FC91253E332A649E3 /* FazeKit-umbrella.h in Headers */, + BAFA5C1A9A1BCC8128A101B35FC27A0F /* Pods-FazeKit_Tests-umbrella.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; - C1239AB0FD7024AEB46007593042B8BB /* Headers */ = { + D69AA2331B8EE8E84525E1373B821797 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - BAFA5C1A9A1BCC8128A101B35FC27A0F /* Pods-FazeKit_Tests-umbrella.h in Headers */, + 8B65A494FA5856769DEFAC285BF052F6 /* FazeKit-umbrella.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -284,23 +287,6 @@ /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ - 5EA9D9E139C16A03ECF92E5E99C17A01 /* FazeKit */ = { - isa = PBXNativeTarget; - buildConfigurationList = 308E687DD63318C7CB9DA15E437806D1 /* Build configuration list for PBXNativeTarget "FazeKit" */; - buildPhases = ( - 0F12247290D1602286B08A40575D9323 /* Sources */, - 9087CE03AB7CE986E9060160F1AEE478 /* Frameworks */, - 047C55DF7451B7E851E67A0381F8E8A3 /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = FazeKit; - productName = FazeKit; - productReference = 52C81A729DAA2801C0B6ACABDB5C4A89 /* FazeKit.framework */; - productType = "com.apple.product-type.framework"; - }; A7C7A31736B42946ACCC0F158570B6C9 /* Pods-FazeKit_Example */ = { isa = PBXNativeTarget; buildConfigurationList = 39989D97AAD32129BDFC4FD229B8F27C /* Build configuration list for PBXNativeTarget "Pods-FazeKit_Example" */; @@ -319,6 +305,23 @@ productReference = 5C4C5D322F0358C80BCEC19157F4E7CD /* Pods_FazeKit_Example.framework */; productType = "com.apple.product-type.framework"; }; + B73CB8C2336B022592A7755054DB1346 /* FazeKit */ = { + isa = PBXNativeTarget; + buildConfigurationList = F2237E8AA935E3F1583C40FB6A5634B1 /* Build configuration list for PBXNativeTarget "FazeKit" */; + buildPhases = ( + 3EAA809A1D2B5E82CF2E77F3B42E4457 /* Sources */, + 45FBA1A392EF09F2AF5A85D536B9DAB1 /* Frameworks */, + D69AA2331B8EE8E84525E1373B821797 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = FazeKit; + productName = FazeKit; + productReference = 52C81A729DAA2801C0B6ACABDB5C4A89 /* FazeKit.framework */; + productType = "com.apple.product-type.framework"; + }; D6078F61CA13CA58762239B8D5B61992 /* Pods-FazeKit_Tests */ = { isa = PBXNativeTarget; buildConfigurationList = 59FAE286B49B72B44F7CB6910DAC91B4 /* Build configuration list for PBXNativeTarget "Pods-FazeKit_Tests" */; @@ -358,7 +361,7 @@ projectDirPath = ""; projectRoot = ""; targets = ( - 5EA9D9E139C16A03ECF92E5E99C17A01 /* FazeKit */, + B73CB8C2336B022592A7755054DB1346 /* FazeKit */, A7C7A31736B42946ACCC0F158570B6C9 /* Pods-FazeKit_Example */, D6078F61CA13CA58762239B8D5B61992 /* Pods-FazeKit_Tests */, ); @@ -374,19 +377,20 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 0F12247290D1602286B08A40575D9323 /* Sources */ = { + 3EAA809A1D2B5E82CF2E77F3B42E4457 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 1A585AB3F635D17B83D9A68DF4A9428F /* CollectionAdditions.swift in Sources */, - F623CC87D342A14A869C92F5AB5D2590 /* FazeKit-dummy.m in Sources */, - 0214767C449F1DC17E5307AC099D7A1F /* NSDateAdditions.swift in Sources */, - C70B74258DC815E37A60A835B21BD79E /* NSDateComponentAdditions.swift in Sources */, - C4E5EC32C7FA663B2B0FE00AE4B4A421 /* NSProcessInfoAdditions.swift in Sources */, - AA5D17FA8F1ED2DE5F1D7D449BAFF079 /* StringAdditions.swift in Sources */, - 28150482FCF61C04EFBD261085FD3D98 /* UIDeviceAdditions.swift in Sources */, - E99E15B6C2D853EC14A593B89B146F2F /* UIScreenAdditions.swift in Sources */, - 29685427714B0415E791744436AB721E /* UIViewAdditions.swift in Sources */, + 200FA64F634D3A48CC2E5BBF7FB78F06 /* CollectionAdditions.swift in Sources */, + 43B02F311EC05FCD899E3B8D915F8D67 /* FazeKit-dummy.m in Sources */, + 7F072CBAE02C90475DD540B8D8ED3C09 /* NSDateAdditions.swift in Sources */, + 97D1E5959A6A6AD3083101B54EC863DB /* NSDateComponentAdditions.swift in Sources */, + E699A32D308161067BC9A5861E01BF22 /* NSProcessInfoAdditions.swift in Sources */, + 64049AEA30380B2B26082F4CCDAD1947 /* StringAdditions.swift in Sources */, + 3C34EFACBE8AC97A73A65A7A54758AD2 /* UIDeviceAdditions.swift in Sources */, + 5535ED319233A70AC1C3C49280ECDEF2 /* UIResponderAdditions.swift in Sources */, + 38CE621C29F38697D6D0E3A20D086C0F /* UIScreenAdditions.swift in Sources */, + A36385A1F317D62E87EE7D5A8F21E911 /* UIViewAdditions.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -404,13 +408,13 @@ 24B159BEBCFFC39881F6FE7217F1A675 /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = FazeKit; - target = 5EA9D9E139C16A03ECF92E5E99C17A01 /* FazeKit */; + target = B73CB8C2336B022592A7755054DB1346 /* FazeKit */; targetProxy = CBAC5B40D1F94EC78A18796535C141C3 /* PBXContainerItemProxy */; }; 5AA7EE501F643BDF2943530B0F12871A /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = FazeKit; - target = 5EA9D9E139C16A03ECF92E5E99C17A01 /* FazeKit */; + target = B73CB8C2336B022592A7755054DB1346 /* FazeKit */; targetProxy = CFF85E45975F988A1B4F3951E00C0EC4 /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ @@ -450,35 +454,6 @@ }; name = Debug; }; - 025627FDA8939B35792EE33CB70032CB /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = EA40B0976A4099B309E061EA33E4FE9D /* FazeKit.xcconfig */; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_NO_COMMON_BLOCKS = YES; - GCC_PREFIX_HEADER = "Target Support Files/FazeKit/FazeKit-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/FazeKit/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/FazeKit/FazeKit.modulemap"; - MTL_ENABLE_DEBUG_INFO = NO; - PRODUCT_NAME = FazeKit; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; 034014829C1E4434983CF3A690C12017 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -554,46 +529,43 @@ }; name = Release; }; - 7ADC1B6CB15809C518C69929DC9FCB9A /* Release */ = { + 71C6F9966FB5F93B75BC894D3D7420E4 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = A1CD940A8AD4FA777BE306168B504ACD /* Pods-FazeKit_Example.release.xcconfig */; + baseConfigurationReference = EA40B0976A4099B309E061EA33E4FE9D /* FazeKit.xcconfig */; buildSettings = { "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEBUG_INFORMATION_FORMAT = dwarf; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_NO_COMMON_BLOCKS = YES; - INFOPLIST_FILE = "Target Support Files/Pods-FazeKit_Example/Info.plist"; + GCC_PREFIX_HEADER = "Target Support Files/FazeKit/FazeKit-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/FazeKit/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-FazeKit_Example/Pods-FazeKit_Example.modulemap"; - MTL_ENABLE_DEBUG_INFO = NO; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = Pods_FazeKit_Example; + MODULEMAP_FILE = "Target Support Files/FazeKit/FazeKit.modulemap"; + MTL_ENABLE_DEBUG_INFO = YES; + PRODUCT_NAME = FazeKit; SDKROOT = iphoneos; SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Release; + name = Debug; }; - 99FD0D3AE53EBF8030E7AD3508008289 /* Debug */ = { + 7ADC1B6CB15809C518C69929DC9FCB9A /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = F536008F38BD7B43DEFFCD8C7F9B3ECC /* Pods-FazeKit_Example.debug.xcconfig */; + baseConfigurationReference = A1CD940A8AD4FA777BE306168B504ACD /* Pods-FazeKit_Example.release.xcconfig */; buildSettings = { "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = dwarf; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; @@ -606,7 +578,7 @@ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; MACH_O_TYPE = staticlib; MODULEMAP_FILE = "Target Support Files/Pods-FazeKit_Example/Pods-FazeKit_Example.modulemap"; - MTL_ENABLE_DEBUG_INFO = YES; + MTL_ENABLE_DEBUG_INFO = NO; OTHER_LDFLAGS = ""; OTHER_LIBTOOLFLAGS = ""; PODS_ROOT = "$(SRCROOT)"; @@ -614,16 +586,15 @@ PRODUCT_NAME = Pods_FazeKit_Example; SDKROOT = iphoneos; SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Debug; + name = Release; }; - B89D3414CE7314B3D2D21ED1F65E3AC6 /* Debug */ = { + 99FD0D3AE53EBF8030E7AD3508008289 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = EA40B0976A4099B309E061EA33E4FE9D /* FazeKit.xcconfig */; + baseConfigurationReference = F536008F38BD7B43DEFFCD8C7F9B3ECC /* Pods-FazeKit_Example.debug.xcconfig */; buildSettings = { "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CURRENT_PROJECT_VERSION = 1; @@ -634,14 +605,18 @@ DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_NO_COMMON_BLOCKS = YES; - GCC_PREFIX_HEADER = "Target Support Files/FazeKit/FazeKit-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/FazeKit/Info.plist"; + INFOPLIST_FILE = "Target Support Files/Pods-FazeKit_Example/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/FazeKit/FazeKit.modulemap"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-FazeKit_Example/Pods-FazeKit_Example.modulemap"; MTL_ENABLE_DEBUG_INFO = YES; - PRODUCT_NAME = FazeKit; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_FazeKit_Example; SDKROOT = iphoneos; SKIP_INSTALL = YES; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; @@ -689,6 +664,35 @@ }; name = Release; }; + F25EE1006E95A621D441F4C250E1F6AB /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = EA40B0976A4099B309E061EA33E4FE9D /* FazeKit.xcconfig */; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + GCC_PREFIX_HEADER = "Target Support Files/FazeKit/FazeKit-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/FazeKit/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/FazeKit/FazeKit.modulemap"; + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_NAME = FazeKit; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ @@ -701,15 +705,6 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 308E687DD63318C7CB9DA15E437806D1 /* Build configuration list for PBXNativeTarget "FazeKit" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - B89D3414CE7314B3D2D21ED1F65E3AC6 /* Debug */, - 025627FDA8939B35792EE33CB70032CB /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; 39989D97AAD32129BDFC4FD229B8F27C /* Build configuration list for PBXNativeTarget "Pods-FazeKit_Example" */ = { isa = XCConfigurationList; buildConfigurations = ( @@ -728,6 +723,15 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + F2237E8AA935E3F1583C40FB6A5634B1 /* Build configuration list for PBXNativeTarget "FazeKit" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 71C6F9966FB5F93B75BC894D3D7420E4 /* Debug */, + F25EE1006E95A621D441F4C250E1F6AB /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; /* End XCConfigurationList section */ }; rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; diff --git a/FazeKit/Classes/UIResponderAdditions.swift b/FazeKit/Classes/UIResponderAdditions.swift new file mode 100644 index 0000000..320e081 --- /dev/null +++ b/FazeKit/Classes/UIResponderAdditions.swift @@ -0,0 +1,28 @@ +// +// Copyright 2016 NextFaze +// +// Licensed under the Apache License, Version 2.0 (the "License"); you may not +// use this file except in compliance with the License. You may obtain a copy +// of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +// License for the specific language governing permissions and limitations +// under the License. +// +// UIResponderAdditions.swift +// FazeKit +// +// Created by swoolcock on 17/08/2016. +// + +import UIKit + +extension UIResponder { + static func resignAnyFirstResponder() { + UIApplication.sharedApplication().sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, forEvent: nil) + } +} From 799cacdf926393742ad71ba8b1344c837487bb92 Mon Sep 17 00:00:00 2001 From: Shane Woolcock Date: Tue, 23 Aug 2016 15:38:30 +0930 Subject: [PATCH 2/4] Change travis slack integration to always push success alerts --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ad20622..68cbcfe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,6 +21,6 @@ notifications: slack: rooms: secure: nDp6bSL+badH5BpZQYEw+wMEi0R2WcWIxVRm6XtCBPfQG/NGnG+Ty9eUi2DOP/xBVx80+hlSnYjhKEtaWBFkapMW8iDjMx2qTKYFlPXeAjk+lvpcSopKU3el7achNIcspkFIQ21f7A4svmjesJDvXtIu1fx+Wj3P1qfJulo6xK5fDhHER54bMEDknm+suKVl+4/kBoqfoubBQ80BuCZSbLaS1z3PrqRsH8aibQelgsHaXMXG7VAv+f3zyQB7Rt4BekC7s3QxWOh3tFDjE7+Ucvr0ZG6mIhhJ++00/Uaa2Cf22F6yTWhZzoR5NcyHXWd/WD2go72dA1gS9Un1gCshAeZ5S7cpPwKvcP2EiR80UMGVfTlBToCO59y/Crbrc9uIy36P0h0FjbdE9sdu98y82eg4gXAuWQbwi8lDd8ex1KPT0CN+NmQ2dRTCPpDa/Zivx10sib0AAclEkhxCaajw+mH11ctmXS+Badhxdzgxmny2VXKMbzmEnpgv6Rl49+p+A9oXDl+xPrnDDg10xtSq62iuI7o2PJH1V1Cw660Lymt+OhN31+2LzXJa+MK9pvwqURK1VUbob1MB3vpYBIA9/UcFv40OGea3Uujh5T9JGLejVGJB0Q8DOKD0B1isgYYK/QuTkj5LXlzhajkSMsGFGsU3zOxcl9pLPZVJZbCRao4= - on_success: never + on_success: always on_failure: always From 015c304556e4bcf0c3e0055164ba39377190114f Mon Sep 17 00:00:00 2001 From: Shane Woolcock Date: Fri, 21 Oct 2016 15:00:45 +1030 Subject: [PATCH 3/4] Swift 2.3 migration --- .swift-version | 1 + Example/FazeKit.xcodeproj/project.pbxproj | 6 ++++++ Example/Pods/Pods.xcodeproj/project.pbxproj | 17 +++++++++++++++++ 3 files changed, 24 insertions(+) create mode 100644 .swift-version diff --git a/.swift-version b/.swift-version new file mode 100644 index 0000000..bb576db --- /dev/null +++ b/.swift-version @@ -0,0 +1 @@ +2.3 diff --git a/Example/FazeKit.xcodeproj/project.pbxproj b/Example/FazeKit.xcodeproj/project.pbxproj index e777978..e35f27d 100644 --- a/Example/FazeKit.xcodeproj/project.pbxproj +++ b/Example/FazeKit.xcodeproj/project.pbxproj @@ -215,9 +215,11 @@ TargetAttributes = { 607FACCF1AFB9204008FA782 = { CreatedOnToolsVersion = 6.3.1; + LastSwiftMigration = 0800; }; 607FACE41AFB9204008FA782 = { CreatedOnToolsVersion = 6.3.1; + LastSwiftMigration = 0800; TestTargetID = 607FACCF1AFB9204008FA782; }; }; @@ -487,6 +489,7 @@ MODULE_NAME = ExampleApp; PRODUCT_BUNDLE_IDENTIFIER = "com.nextfaze.FazeKit-Example"; PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 2.3; }; name = Debug; }; @@ -501,6 +504,7 @@ MODULE_NAME = ExampleApp; PRODUCT_BUNDLE_IDENTIFIER = "com.nextfaze.FazeKit-Example"; PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 2.3; }; name = Release; }; @@ -520,6 +524,7 @@ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 2.3; }; name = Debug; }; @@ -535,6 +540,7 @@ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 2.3; }; name = Release; }; diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj index c0f93f1..1fd7607 100644 --- a/Example/Pods/Pods.xcodeproj/project.pbxproj +++ b/Example/Pods/Pods.xcodeproj/project.pbxproj @@ -348,6 +348,17 @@ attributes = { LastSwiftUpdateCheck = 0730; LastUpgradeCheck = 0700; + TargetAttributes = { + A7C7A31736B42946ACCC0F158570B6C9 = { + LastSwiftMigration = 0800; + }; + B73CB8C2336B022592A7755054DB1346 = { + LastSwiftMigration = 0800; + }; + D6078F61CA13CA58762239B8D5B61992 = { + LastSwiftMigration = 0800; + }; + }; }; buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; compatibilityVersion = "Xcode 3.2"; @@ -448,6 +459,7 @@ SDKROOT = iphoneos; SKIP_INSTALL = YES; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 2.3; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; @@ -523,6 +535,7 @@ PRODUCT_NAME = Pods_FazeKit_Tests; SDKROOT = iphoneos; SKIP_INSTALL = YES; + SWIFT_VERSION = 2.3; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; @@ -553,6 +566,7 @@ SDKROOT = iphoneos; SKIP_INSTALL = YES; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 2.3; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; @@ -586,6 +600,7 @@ PRODUCT_NAME = Pods_FazeKit_Example; SDKROOT = iphoneos; SKIP_INSTALL = YES; + SWIFT_VERSION = 2.3; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; @@ -620,6 +635,7 @@ SDKROOT = iphoneos; SKIP_INSTALL = YES; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 2.3; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; @@ -687,6 +703,7 @@ PRODUCT_NAME = FazeKit; SDKROOT = iphoneos; SKIP_INSTALL = YES; + SWIFT_VERSION = 2.3; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; From 6d1a01d1f3939d4d361d564e41779be11440ed96 Mon Sep 17 00:00:00 2001 From: Shane Woolcock Date: Fri, 21 Oct 2016 15:02:02 +1030 Subject: [PATCH 4/4] Bump version to 0.1.3 --- FazeKit.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FazeKit.podspec b/FazeKit.podspec index 8e7cf55..2f72221 100644 --- a/FazeKit.podspec +++ b/FazeKit.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'FazeKit' - s.version = '0.1.2' + s.version = '0.1.3' s.summary = 'A collection of helper functions and extensions for Swift iOS apps' s.description = 'A collection of extensions and convenience functions on Foundation, UIKit and other Cocoa Frameworks, built in Swift for iOS development' s.homepage = 'https://github.com/NextFaze/FazeKit'