From 5d32244cb87c10e830c348a395528a640fba029d Mon Sep 17 00:00:00 2001 From: Vinayak Sareen Date: Wed, 14 Aug 2019 05:49:35 +0530 Subject: [PATCH] changes --- Example/Podfile.lock | 16 + .../Pods/Local Podspecs/SVSwiper.podspec.json | 22 + Example/Pods/Manifest.lock | 16 + Example/Pods/Pods.xcodeproj/project.pbxproj | 798 ++++++++++++++++++ .../Pods-SVSwiper_Example-Info.plist | 26 + ...SVSwiper_Example-acknowledgements.markdown | 26 + ...ds-SVSwiper_Example-acknowledgements.plist | 58 ++ .../Pods-SVSwiper_Example-dummy.m | 5 + .../Pods-SVSwiper_Example-frameworks.sh | 171 ++++ .../Pods-SVSwiper_Example-umbrella.h | 16 + .../Pods-SVSwiper_Example.debug.xcconfig | 11 + .../Pods-SVSwiper_Example.modulemap | 6 + .../Pods-SVSwiper_Example.release.xcconfig | 11 + .../Pods-SVSwiper_Tests-Info.plist | 26 + ...s-SVSwiper_Tests-acknowledgements.markdown | 3 + ...Pods-SVSwiper_Tests-acknowledgements.plist | 29 + .../Pods-SVSwiper_Tests-dummy.m | 5 + .../Pods-SVSwiper_Tests-umbrella.h | 16 + .../Pods-SVSwiper_Tests.debug.xcconfig | 8 + .../Pods-SVSwiper_Tests.modulemap | 6 + .../Pods-SVSwiper_Tests.release.xcconfig | 8 + .../SVSwiper/SVSwiper-Info.plist | 26 + .../SVSwiper/SVSwiper-dummy.m | 5 + .../SVSwiper/SVSwiper-prefix.pch | 12 + .../SVSwiper/SVSwiper-umbrella.h | 16 + .../SVSwiper/SVSwiper.modulemap | 6 + .../SVSwiper/SVSwiper.xcconfig | 9 + Example/SVSwiper.xcodeproj/project.pbxproj | 47 +- .../xcschemes/SVSwiper-Example.xcscheme | 4 +- .../contents.xcworkspacedata | 10 + .../xcshareddata/IDEWorkspaceChecks.plist | 8 + Example/SVSwiper/FirstController.swift | 16 + Example/SVSwiper/SecondController.swift | 17 + Example/SVSwiper/ThirdController.swift | 18 + Example/SVSwiper/ViewController.swift | 44 +- SVSwiper/Classes/Constraints.swift | 32 + SVSwiper/Classes/ReplaceMe.swift | 0 SVSwiper/Classes/SVSwiperController.swift | 178 ++++ SVSwiper/Classes/SwiperDelegate.swift | 16 + SVSwiperCustomCell.swift | 38 + 40 files changed, 1770 insertions(+), 15 deletions(-) create mode 100644 Example/Podfile.lock create mode 100644 Example/Pods/Local Podspecs/SVSwiper.podspec.json create mode 100644 Example/Pods/Manifest.lock create mode 100644 Example/Pods/Pods.xcodeproj/project.pbxproj create mode 100644 Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example-Info.plist create mode 100644 Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example-acknowledgements.markdown create mode 100644 Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example-acknowledgements.plist create mode 100644 Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example-dummy.m create mode 100755 Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example-frameworks.sh create mode 100644 Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example-umbrella.h create mode 100644 Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example.debug.xcconfig create mode 100644 Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example.modulemap create mode 100644 Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example.release.xcconfig create mode 100644 Example/Pods/Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests-Info.plist create mode 100644 Example/Pods/Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests-acknowledgements.markdown create mode 100644 Example/Pods/Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests-acknowledgements.plist create mode 100644 Example/Pods/Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests-dummy.m create mode 100644 Example/Pods/Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests-umbrella.h create mode 100644 Example/Pods/Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests.debug.xcconfig create mode 100644 Example/Pods/Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests.modulemap create mode 100644 Example/Pods/Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests.release.xcconfig create mode 100644 Example/Pods/Target Support Files/SVSwiper/SVSwiper-Info.plist create mode 100644 Example/Pods/Target Support Files/SVSwiper/SVSwiper-dummy.m create mode 100644 Example/Pods/Target Support Files/SVSwiper/SVSwiper-prefix.pch create mode 100644 Example/Pods/Target Support Files/SVSwiper/SVSwiper-umbrella.h create mode 100644 Example/Pods/Target Support Files/SVSwiper/SVSwiper.modulemap create mode 100644 Example/Pods/Target Support Files/SVSwiper/SVSwiper.xcconfig create mode 100644 Example/SVSwiper.xcworkspace/contents.xcworkspacedata create mode 100644 Example/SVSwiper.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 Example/SVSwiper/FirstController.swift create mode 100644 Example/SVSwiper/SecondController.swift create mode 100644 Example/SVSwiper/ThirdController.swift create mode 100644 SVSwiper/Classes/Constraints.swift delete mode 100644 SVSwiper/Classes/ReplaceMe.swift create mode 100644 SVSwiper/Classes/SVSwiperController.swift create mode 100644 SVSwiper/Classes/SwiperDelegate.swift create mode 100644 SVSwiperCustomCell.swift diff --git a/Example/Podfile.lock b/Example/Podfile.lock new file mode 100644 index 0000000..d592294 --- /dev/null +++ b/Example/Podfile.lock @@ -0,0 +1,16 @@ +PODS: + - SVSwiper (0.1.0) + +DEPENDENCIES: + - SVSwiper (from `../`) + +EXTERNAL SOURCES: + SVSwiper: + :path: "../" + +SPEC CHECKSUMS: + SVSwiper: 63e47aee646c76f0df4384a42d42af3e33f72508 + +PODFILE CHECKSUM: 7b9bf69e44cb2f6bf8fc28e3c424b9fe287d0d2c + +COCOAPODS: 1.7.5 diff --git a/Example/Pods/Local Podspecs/SVSwiper.podspec.json b/Example/Pods/Local Podspecs/SVSwiper.podspec.json new file mode 100644 index 0000000..53ba572 --- /dev/null +++ b/Example/Pods/Local Podspecs/SVSwiper.podspec.json @@ -0,0 +1,22 @@ +{ + "name": "SVSwiper", + "version": "0.1.0", + "summary": "A short description of SVSwiper.", + "description": "TODO: Add long description of the pod here.", + "homepage": "https://github.com/buggyman026@gmail.com/SVSwiper", + "license": { + "type": "MIT", + "file": "LICENSE" + }, + "authors": { + "buggyman026@gmail.com": "sareenv@uni.coventry.ac.uk" + }, + "source": { + "git": "https://github.com/buggyman026@gmail.com/SVSwiper.git", + "tag": "0.1.0" + }, + "platforms": { + "ios": "8.0" + }, + "source_files": "SVSwiper/Classes/**/*" +} diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock new file mode 100644 index 0000000..d592294 --- /dev/null +++ b/Example/Pods/Manifest.lock @@ -0,0 +1,16 @@ +PODS: + - SVSwiper (0.1.0) + +DEPENDENCIES: + - SVSwiper (from `../`) + +EXTERNAL SOURCES: + SVSwiper: + :path: "../" + +SPEC CHECKSUMS: + SVSwiper: 63e47aee646c76f0df4384a42d42af3e33f72508 + +PODFILE CHECKSUM: 7b9bf69e44cb2f6bf8fc28e3c424b9fe287d0d2c + +COCOAPODS: 1.7.5 diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj new file mode 100644 index 0000000..3302002 --- /dev/null +++ b/Example/Pods/Pods.xcodeproj/project.pbxproj @@ -0,0 +1,798 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 05AA300802E6EB9577BD4E126E206B68 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */; }; + 0D55EF6C123D6247F5733BF76046010F /* SVSwiper-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 7444F982D344637647B715F11D10B280 /* SVSwiper-dummy.m */; }; + 1491124B26CC6A8F174A2067177EFA46 /* Pods-SVSwiper_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = BAAD4423C429D9824CD2FF56C0C679F9 /* Pods-SVSwiper_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 365C21134AD5B322FBEE40D72E8E4950 /* SVSwiper-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = D05C9D8E0C698182C819B35F7BB73F45 /* SVSwiper-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 3DB5D0109F014E2EAB5BF09516A8716C /* Pods-SVSwiper_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = EABCF09B125A7BF313C1CAC0A399649D /* Pods-SVSwiper_Example-dummy.m */; }; + 4259B0002303597100A57B87 /* Constraints.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4259AFFF2303597100A57B87 /* Constraints.swift */; }; + 4259B001230359A500A57B87 /* Constraints.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4259AFFF2303597100A57B87 /* Constraints.swift */; }; + 4259B00623035BC100A57B87 /* SwiperDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4259B00523035BC100A57B87 /* SwiperDelegate.swift */; }; + 4259B00723035BC100A57B87 /* SwiperDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4259B00523035BC100A57B87 /* SwiperDelegate.swift */; }; + 4259B00923035C0D00A57B87 /* SVSwiperController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4259B00823035C0D00A57B87 /* SVSwiperController.swift */; }; + 4259B00A23035C0D00A57B87 /* SVSwiperController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4259B00823035C0D00A57B87 /* SVSwiperController.swift */; }; + 4259B00C2303600100A57B87 /* SVSwiperCustomCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4259B00B2303600100A57B87 /* SVSwiperCustomCell.swift */; }; + 4259B00D2303600100A57B87 /* SVSwiperCustomCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4259B00B2303600100A57B87 /* SVSwiperCustomCell.swift */; }; + 4532E5A8FDD4D02FB93F9AA5B2C8BCFB /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */; }; + 7995C08CE91936F81C571031EF72F880 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */; }; + 8E157B78DF11F8B161DE90F2C519BA50 /* Pods-SVSwiper_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 7730FF70A2A704BAB722F13B6CB2A082 /* Pods-SVSwiper_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F0A00439F8D949372DF3943F370CA039 /* Pods-SVSwiper_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 1A5DBB643B99E15B7D195E2D33001065 /* Pods-SVSwiper_Tests-dummy.m */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 45EB23150F3318CDB258F1202214AE03 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 6C9B171FAACC63B12BAEFFC1D5015D14; + remoteInfo = SVSwiper; + }; + 611826B83F7BEAFC5F1D07D2F76AD3B1 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 6970EDC76240751E3FA84D7F301E466A; + remoteInfo = "Pods-SVSwiper_Example"; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 073D57D6E7546A940DFAD7DF6502263B /* SVSwiper.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = SVSwiper.modulemap; sourceTree = ""; }; + 0D6FACB74C55642F7F65C6EBCBE57D87 /* Pods_SVSwiper_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SVSwiper_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 1A5DBB643B99E15B7D195E2D33001065 /* Pods-SVSwiper_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-SVSwiper_Tests-dummy.m"; sourceTree = ""; }; + 1CF9F796BBFCF646751EB26F9354BDC7 /* Pods-SVSwiper_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SVSwiper_Tests.release.xcconfig"; sourceTree = ""; }; + 20869F7648B9372111CFC241358BA004 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; + 2B15FE25443E81FC4F5F18E2DDFD0C8E /* SVSwiper.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = SVSwiper.xcconfig; sourceTree = ""; }; + 2EA40A1216FC2EE431CC787878DDC0F1 /* SVSwiper-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "SVSwiper-prefix.pch"; sourceTree = ""; }; + 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; + 3B6B5DE9E461AEC43B13FC66584E1111 /* Pods_SVSwiper_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SVSwiper_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 4259AFFF2303597100A57B87 /* Constraints.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = Constraints.swift; path = SVSwiper/Classes/Constraints.swift; sourceTree = ""; }; + 4259B00523035BC100A57B87 /* SwiperDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = SwiperDelegate.swift; path = SVSwiper/Classes/SwiperDelegate.swift; sourceTree = ""; }; + 4259B00823035C0D00A57B87 /* SVSwiperController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = SVSwiperController.swift; path = SVSwiper/Classes/SVSwiperController.swift; sourceTree = ""; }; + 4259B00B2303600100A57B87 /* SVSwiperCustomCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SVSwiperCustomCell.swift; sourceTree = ""; }; + 49ADA7EF2F48657D1F47796AA9401D98 /* Pods-SVSwiper_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SVSwiper_Example-acknowledgements.plist"; sourceTree = ""; }; + 73ACA27008B3D56FBDED179B155DEB84 /* Pods-SVSwiper_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SVSwiper_Example.debug.xcconfig"; sourceTree = ""; }; + 7444F982D344637647B715F11D10B280 /* SVSwiper-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "SVSwiper-dummy.m"; sourceTree = ""; }; + 7620094A5140915FB7C99C0EC437D3F5 /* Pods-SVSwiper_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-SVSwiper_Example-acknowledgements.markdown"; sourceTree = ""; }; + 7730FF70A2A704BAB722F13B6CB2A082 /* Pods-SVSwiper_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-SVSwiper_Tests-umbrella.h"; sourceTree = ""; }; + 781426F46832257CBA7F77AFC12D43E6 /* Pods-SVSwiper_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SVSwiper_Tests-acknowledgements.plist"; sourceTree = ""; }; + 89D553572020F9E427DF6649048F3870 /* Pods-SVSwiper_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SVSwiper_Example-frameworks.sh"; sourceTree = ""; }; + 93BCC071E0CB93799FB915E510B0A5EF /* Pods-SVSwiper_Example-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SVSwiper_Example-Info.plist"; sourceTree = ""; }; + 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + B1F24D4F57AC86F11FC7CCB8211B69B1 /* Pods-SVSwiper_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-SVSwiper_Tests.modulemap"; sourceTree = ""; }; + B3EF056A3B9CBE294E1B68C34DED71AE /* Pods-SVSwiper_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SVSwiper_Example.release.xcconfig"; sourceTree = ""; }; + BAAD4423C429D9824CD2FF56C0C679F9 /* Pods-SVSwiper_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-SVSwiper_Example-umbrella.h"; sourceTree = ""; }; + CD2396C4613D2B325D898771C14F61A0 /* SVSwiper.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; path = SVSwiper.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + D05C9D8E0C698182C819B35F7BB73F45 /* SVSwiper-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "SVSwiper-umbrella.h"; sourceTree = ""; }; + DAD9CACB04F1564D9025B7052366E4D1 /* Pods-SVSwiper_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-SVSwiper_Tests-acknowledgements.markdown"; sourceTree = ""; }; + DE0E48267F28FDCB49E220666A504E7C /* Pods-SVSwiper_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SVSwiper_Tests.debug.xcconfig"; sourceTree = ""; }; + E38E99F341061236F07A7F741E74CF4C /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; + E97AA7ECDD2131F93D78B1E7E263B29E /* Pods-SVSwiper_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-SVSwiper_Example.modulemap"; sourceTree = ""; }; + EABCF09B125A7BF313C1CAC0A399649D /* Pods-SVSwiper_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-SVSwiper_Example-dummy.m"; sourceTree = ""; }; + EC8B80DE2212859995DE9E263D697266 /* SVSwiper.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SVSwiper.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + F6E4C96DC26F9B8B34F999EF8CA5B144 /* Pods-SVSwiper_Tests-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SVSwiper_Tests-Info.plist"; sourceTree = ""; }; + FDD2DAACC2A4EAE0C9F99F2EED4C1B5F /* SVSwiper-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "SVSwiper-Info.plist"; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 530267ADEB450297109670CB665BCA6C /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 4532E5A8FDD4D02FB93F9AA5B2C8BCFB /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 81D5BE60A9C3E518132ABF4F815F74EA /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 05AA300802E6EB9577BD4E126E206B68 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 91CBC1EA385E448591395FA2A94CE367 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 7995C08CE91936F81C571031EF72F880 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 0141AC2DCA2970396E4BA1F2F0840C1B /* Pods-SVSwiper_Example */ = { + isa = PBXGroup; + children = ( + E97AA7ECDD2131F93D78B1E7E263B29E /* Pods-SVSwiper_Example.modulemap */, + 7620094A5140915FB7C99C0EC437D3F5 /* Pods-SVSwiper_Example-acknowledgements.markdown */, + 49ADA7EF2F48657D1F47796AA9401D98 /* Pods-SVSwiper_Example-acknowledgements.plist */, + EABCF09B125A7BF313C1CAC0A399649D /* Pods-SVSwiper_Example-dummy.m */, + 89D553572020F9E427DF6649048F3870 /* Pods-SVSwiper_Example-frameworks.sh */, + 93BCC071E0CB93799FB915E510B0A5EF /* Pods-SVSwiper_Example-Info.plist */, + BAAD4423C429D9824CD2FF56C0C679F9 /* Pods-SVSwiper_Example-umbrella.h */, + 73ACA27008B3D56FBDED179B155DEB84 /* Pods-SVSwiper_Example.debug.xcconfig */, + B3EF056A3B9CBE294E1B68C34DED71AE /* Pods-SVSwiper_Example.release.xcconfig */, + ); + name = "Pods-SVSwiper_Example"; + path = "Target Support Files/Pods-SVSwiper_Example"; + sourceTree = ""; + }; + 2C6978396A2C930E4BBC33272DDF7D9C /* Support Files */ = { + isa = PBXGroup; + children = ( + 073D57D6E7546A940DFAD7DF6502263B /* SVSwiper.modulemap */, + 2B15FE25443E81FC4F5F18E2DDFD0C8E /* SVSwiper.xcconfig */, + 7444F982D344637647B715F11D10B280 /* SVSwiper-dummy.m */, + FDD2DAACC2A4EAE0C9F99F2EED4C1B5F /* SVSwiper-Info.plist */, + 2EA40A1216FC2EE431CC787878DDC0F1 /* SVSwiper-prefix.pch */, + D05C9D8E0C698182C819B35F7BB73F45 /* SVSwiper-umbrella.h */, + ); + name = "Support Files"; + path = "Example/Pods/Target Support Files/SVSwiper"; + sourceTree = ""; + }; + 6D8A61B3E646713C189A934EEB983977 /* Development Pods */ = { + isa = PBXGroup; + children = ( + A5D5E36C7A7E98A04ACD442E597335BB /* SVSwiper */, + ); + name = "Development Pods"; + sourceTree = ""; + }; + 879DDFAE04B5D747BAF04EA5C617EB4C /* Pod */ = { + isa = PBXGroup; + children = ( + E38E99F341061236F07A7F741E74CF4C /* LICENSE */, + 20869F7648B9372111CFC241358BA004 /* README.md */, + CD2396C4613D2B325D898771C14F61A0 /* SVSwiper.podspec */, + ); + name = Pod; + sourceTree = ""; + }; + 93E8A5812C195DD5104E9EA1AAD7308F /* Products */ = { + isa = PBXGroup; + children = ( + 0D6FACB74C55642F7F65C6EBCBE57D87 /* Pods_SVSwiper_Example.framework */, + 3B6B5DE9E461AEC43B13FC66584E1111 /* Pods_SVSwiper_Tests.framework */, + EC8B80DE2212859995DE9E263D697266 /* SVSwiper.framework */, + ); + name = Products; + sourceTree = ""; + }; + A5D5E36C7A7E98A04ACD442E597335BB /* SVSwiper */ = { + isa = PBXGroup; + children = ( + 4259AFFF2303597100A57B87 /* Constraints.swift */, + 4259B00823035C0D00A57B87 /* SVSwiperController.swift */, + 4259B00523035BC100A57B87 /* SwiperDelegate.swift */, + 4259B00B2303600100A57B87 /* SVSwiperCustomCell.swift */, + 879DDFAE04B5D747BAF04EA5C617EB4C /* Pod */, + 2C6978396A2C930E4BBC33272DDF7D9C /* Support Files */, + ); + name = SVSwiper; + path = ../..; + sourceTree = ""; + }; + BF7948F2CB61975F33708C663DB5FF19 /* Targets Support Files */ = { + isa = PBXGroup; + children = ( + 0141AC2DCA2970396E4BA1F2F0840C1B /* Pods-SVSwiper_Example */, + E3D84E8B8B728D810652593543CF222F /* Pods-SVSwiper_Tests */, + ); + name = "Targets Support Files"; + sourceTree = ""; + }; + C0834CEBB1379A84116EF29F93051C60 /* iOS */ = { + isa = PBXGroup; + children = ( + 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */, + ); + name = iOS; + sourceTree = ""; + }; + CF1408CF629C7361332E53B88F7BD30C = { + isa = PBXGroup; + children = ( + 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */, + 6D8A61B3E646713C189A934EEB983977 /* Development Pods */, + D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */, + 93E8A5812C195DD5104E9EA1AAD7308F /* Products */, + BF7948F2CB61975F33708C663DB5FF19 /* Targets Support Files */, + ); + sourceTree = ""; + }; + D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */ = { + isa = PBXGroup; + children = ( + C0834CEBB1379A84116EF29F93051C60 /* iOS */, + ); + name = Frameworks; + sourceTree = ""; + }; + E3D84E8B8B728D810652593543CF222F /* Pods-SVSwiper_Tests */ = { + isa = PBXGroup; + children = ( + B1F24D4F57AC86F11FC7CCB8211B69B1 /* Pods-SVSwiper_Tests.modulemap */, + DAD9CACB04F1564D9025B7052366E4D1 /* Pods-SVSwiper_Tests-acknowledgements.markdown */, + 781426F46832257CBA7F77AFC12D43E6 /* Pods-SVSwiper_Tests-acknowledgements.plist */, + 1A5DBB643B99E15B7D195E2D33001065 /* Pods-SVSwiper_Tests-dummy.m */, + F6E4C96DC26F9B8B34F999EF8CA5B144 /* Pods-SVSwiper_Tests-Info.plist */, + 7730FF70A2A704BAB722F13B6CB2A082 /* Pods-SVSwiper_Tests-umbrella.h */, + DE0E48267F28FDCB49E220666A504E7C /* Pods-SVSwiper_Tests.debug.xcconfig */, + 1CF9F796BBFCF646751EB26F9354BDC7 /* Pods-SVSwiper_Tests.release.xcconfig */, + ); + name = "Pods-SVSwiper_Tests"; + path = "Target Support Files/Pods-SVSwiper_Tests"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 6931D9DFCF128FA38160B20F1DF11EDE /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 8E157B78DF11F8B161DE90F2C519BA50 /* Pods-SVSwiper_Tests-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + D362316EBA9C1C9380C2FB48B4788BA3 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 1491124B26CC6A8F174A2067177EFA46 /* Pods-SVSwiper_Example-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + F4D3101AB8BDFF06E1BB01C5F88DFF3F /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 365C21134AD5B322FBEE40D72E8E4950 /* SVSwiper-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 6970EDC76240751E3FA84D7F301E466A /* Pods-SVSwiper_Example */ = { + isa = PBXNativeTarget; + buildConfigurationList = 79CF187D38FDD2119DE3DEE5BFCE8F2E /* Build configuration list for PBXNativeTarget "Pods-SVSwiper_Example" */; + buildPhases = ( + D362316EBA9C1C9380C2FB48B4788BA3 /* Headers */, + 999588898816D8D65E3934864E3EC34E /* Sources */, + 81D5BE60A9C3E518132ABF4F815F74EA /* Frameworks */, + E87A995CE25869F36C1115AE477C57AE /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 929BD15BDC568E6B0404E86C7FFA8337 /* PBXTargetDependency */, + ); + name = "Pods-SVSwiper_Example"; + productName = "Pods-SVSwiper_Example"; + productReference = 0D6FACB74C55642F7F65C6EBCBE57D87 /* Pods_SVSwiper_Example.framework */; + productType = "com.apple.product-type.framework"; + }; + 6C9B171FAACC63B12BAEFFC1D5015D14 /* SVSwiper */ = { + isa = PBXNativeTarget; + buildConfigurationList = 52DC602F5E794BECE9FC04C39E90B01E /* Build configuration list for PBXNativeTarget "SVSwiper" */; + buildPhases = ( + F4D3101AB8BDFF06E1BB01C5F88DFF3F /* Headers */, + 65521360C4EFFE98518DFC3674843484 /* Sources */, + 91CBC1EA385E448591395FA2A94CE367 /* Frameworks */, + 7EB0096630419CEC0F1197DF0E5E373E /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = SVSwiper; + productName = SVSwiper; + productReference = EC8B80DE2212859995DE9E263D697266 /* SVSwiper.framework */; + productType = "com.apple.product-type.framework"; + }; + CE88B1A483F9E68434B851171ADE77CC /* Pods-SVSwiper_Tests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 0444CC2DA534C27258FD9AB341A11698 /* Build configuration list for PBXNativeTarget "Pods-SVSwiper_Tests" */; + buildPhases = ( + 6931D9DFCF128FA38160B20F1DF11EDE /* Headers */, + 00C2A95C9042AAB7FE9F15949207FF74 /* Sources */, + 530267ADEB450297109670CB665BCA6C /* Frameworks */, + FF1642F2B34A5EA079403B792865ED5B /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 9E60CF1B40F97BC1D23F8A29AB6EA54C /* PBXTargetDependency */, + ); + name = "Pods-SVSwiper_Tests"; + productName = "Pods-SVSwiper_Tests"; + productReference = 3B6B5DE9E461AEC43B13FC66584E1111 /* Pods_SVSwiper_Tests.framework */; + productType = "com.apple.product-type.framework"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + BFDFE7DC352907FC980B868725387E98 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 1100; + LastUpgradeCheck = 1100; + TargetAttributes = { + 6970EDC76240751E3FA84D7F301E466A = { + LastSwiftMigration = 1030; + }; + }; + }; + buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = CF1408CF629C7361332E53B88F7BD30C; + productRefGroup = 93E8A5812C195DD5104E9EA1AAD7308F /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 6970EDC76240751E3FA84D7F301E466A /* Pods-SVSwiper_Example */, + CE88B1A483F9E68434B851171ADE77CC /* Pods-SVSwiper_Tests */, + 6C9B171FAACC63B12BAEFFC1D5015D14 /* SVSwiper */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 7EB0096630419CEC0F1197DF0E5E373E /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E87A995CE25869F36C1115AE477C57AE /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + FF1642F2B34A5EA079403B792865ED5B /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 00C2A95C9042AAB7FE9F15949207FF74 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + F0A00439F8D949372DF3943F370CA039 /* Pods-SVSwiper_Tests-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 65521360C4EFFE98518DFC3674843484 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4259B00723035BC100A57B87 /* SwiperDelegate.swift in Sources */, + 4259B001230359A500A57B87 /* Constraints.swift in Sources */, + 4259B00D2303600100A57B87 /* SVSwiperCustomCell.swift in Sources */, + 4259B00A23035C0D00A57B87 /* SVSwiperController.swift in Sources */, + 0D55EF6C123D6247F5733BF76046010F /* SVSwiper-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 999588898816D8D65E3934864E3EC34E /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4259B00623035BC100A57B87 /* SwiperDelegate.swift in Sources */, + 4259B0002303597100A57B87 /* Constraints.swift in Sources */, + 4259B00C2303600100A57B87 /* SVSwiperCustomCell.swift in Sources */, + 4259B00923035C0D00A57B87 /* SVSwiperController.swift in Sources */, + 3DB5D0109F014E2EAB5BF09516A8716C /* Pods-SVSwiper_Example-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 929BD15BDC568E6B0404E86C7FFA8337 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = SVSwiper; + target = 6C9B171FAACC63B12BAEFFC1D5015D14 /* SVSwiper */; + targetProxy = 45EB23150F3318CDB258F1202214AE03 /* PBXContainerItemProxy */; + }; + 9E60CF1B40F97BC1D23F8A29AB6EA54C /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "Pods-SVSwiper_Example"; + target = 6970EDC76240751E3FA84D7F301E466A /* Pods-SVSwiper_Example */; + targetProxy = 611826B83F7BEAFC5F1D07D2F76AD3B1 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 30517F24DF7AA749F4B0B6FDC54CA6E7 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = B3EF056A3B9CBE294E1B68C34DED71AE /* Pods-SVSwiper_Example.release.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.3; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 42D57C268B51215583F39BC67DB4F240 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 73ACA27008B3D56FBDED179B155DEB84 /* Pods-SVSwiper_Example.debug.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.3; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + A34AE54E94D0A819D25CB3828B3B01AB /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 2B15FE25443E81FC4F5F18E2DDFD0C8E /* SVSwiper.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/SVSwiper/SVSwiper-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/SVSwiper/SVSwiper-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/SVSwiper/SVSwiper.modulemap"; + PRODUCT_MODULE_NAME = SVSwiper; + PRODUCT_NAME = SVSwiper; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + A6CEA28617FB10716889611141E75697 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = DE0E48267F28FDCB49E220666A504E7C /* Pods-SVSwiper_Tests.debug.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.3; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + B0087CB4594321EF41619F3181FE120E /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_PREPROCESSOR_DEFINITIONS = ( + "POD_CONFIGURATION_RELEASE=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 9.3; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + PRODUCT_NAME = "$(TARGET_NAME)"; + STRIP_INSTALLED_PRODUCT = NO; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_VERSION = 5.0; + SYMROOT = "${SRCROOT}/../build"; + }; + name = Release; + }; + B8BCBD0110C2658BB5DAADB9B7D97B92 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "POD_CONFIGURATION_DEBUG=1", + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 9.3; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + PRODUCT_NAME = "$(TARGET_NAME)"; + STRIP_INSTALLED_PRODUCT = NO; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + SYMROOT = "${SRCROOT}/../build"; + }; + name = Debug; + }; + F16211A50F89BC2E1C867617DD508487 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 1CF9F796BBFCF646751EB26F9354BDC7 /* Pods-SVSwiper_Tests.release.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.3; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + FC97C628D986FE1531D9987A3E086608 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 2B15FE25443E81FC4F5F18E2DDFD0C8E /* SVSwiper.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/SVSwiper/SVSwiper-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/SVSwiper/SVSwiper-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/SVSwiper/SVSwiper.modulemap"; + PRODUCT_MODULE_NAME = SVSwiper; + PRODUCT_NAME = SVSwiper; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 0444CC2DA534C27258FD9AB341A11698 /* Build configuration list for PBXNativeTarget "Pods-SVSwiper_Tests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A6CEA28617FB10716889611141E75697 /* Debug */, + F16211A50F89BC2E1C867617DD508487 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + B8BCBD0110C2658BB5DAADB9B7D97B92 /* Debug */, + B0087CB4594321EF41619F3181FE120E /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 52DC602F5E794BECE9FC04C39E90B01E /* Build configuration list for PBXNativeTarget "SVSwiper" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A34AE54E94D0A819D25CB3828B3B01AB /* Debug */, + FC97C628D986FE1531D9987A3E086608 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 79CF187D38FDD2119DE3DEE5BFCE8F2E /* Build configuration list for PBXNativeTarget "Pods-SVSwiper_Example" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 42D57C268B51215583F39BC67DB4F240 /* Debug */, + 30517F24DF7AA749F4B0B6FDC54CA6E7 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = BFDFE7DC352907FC980B868725387E98 /* Project object */; +} diff --git a/Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example-Info.plist b/Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example-Info.plist new file mode 100644 index 0000000..2243fe6 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example-Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example-acknowledgements.markdown new file mode 100644 index 0000000..3dd2409 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example-acknowledgements.markdown @@ -0,0 +1,26 @@ +# Acknowledgements +This application makes use of the following third party libraries: + +## SVSwiper + +Copyright (c) 2019 buggyman026@gmail.com + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +Generated by CocoaPods - https://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example-acknowledgements.plist new file mode 100644 index 0000000..3083421 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example-acknowledgements.plist @@ -0,0 +1,58 @@ + + + + + PreferenceSpecifiers + + + FooterText + This application makes use of the following third party libraries: + Title + Acknowledgements + Type + PSGroupSpecifier + + + FooterText + Copyright (c) 2019 buggyman026@gmail.com <sareenv@uni.coventry.ac.uk> + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + License + MIT + Title + SVSwiper + Type + PSGroupSpecifier + + + FooterText + Generated by CocoaPods - https://cocoapods.org + Title + + Type + PSGroupSpecifier + + + StringsTable + Acknowledgements + Title + Acknowledgements + + diff --git a/Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example-dummy.m b/Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example-dummy.m new file mode 100644 index 0000000..a63bc79 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods_SVSwiper_Example : NSObject +@end +@implementation PodsDummy_Pods_SVSwiper_Example +@end diff --git a/Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example-frameworks.sh b/Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example-frameworks.sh new file mode 100755 index 0000000..c6db533 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example-frameworks.sh @@ -0,0 +1,171 @@ +#!/bin/sh +set -e +set -u +set -o pipefail + +function on_error { + echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" +} +trap 'on_error $LINENO' ERR + +if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then + # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy + # frameworks to, so exit 0 (signalling the script phase was successful). + exit 0 +fi + +echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" +mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + +COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" +SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" + +# Used as a return value for each invocation of `strip_invalid_archs` function. +STRIP_BINARY_RETVAL=0 + +# This protects against multiple targets copying the same framework dependency at the same time. The solution +# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html +RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") + +# Copies and strips a vendored framework +install_framework() +{ + if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then + local source="${BUILT_PRODUCTS_DIR}/$1" + elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then + local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" + elif [ -r "$1" ]; then + local source="$1" + fi + + local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + + if [ -L "${source}" ]; then + echo "Symlinked..." + source="$(readlink "${source}")" + fi + + # Use filter instead of exclude so missing patterns don't throw errors. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" + + local basename + basename="$(basename -s .framework "$1")" + binary="${destination}/${basename}.framework/${basename}" + + if ! [ -r "$binary" ]; then + binary="${destination}/${basename}" + elif [ -L "${binary}" ]; then + echo "Destination binary is symlinked..." + dirname="$(dirname "${binary}")" + binary="${dirname}/$(readlink "${binary}")" + fi + + # Strip invalid architectures so "fat" simulator / device frameworks work on device + if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then + strip_invalid_archs "$binary" + fi + + # Resign the code if required by the build settings to avoid unstable apps + code_sign_if_enabled "${destination}/$(basename "$1")" + + # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. + if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then + local swift_runtime_libs + swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u) + for lib in $swift_runtime_libs; do + echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" + rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" + code_sign_if_enabled "${destination}/${lib}" + done + fi +} + +# Copies and strips a vendored dSYM +install_dsym() { + local source="$1" + if [ -r "$source" ]; then + # Copy the dSYM into a the targets temp dir. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" + + local basename + basename="$(basename -s .framework.dSYM "$source")" + binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" + + # Strip invalid architectures so "fat" simulator / device frameworks work on device + if [[ "$(file "$binary")" == *"Mach-O "*"dSYM companion"* ]]; then + strip_invalid_archs "$binary" + fi + + if [[ $STRIP_BINARY_RETVAL == 1 ]]; then + # Move the stripped file into its final destination. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" + else + # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. + touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" + fi + fi +} + +# Copies the bcsymbolmap files of a vendored framework +install_bcsymbolmap() { + local bcsymbolmap_path="$1" + local destination="${BUILT_PRODUCTS_DIR}" + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}" +} + +# Signs a framework with the provided identity +code_sign_if_enabled() { + if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then + # Use the current code_sign_identity + echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" + local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" + + if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + code_sign_cmd="$code_sign_cmd &" + fi + echo "$code_sign_cmd" + eval "$code_sign_cmd" + fi +} + +# Strip invalid architectures +strip_invalid_archs() { + binary="$1" + # Get architectures for current target binary + binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" + # Intersect them with the architectures we are building for + intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" + # If there are no archs supported by this binary then warn the user + if [[ -z "$intersected_archs" ]]; then + echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." + STRIP_BINARY_RETVAL=0 + return + fi + stripped="" + for arch in $binary_archs; do + if ! [[ "${ARCHS}" == *"$arch"* ]]; then + # Strip non-valid architectures in-place + lipo -remove "$arch" -output "$binary" "$binary" + stripped="$stripped $arch" + fi + done + if [[ "$stripped" ]]; then + echo "Stripped $binary of architectures:$stripped" + fi + STRIP_BINARY_RETVAL=1 +} + + +if [[ "$CONFIGURATION" == "Debug" ]]; then + install_framework "${BUILT_PRODUCTS_DIR}/SVSwiper/SVSwiper.framework" +fi +if [[ "$CONFIGURATION" == "Release" ]]; then + install_framework "${BUILT_PRODUCTS_DIR}/SVSwiper/SVSwiper.framework" +fi +if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + wait +fi diff --git a/Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example-umbrella.h b/Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example-umbrella.h new file mode 100644 index 0000000..7c3dee7 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double Pods_SVSwiper_ExampleVersionNumber; +FOUNDATION_EXPORT const unsigned char Pods_SVSwiper_ExampleVersionString[]; + diff --git a/Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example.debug.xcconfig b/Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example.debug.xcconfig new file mode 100644 index 0000000..e17e2ac --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example.debug.xcconfig @@ -0,0 +1,11 @@ +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SVSwiper" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SVSwiper/SVSwiper.framework/Headers" +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_LDFLAGS = $(inherited) -framework "SVSwiper" +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example.modulemap b/Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example.modulemap new file mode 100644 index 0000000..ac92e6e --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example.modulemap @@ -0,0 +1,6 @@ +framework module Pods_SVSwiper_Example { + umbrella header "Pods-SVSwiper_Example-umbrella.h" + + export * + module * { export * } +} diff --git a/Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example.release.xcconfig b/Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example.release.xcconfig new file mode 100644 index 0000000..e17e2ac --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example.release.xcconfig @@ -0,0 +1,11 @@ +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SVSwiper" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SVSwiper/SVSwiper.framework/Headers" +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_LDFLAGS = $(inherited) -framework "SVSwiper" +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests-Info.plist b/Example/Pods/Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests-Info.plist new file mode 100644 index 0000000..2243fe6 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests-Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Example/Pods/Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests-acknowledgements.markdown new file mode 100644 index 0000000..102af75 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests-acknowledgements.markdown @@ -0,0 +1,3 @@ +# Acknowledgements +This application makes use of the following third party libraries: +Generated by CocoaPods - https://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests-acknowledgements.plist new file mode 100644 index 0000000..7acbad1 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests-acknowledgements.plist @@ -0,0 +1,29 @@ + + + + + PreferenceSpecifiers + + + FooterText + This application makes use of the following third party libraries: + Title + Acknowledgements + Type + PSGroupSpecifier + + + FooterText + Generated by CocoaPods - https://cocoapods.org + Title + + Type + PSGroupSpecifier + + + StringsTable + Acknowledgements + Title + Acknowledgements + + diff --git a/Example/Pods/Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests-dummy.m b/Example/Pods/Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests-dummy.m new file mode 100644 index 0000000..f32691a --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods_SVSwiper_Tests : NSObject +@end +@implementation PodsDummy_Pods_SVSwiper_Tests +@end diff --git a/Example/Pods/Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests-umbrella.h b/Example/Pods/Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests-umbrella.h new file mode 100644 index 0000000..98fce8e --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double Pods_SVSwiper_TestsVersionNumber; +FOUNDATION_EXPORT const unsigned char Pods_SVSwiper_TestsVersionString[]; + diff --git a/Example/Pods/Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests.debug.xcconfig b/Example/Pods/Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests.debug.xcconfig new file mode 100644 index 0000000..ecf8980 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests.debug.xcconfig @@ -0,0 +1,8 @@ +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SVSwiper" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SVSwiper/SVSwiper.framework/Headers" +OTHER_LDFLAGS = $(inherited) -framework "SVSwiper" +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests.modulemap b/Example/Pods/Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests.modulemap new file mode 100644 index 0000000..4da3898 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests.modulemap @@ -0,0 +1,6 @@ +framework module Pods_SVSwiper_Tests { + umbrella header "Pods-SVSwiper_Tests-umbrella.h" + + export * + module * { export * } +} diff --git a/Example/Pods/Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests.release.xcconfig b/Example/Pods/Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests.release.xcconfig new file mode 100644 index 0000000..ecf8980 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests.release.xcconfig @@ -0,0 +1,8 @@ +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SVSwiper" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SVSwiper/SVSwiper.framework/Headers" +OTHER_LDFLAGS = $(inherited) -framework "SVSwiper" +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/SVSwiper/SVSwiper-Info.plist b/Example/Pods/Target Support Files/SVSwiper/SVSwiper-Info.plist new file mode 100644 index 0000000..161a9d3 --- /dev/null +++ b/Example/Pods/Target Support Files/SVSwiper/SVSwiper-Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 0.1.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Example/Pods/Target Support Files/SVSwiper/SVSwiper-dummy.m b/Example/Pods/Target Support Files/SVSwiper/SVSwiper-dummy.m new file mode 100644 index 0000000..94d0597 --- /dev/null +++ b/Example/Pods/Target Support Files/SVSwiper/SVSwiper-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_SVSwiper : NSObject +@end +@implementation PodsDummy_SVSwiper +@end diff --git a/Example/Pods/Target Support Files/SVSwiper/SVSwiper-prefix.pch b/Example/Pods/Target Support Files/SVSwiper/SVSwiper-prefix.pch new file mode 100644 index 0000000..beb2a24 --- /dev/null +++ b/Example/Pods/Target Support Files/SVSwiper/SVSwiper-prefix.pch @@ -0,0 +1,12 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + diff --git a/Example/Pods/Target Support Files/SVSwiper/SVSwiper-umbrella.h b/Example/Pods/Target Support Files/SVSwiper/SVSwiper-umbrella.h new file mode 100644 index 0000000..2e9535d --- /dev/null +++ b/Example/Pods/Target Support Files/SVSwiper/SVSwiper-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double SVSwiperVersionNumber; +FOUNDATION_EXPORT const unsigned char SVSwiperVersionString[]; + diff --git a/Example/Pods/Target Support Files/SVSwiper/SVSwiper.modulemap b/Example/Pods/Target Support Files/SVSwiper/SVSwiper.modulemap new file mode 100644 index 0000000..4f98528 --- /dev/null +++ b/Example/Pods/Target Support Files/SVSwiper/SVSwiper.modulemap @@ -0,0 +1,6 @@ +framework module SVSwiper { + umbrella header "SVSwiper-umbrella.h" + + export * + module * { export * } +} diff --git a/Example/Pods/Target Support Files/SVSwiper/SVSwiper.xcconfig b/Example/Pods/Target Support Files/SVSwiper/SVSwiper.xcconfig new file mode 100644 index 0000000..9fd83ed --- /dev/null +++ b/Example/Pods/Target Support Files/SVSwiper/SVSwiper.xcconfig @@ -0,0 +1,9 @@ +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/SVSwiper +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT} +PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES diff --git a/Example/SVSwiper.xcodeproj/project.pbxproj b/Example/SVSwiper.xcodeproj/project.pbxproj index 2a56897..8c66f4a 100644 --- a/Example/SVSwiper.xcodeproj/project.pbxproj +++ b/Example/SVSwiper.xcodeproj/project.pbxproj @@ -7,6 +7,9 @@ objects = { /* Begin PBXBuildFile section */ + 4259B01023036E1B00A57B87 /* FirstController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4259B00F23036E1B00A57B87 /* FirstController.swift */; }; + 4259B01223036E4A00A57B87 /* SecondController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4259B01123036E4A00A57B87 /* SecondController.swift */; }; + 4259B01423036E6000A57B87 /* ThirdController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4259B01323036E6000A57B87 /* ThirdController.swift */; }; 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; }; 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; @@ -29,8 +32,11 @@ /* Begin PBXFileReference section */ 29B1189749BB412ADC284DAF /* Pods-SVSwiper_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SVSwiper_Example.debug.xcconfig"; path = "Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example.debug.xcconfig"; sourceTree = ""; }; - 2F0B40CF705C2B9EA64F64BA /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; - 47FCE380B8B82D3F096A5BF7 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; name = README.md; path = ../README.md; sourceTree = ""; }; + 2F0B40CF705C2B9EA64F64BA /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; + 4259B00F23036E1B00A57B87 /* FirstController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FirstController.swift; sourceTree = ""; }; + 4259B01123036E4A00A57B87 /* SecondController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SecondController.swift; sourceTree = ""; }; + 4259B01323036E6000A57B87 /* ThirdController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ThirdController.swift; sourceTree = ""; }; + 47FCE380B8B82D3F096A5BF7 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 607FACD01AFB9204008FA782 /* SVSwiper_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SVSwiper_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; @@ -44,7 +50,7 @@ 802B9F88476D2E834F88C14C /* Pods_SVSwiper_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SVSwiper_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 8044B3580039D497BC582D3E /* Pods-SVSwiper_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SVSwiper_Tests.debug.xcconfig"; path = "Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests.debug.xcconfig"; sourceTree = ""; }; 8A3ACA6B11768EC019D9EFCF /* Pods_SVSwiper_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SVSwiper_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 965DA76A02C9C2FE28D9FD37 /* SVSwiper.podspec */ = {isa = PBXFileReference; includeInIndex = 1; name = SVSwiper.podspec; path = ../SVSwiper.podspec; sourceTree = ""; }; + 965DA76A02C9C2FE28D9FD37 /* SVSwiper.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = SVSwiper.podspec; path = ../SVSwiper.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; E2380B5849BD3F64C6E0221A /* Pods-SVSwiper_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SVSwiper_Tests.release.xcconfig"; path = "Target Support Files/Pods-SVSwiper_Tests/Pods-SVSwiper_Tests.release.xcconfig"; sourceTree = ""; }; F25987E72D1F6CE05AA26219 /* Pods-SVSwiper_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SVSwiper_Example.release.xcconfig"; path = "Target Support Files/Pods-SVSwiper_Example/Pods-SVSwiper_Example.release.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ @@ -69,6 +75,16 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + 4259B00E23036E0800A57B87 /* SampleControllers */ = { + isa = PBXGroup; + children = ( + 4259B00F23036E1B00A57B87 /* FirstController.swift */, + 4259B01123036E4A00A57B87 /* SecondController.swift */, + 4259B01323036E6000A57B87 /* ThirdController.swift */, + ); + name = SampleControllers; + sourceTree = ""; + }; 607FACC71AFB9204008FA782 = { isa = PBXGroup; children = ( @@ -93,6 +109,7 @@ 607FACD21AFB9204008FA782 /* Example for SVSwiper */ = { isa = PBXGroup; children = ( + 4259B00E23036E0800A57B87 /* SampleControllers */, 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 607FACD71AFB9204008FA782 /* ViewController.swift */, 607FACD91AFB9204008FA782 /* Main.storyboard */, @@ -147,7 +164,6 @@ 8044B3580039D497BC582D3E /* Pods-SVSwiper_Tests.debug.xcconfig */, E2380B5849BD3F64C6E0221A /* Pods-SVSwiper_Tests.release.xcconfig */, ); - name = Pods; path = Pods; sourceTree = ""; }; @@ -208,15 +224,17 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 0830; - LastUpgradeCheck = 0830; + LastUpgradeCheck = 1030; ORGANIZATIONNAME = CocoaPods; TargetAttributes = { 607FACCF1AFB9204008FA782 = { CreatedOnToolsVersion = 6.3.1; + DevelopmentTeam = Z6YU2DE97Z; LastSwiftMigration = 0900; }; 607FACE41AFB9204008FA782 = { CreatedOnToolsVersion = 6.3.1; + DevelopmentTeam = Z6YU2DE97Z; LastSwiftMigration = 0900; TestTargetID = 607FACCF1AFB9204008FA782; }; @@ -224,7 +242,7 @@ }; buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "SVSwiper" */; compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; + developmentRegion = en; hasScannedForEncodings = 0; knownRegions = ( en, @@ -331,6 +349,9 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( + 4259B01023036E1B00A57B87 /* FirstController.swift in Sources */, + 4259B01423036E6000A57B87 /* ThirdController.swift in Sources */, + 4259B01223036E4A00A57B87 /* SecondController.swift in Sources */, 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */, 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, ); @@ -386,12 +407,14 @@ CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; @@ -419,7 +442,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.3; + IPHONEOS_DEPLOYMENT_TARGET = 10.3; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -439,12 +462,14 @@ CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; @@ -465,7 +490,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.3; + IPHONEOS_DEPLOYMENT_TARGET = 10.3; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; @@ -478,7 +503,9 @@ baseConfigurationReference = 29B1189749BB412ADC284DAF /* Pods-SVSwiper_Example.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + DEVELOPMENT_TEAM = Z6YU2DE97Z; INFOPLIST_FILE = SVSwiper/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; MODULE_NAME = ExampleApp; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; @@ -493,7 +520,9 @@ baseConfigurationReference = F25987E72D1F6CE05AA26219 /* Pods-SVSwiper_Example.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + DEVELOPMENT_TEAM = Z6YU2DE97Z; INFOPLIST_FILE = SVSwiper/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; MODULE_NAME = ExampleApp; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; @@ -507,6 +536,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = 8044B3580039D497BC582D3E /* Pods-SVSwiper_Tests.debug.xcconfig */; buildSettings = { + DEVELOPMENT_TEAM = Z6YU2DE97Z; FRAMEWORK_SEARCH_PATHS = ( "$(PLATFORM_DIR)/Developer/Library/Frameworks", "$(inherited)", @@ -529,6 +559,7 @@ isa = XCBuildConfiguration; baseConfigurationReference = E2380B5849BD3F64C6E0221A /* Pods-SVSwiper_Tests.release.xcconfig */; buildSettings = { + DEVELOPMENT_TEAM = Z6YU2DE97Z; FRAMEWORK_SEARCH_PATHS = ( "$(PLATFORM_DIR)/Developer/Library/Frameworks", "$(inherited)", diff --git a/Example/SVSwiper.xcodeproj/xcshareddata/xcschemes/SVSwiper-Example.xcscheme b/Example/SVSwiper.xcodeproj/xcshareddata/xcschemes/SVSwiper-Example.xcscheme index 87fe960..9380f2b 100644 --- a/Example/SVSwiper.xcodeproj/xcshareddata/xcschemes/SVSwiper-Example.xcscheme +++ b/Example/SVSwiper.xcodeproj/xcshareddata/xcschemes/SVSwiper-Example.xcscheme @@ -1,6 +1,6 @@ + + + + + + diff --git a/Example/SVSwiper.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Example/SVSwiper.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/Example/SVSwiper.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Example/SVSwiper/FirstController.swift b/Example/SVSwiper/FirstController.swift new file mode 100644 index 0000000..45807db --- /dev/null +++ b/Example/SVSwiper/FirstController.swift @@ -0,0 +1,16 @@ +// +// FirstViewController.swift +// SVSwiper_Example +// +// Created by Vinayak Sareen on 14/08/2019. +// Copyright © 2019 CocoaPods. All rights reserved. +// + +import UIKit + +class FirstController: UIViewController{ + override func viewDidLoad() { + super.viewDidLoad() + view.backgroundColor = #colorLiteral(red: 0.4666666687, green: 0.7647058964, blue: 0.2666666806, alpha: 1) + } +} diff --git a/Example/SVSwiper/SecondController.swift b/Example/SVSwiper/SecondController.swift new file mode 100644 index 0000000..825bf36 --- /dev/null +++ b/Example/SVSwiper/SecondController.swift @@ -0,0 +1,17 @@ +// +// SecondController.swift +// SVSwiper_Example +// +// Created by Vinayak Sareen on 14/08/2019. +// Copyright © 2019 CocoaPods. All rights reserved. +// + +import UIKit + +class SecondController: UIViewController{ + override func viewDidLoad() { + super.viewDidLoad() + view.backgroundColor = #colorLiteral(red: 0.2392156869, green: 0.6745098233, blue: 0.9686274529, alpha: 1) + } +} + diff --git a/Example/SVSwiper/ThirdController.swift b/Example/SVSwiper/ThirdController.swift new file mode 100644 index 0000000..f050a70 --- /dev/null +++ b/Example/SVSwiper/ThirdController.swift @@ -0,0 +1,18 @@ +// +// ThirdController.swift +// SVSwiper_Example +// +// Created by Vinayak Sareen on 14/08/2019. +// Copyright © 2019 CocoaPods. All rights reserved. +// + +import UIKit + +class ThirdController: UIViewController{ + + override func viewDidLoad() { + super.viewDidLoad() + view.backgroundColor = #colorLiteral(red: 0.9254902005, green: 0.2352941185, blue: 0.1019607857, alpha: 1) + } + +} diff --git a/Example/SVSwiper/ViewController.swift b/Example/SVSwiper/ViewController.swift index 5063d29..7837b06 100644 --- a/Example/SVSwiper/ViewController.swift +++ b/Example/SVSwiper/ViewController.swift @@ -7,18 +7,54 @@ // import UIKit +import SVSwiper class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() - // Do any additional setup after loading the view, typically from a nib. + view.backgroundColor = #colorLiteral(red: 1.0, green: 1.0, blue: 1.0, alpha: 1.0) + setupSVSwiperController() } + + + fileprivate func setupSVSwiperController(){ + let viewControllers = [FirstController(), SecondController(), ThirdController()] + let controller = SVSwiperController(viewControllers: viewControllers) + controller.delegate = self + self.addChildViewController(controller) + guard let cview = controller.view else { return } + view.addSubview(cview) + cview.fillSuperView() + } + +} + +extension ViewController: SVSwiperDelegate{ - override func didReceiveMemoryWarning() { - super.didReceiveMemoryWarning() - // Dispose of any resources that can be recreated. + func sizeForTitleBar() -> CGSize { + return .init(width: self.view.frame.width, height: 69) } + func titles() -> [String] { + return ["Home", "Subscribers", "Favourite"] + } + + func barColor() -> UIColor { + return #colorLiteral(red: 0.2392156869, green: 0.6745098233, blue: 0.9686274529, alpha: 1) + } + + func textColor() -> UIColor { + return #colorLiteral(red: 1, green: 1, blue: 1, alpha: 1) + } + + func titleTextColor() -> UIColor { + return #colorLiteral(red: 0.9254902005, green: 0.2352941185, blue: 0.1019607857, alpha: 1) + } + } + + + + diff --git a/SVSwiper/Classes/Constraints.swift b/SVSwiper/Classes/Constraints.swift new file mode 100644 index 0000000..67b180c --- /dev/null +++ b/SVSwiper/Classes/Constraints.swift @@ -0,0 +1,32 @@ +// +// Constraints.swift +// Pods-SVSwiper_Example +// +// Created by Vinayak Sareen on 14/08/2019. +// + +import UIKit + +// Credits: Brian Voong showed a way to use it. This extension is originally wrriten by Mr. Voong and I am using it for adding constraints in code easily. + + +public extension UIView{ + @available(iOS 9.0, *) + func fillSuperView (top: CGFloat=0, bottom: CGFloat=0, leading: CGFloat=0, trailing: CGFloat=0){ + self.translatesAutoresizingMaskIntoConstraints = false + guard let superView = self.superview else { return } + self.topAnchor.constraint(equalTo: superView.topAnchor, constant: top).isActive = true + self.bottomAnchor.constraint(equalTo: superView.bottomAnchor, constant: bottom).isActive = true + self.leadingAnchor.constraint(equalTo: superView.leadingAnchor, constant: leading).isActive = true + self.trailingAnchor.constraint(equalTo: superView.trailingAnchor, constant: trailing).isActive = true + } + @available(iOS 9.0, *) + func anchor(topAnchor: NSLayoutYAxisAnchor, bottomAnchor: NSLayoutYAxisAnchor, leadingAnchor: NSLayoutXAxisAnchor, trailingAnchor: NSLayoutXAxisAnchor, padding: UIEdgeInsets = .zero){ + self.translatesAutoresizingMaskIntoConstraints = false + self.topAnchor.constraint(equalTo: topAnchor, constant: padding.top) + self.bottomAnchor.constraint(equalTo: bottomAnchor, constant: padding.bottom) + self.leadingAnchor.constraint(equalTo: leadingAnchor, constant: padding.left) + self.trailingAnchor.constraint(equalTo: trailingAnchor, constant: padding.right) + } + +} diff --git a/SVSwiper/Classes/ReplaceMe.swift b/SVSwiper/Classes/ReplaceMe.swift deleted file mode 100644 index e69de29..0000000 diff --git a/SVSwiper/Classes/SVSwiperController.swift b/SVSwiper/Classes/SVSwiperController.swift new file mode 100644 index 0000000..971f400 --- /dev/null +++ b/SVSwiper/Classes/SVSwiperController.swift @@ -0,0 +1,178 @@ +// +// SVSwiperController.swift +// Pods +// +// Created by Vinayak Sareen on 14/08/2019. +// + +import UIKit + +public class SVSwiperController: UICollectionViewController, UICollectionViewDelegateFlowLayout{ + + + fileprivate let cellId = "cellId" + + public var delegate: SVSwiperDelegate?{ + didSet{ + selectedIndex = 0 + headerCell.backgroundColor = delegate?.barColor() + menuBarSize = delegate?.sizeForTitleBar() + collectionView?.reloadData() + } + } + + var viewControllers: [UIViewController]?{ + didSet{ + collectionView?.reloadData() + } + } + + + // Elements + let headerCell: UIView = { + let view = UIView() + return view + }() + + + override public func viewDidLoad() { + super.viewDidLoad() + + if #available(iOS 9.0, *) { + collectionViewSettings() + addStackView() + } + headerCellSetup() + setupLineBar() + } + + + var generatedLabels: [UIView]? + + var selectedIndex: Int? = 0{ + didSet{ + setupLineBar() + } + } + + + fileprivate func setupLineBar(){ + guard let generatedLabels = generatedLabels as? [UILabel] else { return } + guard let selectedIndex = selectedIndex else { return } + for label in generatedLabels{ + if (label != generatedLabels[selectedIndex]){ + label.font = UIFont.systemFont(ofSize: 20) + label.textColor = labelColor + } + } + generatedLabels[selectedIndex].font = UIFont.boldSystemFont(ofSize: 22) + generatedLabels[selectedIndex].textColor = titleLabelColor + } + + var menuBarSize: CGSize? + + fileprivate func headerCellSetup(){ + view.addSubview(headerCell) + + if #available(iOS 9.0, *) { + headerCell.anchor(topAnchor: view.topAnchor, bottomAnchor: view.bottomAnchor, leadingAnchor: view.leadingAnchor, trailingAnchor: view.trailingAnchor) + headerCell.widthAnchor.constraint(equalToConstant: menuBarSize?.width ?? view?.frame.width ?? 0).isActive = true + headerCell.heightAnchor.constraint(equalToConstant: menuBarSize?.height ?? 0).isActive = true // change this + } + } + + + + fileprivate func generateLabels(titles: [String], color: UIColor) -> [UIView]{ + var labels: [UILabel] = [UILabel]() + for title in titles{ + let label = UILabel() + label.text = title + label.textColor = labelColor + labels.append(label) + } + return labels + } + + var labelColor: UIColor? + var titleLabelColor: UIColor? + + + @available(iOS 9.0, *) + fileprivate func addStackView(){ + guard let titles = delegate?.titles() else { return } + let labelColor = delegate?.textColor() ?? UIColor.black + let titleLabelColor = delegate?.titleTextColor?() ?? UIColor.white + self.titleLabelColor = titleLabelColor + self.labelColor = labelColor + generatedLabels = generateLabels(titles: titles, color: labelColor) + guard let generatedLabels = generatedLabels else { return } + let stackView = UIStackView(arrangedSubviews: generatedLabels) + stackView.isLayoutMarginsRelativeArrangement = true + stackView.layoutMargins = .init(top: 0, left: 7, bottom: 0, right: 7) + stackView.distribution = .equalSpacing + stackView.alignment = .center + stackView.axis = .horizontal + self.headerCell.addSubview(stackView) + stackView.fillSuperView() + } + + + @available(iOS 9.0, *) + fileprivate func collectionViewSettings(){ + guard let collectionView = collectionView else { return } + guard let layout = collectionViewLayout as? UICollectionViewFlowLayout else { return } + collectionView.backgroundColor = #colorLiteral(red: 1.0, green: 1.0, blue: 1.0, alpha: 1.0) + collectionView.register(SVSwiperCustomCell.self, forCellWithReuseIdentifier: cellId) + collectionView.isPagingEnabled = true + collectionView.showsHorizontalScrollIndicator = false + layout.sectionHeadersPinToVisibleBounds = true + layout.scrollDirection = .horizontal + layout.sectionHeadersPinToVisibleBounds = true + + } + + override public func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int { + let value = viewControllers?.count ?? 0 + return value + } + + + + override public func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell { + let cell = collectionView.dequeueReusableCell(withReuseIdentifier: cellId, for: indexPath) as! SVSwiperCustomCell + + if let viewControllers = viewControllers{ + cell.viewController = viewControllers[indexPath.item] + } + + return cell + } + + override public func scrollViewWillEndDragging(_ scrollView: UIScrollView, withVelocity velocity: CGPoint, targetContentOffset: UnsafeMutablePointer) { + guard let collectionView = collectionView else { return } + let visibleIndex = Int(targetContentOffset.pointee.x / collectionView.frame.width) + selectedIndex = visibleIndex + } + + + + + public func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize { + return .init(width: self.view.frame.width, height: self.view.frame.height) + } + + public func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, minimumLineSpacingForSectionAt section: Int) -> CGFloat { + return 0 + } + + public init(viewControllers: [UIViewController]) { + super.init(collectionViewLayout: UICollectionViewFlowLayout()) + self.viewControllers = viewControllers + } + + required init?(coder aDecoder: NSCoder) { + fatalError("init(coder:) has not been implemented") + } +} + diff --git a/SVSwiper/Classes/SwiperDelegate.swift b/SVSwiper/Classes/SwiperDelegate.swift new file mode 100644 index 0000000..5b2a7ce --- /dev/null +++ b/SVSwiper/Classes/SwiperDelegate.swift @@ -0,0 +1,16 @@ +// +// SwiperDelegate.swift +// Pods +// +// Created by Vinayak Sareen on 14/08/2019. +// + +import Foundation + +@objc public protocol SVSwiperDelegate { + func titles() -> [String] + func barColor() -> UIColor + func textColor() -> UIColor + func sizeForTitleBar() -> CGSize + @objc optional func titleTextColor() -> UIColor +} diff --git a/SVSwiperCustomCell.swift b/SVSwiperCustomCell.swift new file mode 100644 index 0000000..8fb2d1f --- /dev/null +++ b/SVSwiperCustomCell.swift @@ -0,0 +1,38 @@ +// +// SVSwiperCustomCell.swift +// Pods +// +// Created by Vinayak Sareen on 14/08/2019. +// + +import UIKit + +class SVSwiperCustomCell: UICollectionViewCell{ + + var viewController: UIViewController?{ + didSet{ + setupViewControllers() + } + } + + override init(frame: CGRect) { + super.init(frame: frame) + setupViewControllers() + } + + + fileprivate func setupViewControllers(){ + guard let viewController = viewController else { return } + guard let childView = viewController.view else { return } + self.addSubview(childView) + if #available(iOS 9.0, *) { + childView.fillSuperView(top: 5) + } + } + + + + required init?(coder aDecoder: NSCoder) { + super.init(coder: aDecoder) + } +}