From 540c60ca1ffed9fe4d927271490a5d3af794bdc6 Mon Sep 17 00:00:00 2001 From: Sameer Nawaz Date: Wed, 7 Apr 2021 20:00:03 +0530 Subject: [PATCH] Add Source, Fortune and SpinWheel View --- .../FortuneWheel.xcodeproj/project.pbxproj | 12 +- .../contents.xcworkspacedata | 10 + .../xcshareddata/IDEWorkspaceChecks.plist | 8 + Example/Podfile | 2 +- Example/Podfile.lock | 16 + .../Local Podspecs/FortuneWheel.podspec.json | 22 + Example/Pods/Manifest.lock | 16 + Example/Pods/Pods.xcodeproj/project.pbxproj | 805 ++++++++++++++++++ .../FortuneWheel/FortuneWheel-Info.plist | 26 + .../FortuneWheel/FortuneWheel-dummy.m | 5 + .../FortuneWheel/FortuneWheel-prefix.pch | 12 + .../FortuneWheel/FortuneWheel-umbrella.h | 16 + .../FortuneWheel/FortuneWheel.debug.xcconfig | 12 + .../FortuneWheel/FortuneWheel.modulemap | 6 + .../FortuneWheel.release.xcconfig | 12 + .../Pods-FortuneWheel_Example-Info.plist | 26 + ...uneWheel_Example-acknowledgements.markdown | 26 + ...ortuneWheel_Example-acknowledgements.plist | 58 ++ .../Pods-FortuneWheel_Example-dummy.m | 5 + .../Pods-FortuneWheel_Example-frameworks.sh | 185 ++++ .../Pods-FortuneWheel_Example-umbrella.h | 16 + .../Pods-FortuneWheel_Example.debug.xcconfig | 14 + .../Pods-FortuneWheel_Example.modulemap | 6 + ...Pods-FortuneWheel_Example.release.xcconfig | 14 + .../Pods-FortuneWheel_Tests-Info.plist | 26 + ...rtuneWheel_Tests-acknowledgements.markdown | 3 + ...-FortuneWheel_Tests-acknowledgements.plist | 29 + .../Pods-FortuneWheel_Tests-dummy.m | 5 + .../Pods-FortuneWheel_Tests-umbrella.h | 16 + .../Pods-FortuneWheel_Tests.debug.xcconfig | 11 + .../Pods-FortuneWheel_Tests.modulemap | 6 + .../Pods-FortuneWheel_Tests.release.xcconfig | 11 + FortuneWheel.podspec | 2 +- FortuneWheel/Classes/ReplaceMe.swift | 0 Source/FortuneWheel.swift | 76 ++ Source/FortuneWheelViewModel.swift | 43 + Source/SpinWheel/SpinWheelCell.swift | 39 + Source/SpinWheel/SpinWheelView.swift | 61 ++ 38 files changed, 1650 insertions(+), 8 deletions(-) create mode 100644 Example/FortuneWheel.xcworkspace/contents.xcworkspacedata create mode 100644 Example/FortuneWheel.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 Example/Podfile.lock create mode 100644 Example/Pods/Local Podspecs/FortuneWheel.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/FortuneWheel/FortuneWheel-Info.plist create mode 100644 Example/Pods/Target Support Files/FortuneWheel/FortuneWheel-dummy.m create mode 100644 Example/Pods/Target Support Files/FortuneWheel/FortuneWheel-prefix.pch create mode 100644 Example/Pods/Target Support Files/FortuneWheel/FortuneWheel-umbrella.h create mode 100644 Example/Pods/Target Support Files/FortuneWheel/FortuneWheel.debug.xcconfig create mode 100644 Example/Pods/Target Support Files/FortuneWheel/FortuneWheel.modulemap create mode 100644 Example/Pods/Target Support Files/FortuneWheel/FortuneWheel.release.xcconfig create mode 100644 Example/Pods/Target Support Files/Pods-FortuneWheel_Example/Pods-FortuneWheel_Example-Info.plist create mode 100644 Example/Pods/Target Support Files/Pods-FortuneWheel_Example/Pods-FortuneWheel_Example-acknowledgements.markdown create mode 100644 Example/Pods/Target Support Files/Pods-FortuneWheel_Example/Pods-FortuneWheel_Example-acknowledgements.plist create mode 100644 Example/Pods/Target Support Files/Pods-FortuneWheel_Example/Pods-FortuneWheel_Example-dummy.m create mode 100755 Example/Pods/Target Support Files/Pods-FortuneWheel_Example/Pods-FortuneWheel_Example-frameworks.sh create mode 100644 Example/Pods/Target Support Files/Pods-FortuneWheel_Example/Pods-FortuneWheel_Example-umbrella.h create mode 100644 Example/Pods/Target Support Files/Pods-FortuneWheel_Example/Pods-FortuneWheel_Example.debug.xcconfig create mode 100644 Example/Pods/Target Support Files/Pods-FortuneWheel_Example/Pods-FortuneWheel_Example.modulemap create mode 100644 Example/Pods/Target Support Files/Pods-FortuneWheel_Example/Pods-FortuneWheel_Example.release.xcconfig create mode 100644 Example/Pods/Target Support Files/Pods-FortuneWheel_Tests/Pods-FortuneWheel_Tests-Info.plist create mode 100644 Example/Pods/Target Support Files/Pods-FortuneWheel_Tests/Pods-FortuneWheel_Tests-acknowledgements.markdown create mode 100644 Example/Pods/Target Support Files/Pods-FortuneWheel_Tests/Pods-FortuneWheel_Tests-acknowledgements.plist create mode 100644 Example/Pods/Target Support Files/Pods-FortuneWheel_Tests/Pods-FortuneWheel_Tests-dummy.m create mode 100644 Example/Pods/Target Support Files/Pods-FortuneWheel_Tests/Pods-FortuneWheel_Tests-umbrella.h create mode 100644 Example/Pods/Target Support Files/Pods-FortuneWheel_Tests/Pods-FortuneWheel_Tests.debug.xcconfig create mode 100644 Example/Pods/Target Support Files/Pods-FortuneWheel_Tests/Pods-FortuneWheel_Tests.modulemap create mode 100644 Example/Pods/Target Support Files/Pods-FortuneWheel_Tests/Pods-FortuneWheel_Tests.release.xcconfig delete mode 100644 FortuneWheel/Classes/ReplaceMe.swift create mode 100644 Source/FortuneWheel.swift create mode 100644 Source/FortuneWheelViewModel.swift create mode 100644 Source/SpinWheel/SpinWheelCell.swift create mode 100644 Source/SpinWheel/SpinWheelView.swift diff --git a/Example/FortuneWheel.xcodeproj/project.pbxproj b/Example/FortuneWheel.xcodeproj/project.pbxproj index 017cead..cb539de 100644 --- a/Example/FortuneWheel.xcodeproj/project.pbxproj +++ b/Example/FortuneWheel.xcodeproj/project.pbxproj @@ -28,11 +28,11 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ - 0759F59319BA8CF6C2641179 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; + 0759F59319BA8CF6C2641179 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 18767F647EFF1BA5C1558BBB /* Pods_FortuneWheel_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_FortuneWheel_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 2708F23E7D2A2125A4E4DD15 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; name = README.md; path = ../README.md; sourceTree = ""; }; + 2708F23E7D2A2125A4E4DD15 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 31372643FBB8ABF62BC2A375 /* Pods_FortuneWheel_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_FortuneWheel_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 42F18EE2AC75AD6092567D95 /* FortuneWheel.podspec */ = {isa = PBXFileReference; includeInIndex = 1; name = FortuneWheel.podspec; path = ../FortuneWheel.podspec; sourceTree = ""; }; + 42F18EE2AC75AD6092567D95 /* FortuneWheel.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = FortuneWheel.podspec; path = ../FortuneWheel.podspec; sourceTree = ""; }; 5738BAF7D5DAEAE1CD8AF682 /* Pods-FortuneWheel_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FortuneWheel_Tests.release.xcconfig"; path = "Target Support Files/Pods-FortuneWheel_Tests/Pods-FortuneWheel_Tests.release.xcconfig"; sourceTree = ""; }; 607FACD01AFB9204008FA782 /* FortuneWheel_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = FortuneWheel_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; @@ -156,7 +156,6 @@ E83FBBF3CAD777A334F4BBC6 /* Pods-FortuneWheel_Tests.debug.xcconfig */, 5738BAF7D5DAEAE1CD8AF682 /* Pods-FortuneWheel_Tests.release.xcconfig */, ); - name = Pods; path = Pods; sourceTree = ""; }; @@ -227,6 +226,7 @@ developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( + English, en, Base, ); @@ -419,7 +419,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 = 13.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -465,7 +465,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 = 13.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; diff --git a/Example/FortuneWheel.xcworkspace/contents.xcworkspacedata b/Example/FortuneWheel.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..976d872 --- /dev/null +++ b/Example/FortuneWheel.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/Example/FortuneWheel.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Example/FortuneWheel.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/Example/FortuneWheel.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Example/Podfile b/Example/Podfile index 024a1d5..fcb42e3 100644 --- a/Example/Podfile +++ b/Example/Podfile @@ -1,6 +1,6 @@ use_frameworks! -platform :ios, '9.0' +platform :ios, '13.0' target 'FortuneWheel_Example' do pod 'FortuneWheel', :path => '../' diff --git a/Example/Podfile.lock b/Example/Podfile.lock new file mode 100644 index 0000000..0b4f9cc --- /dev/null +++ b/Example/Podfile.lock @@ -0,0 +1,16 @@ +PODS: + - FortuneWheel (0.1.0) + +DEPENDENCIES: + - FortuneWheel (from `../`) + +EXTERNAL SOURCES: + FortuneWheel: + :path: "../" + +SPEC CHECKSUMS: + FortuneWheel: 856cb9762eb832d0fc31d2365618233d25808716 + +PODFILE CHECKSUM: 6ba86c8c2ecfe2dcce509cd80b66e0ace54df756 + +COCOAPODS: 1.10.1 diff --git a/Example/Pods/Local Podspecs/FortuneWheel.podspec.json b/Example/Pods/Local Podspecs/FortuneWheel.podspec.json new file mode 100644 index 0000000..0f744e3 --- /dev/null +++ b/Example/Pods/Local Podspecs/FortuneWheel.podspec.json @@ -0,0 +1,22 @@ +{ + "name": "FortuneWheel", + "version": "0.1.0", + "summary": "A short description of FortuneWheel.", + "description": "TODO: Add long description of the pod here.", + "homepage": "https://github.com/sameersyd/FortuneWheel", + "license": { + "type": "MIT", + "file": "LICENSE" + }, + "authors": { + "sameersyd": "sameer.nwaz@gmail.com" + }, + "source": { + "git": "https://github.com/sameersyd/FortuneWheel.git", + "tag": "0.1.0" + }, + "platforms": { + "ios": "9.0" + }, + "source_files": "FortuneWheel/Classes/**/*" +} diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock new file mode 100644 index 0000000..0b4f9cc --- /dev/null +++ b/Example/Pods/Manifest.lock @@ -0,0 +1,16 @@ +PODS: + - FortuneWheel (0.1.0) + +DEPENDENCIES: + - FortuneWheel (from `../`) + +EXTERNAL SOURCES: + FortuneWheel: + :path: "../" + +SPEC CHECKSUMS: + FortuneWheel: 856cb9762eb832d0fc31d2365618233d25808716 + +PODFILE CHECKSUM: 6ba86c8c2ecfe2dcce509cd80b66e0ace54df756 + +COCOAPODS: 1.10.1 diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj new file mode 100644 index 0000000..20d36ae --- /dev/null +++ b/Example/Pods/Pods.xcodeproj/project.pbxproj @@ -0,0 +1,805 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 2073E3DB26406A860A0D9D20ABC6F717 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */; }; + 5E6C5AC34B45C5EF7155DAD81AEF7152 /* Pods-FortuneWheel_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 5805CDD137A227096819B670FE8BC83B /* Pods-FortuneWheel_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 73935339261DF06000302828 /* FortuneWheel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 73935338261DF06000302828 /* FortuneWheel.swift */; }; + 73935340261DF0EF00302828 /* SpinWheelCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7393533F261DF0EF00302828 /* SpinWheelCell.swift */; }; + 73935345261DF15E00302828 /* SpinWheelView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 73935344261DF15E00302828 /* SpinWheelView.swift */; }; + 7393534A261DF36900302828 /* FortuneWheelViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 73935349261DF36900302828 /* FortuneWheelViewModel.swift */; }; + 800E364F17F9B5177499F65AEEE85F49 /* FortuneWheel-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = FC8F22196C0F35B78FEC821B478539EB /* FortuneWheel-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 970CACFC1BCE6450ED1A364EFE6605DD /* Pods-FortuneWheel_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 6F8909AFE1A5A7AD53EFDAB0BB32FBFF /* Pods-FortuneWheel_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 99957E74B352AA0EE37CD119D2E7E61E /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */; }; + B92B4EFD30D15B3884900F03445130F4 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */; }; + F05328E54CC97D042D5D24474AE17943 /* Pods-FortuneWheel_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = ED0A0CD3E9DD333F036090E1CAD9A7A8 /* Pods-FortuneWheel_Example-dummy.m */; }; + F2049B6BF83957241779567CE3F36209 /* Pods-FortuneWheel_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 305A1DB41714D668E6492DE8838122F7 /* Pods-FortuneWheel_Tests-dummy.m */; }; + FD7EB52082E6FA1A4CCD74AA51A5F288 /* FortuneWheel-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = DC70246C1D185936088F4C19DA91EC53 /* FortuneWheel-dummy.m */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 5C0E665BF631BB7710358CC32316E45A /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 78492F3F3433740D903B75C48B1CF6BF; + remoteInfo = "Pods-FortuneWheel_Example"; + }; + 7F33E68B239EBFD0BC6E9900B406B77A /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 951E74A640395325222A87D6F7AE5D91; + remoteInfo = FortuneWheel; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 1827B83F4A58AC9F7477BDFEB4A3C818 /* FortuneWheel-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "FortuneWheel-Info.plist"; sourceTree = ""; }; + 305A1DB41714D668E6492DE8838122F7 /* Pods-FortuneWheel_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-FortuneWheel_Tests-dummy.m"; sourceTree = ""; }; + 3186844E4DAA689E5846E9904DC0B391 /* FortuneWheel.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = FortuneWheel.modulemap; sourceTree = ""; }; + 3C81E9241652F71ECAE74F7987420568 /* Pods-FortuneWheel_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-FortuneWheel_Tests.debug.xcconfig"; sourceTree = ""; }; + 3D3DB05F4F0D1531CBCAFFD653F54417 /* Pods-FortuneWheel_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-FortuneWheel_Example.release.xcconfig"; sourceTree = ""; }; + 46590EF394C1B50D5573EED5BAEC79D6 /* Pods-FortuneWheel_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-FortuneWheel_Tests-acknowledgements.markdown"; sourceTree = ""; }; + 5805CDD137A227096819B670FE8BC83B /* Pods-FortuneWheel_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-FortuneWheel_Tests-umbrella.h"; sourceTree = ""; }; + 6B81626AF8C6A5B859613BF166C32D3C /* Pods-FortuneWheel_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-FortuneWheel_Tests.modulemap"; sourceTree = ""; }; + 6E9B191160A1BBED3424ACA6AE6FE1AF /* Pods_FortuneWheel_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_FortuneWheel_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 6F8909AFE1A5A7AD53EFDAB0BB32FBFF /* Pods-FortuneWheel_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-FortuneWheel_Example-umbrella.h"; sourceTree = ""; }; + 72564A10841D6E8BAEC65ED3CE71FC08 /* FortuneWheel.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = FortuneWheel.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; + 73935338261DF06000302828 /* FortuneWheel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FortuneWheel.swift; sourceTree = ""; }; + 7393533F261DF0EF00302828 /* SpinWheelCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SpinWheelCell.swift; sourceTree = ""; }; + 73935344261DF15E00302828 /* SpinWheelView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SpinWheelView.swift; sourceTree = ""; }; + 73935349261DF36900302828 /* FortuneWheelViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FortuneWheelViewModel.swift; sourceTree = ""; }; + 79D6BCF3CDA2CF96AC7EF98397A04C8A /* FortuneWheel.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; path = FortuneWheel.podspec; sourceTree = ""; tabWidth = 2; }; + 8ADE086325FA16DE0BD25B8BD5E4F5E8 /* Pods-FortuneWheel_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-FortuneWheel_Example-acknowledgements.plist"; sourceTree = ""; }; + 8E0276A496A58FF808AE89189D2F045A /* FortuneWheel.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = FortuneWheel.release.xcconfig; sourceTree = ""; }; + 9A5CFC9DCC4224844D732AF806656FDB /* Pods-FortuneWheel_Tests-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-FortuneWheel_Tests-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; }; + A151DCCC6B0C4EE631EF091E5E46ED53 /* Pods-FortuneWheel_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-FortuneWheel_Tests.release.xcconfig"; sourceTree = ""; }; + A1637E83AEF6E5417D7C2BA3CBEE084D /* Pods-FortuneWheel_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-FortuneWheel_Example-acknowledgements.markdown"; sourceTree = ""; }; + A5D3FBAD247F15D31E8DC449682817C9 /* FortuneWheel.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = FortuneWheel.debug.xcconfig; sourceTree = ""; }; + B05B192A3326CDE6ADBC5615660AB23D /* Pods-FortuneWheel_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-FortuneWheel_Tests-acknowledgements.plist"; sourceTree = ""; }; + B29ADB6468254633C631B0E9F66092C0 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; + BEE71C6998A36A6DB97D29AFC714BB90 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; + C90318050AF9A2599D224C1B1D2E0F09 /* Pods_FortuneWheel_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_FortuneWheel_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + CD678F43B604F3DBD7C49AE99C4FF1A5 /* FortuneWheel-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "FortuneWheel-prefix.pch"; sourceTree = ""; }; + D1E2509AADE87375B741317A9CF6BC95 /* Pods-FortuneWheel_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-FortuneWheel_Example.modulemap"; sourceTree = ""; }; + DC70246C1D185936088F4C19DA91EC53 /* FortuneWheel-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "FortuneWheel-dummy.m"; sourceTree = ""; }; + DE70F93653292D4553E57B9EA322EB0F /* Pods-FortuneWheel_Example-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-FortuneWheel_Example-Info.plist"; sourceTree = ""; }; + ED0A0CD3E9DD333F036090E1CAD9A7A8 /* Pods-FortuneWheel_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-FortuneWheel_Example-dummy.m"; sourceTree = ""; }; + EFFFA22AEC88200D72CFFBACFDB46A9A /* Pods-FortuneWheel_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-FortuneWheel_Example-frameworks.sh"; sourceTree = ""; }; + F700111C77627B63FF68C8FDC8D9D517 /* Pods-FortuneWheel_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-FortuneWheel_Example.debug.xcconfig"; sourceTree = ""; }; + FC8F22196C0F35B78FEC821B478539EB /* FortuneWheel-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "FortuneWheel-umbrella.h"; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 6EC8F703DE44A84F9CF3C7AEE703FE90 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + B92B4EFD30D15B3884900F03445130F4 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 8DBA6A41FFBF0091FB8C569B2F5CF9B1 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 2073E3DB26406A860A0D9D20ABC6F717 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B948AAD1556F62F191DE20AFDA7CDEDD /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 99957E74B352AA0EE37CD119D2E7E61E /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 2DA6ADDA4DED4C5E53B6391991EF3A30 /* Products */ = { + isa = PBXGroup; + children = ( + 72564A10841D6E8BAEC65ED3CE71FC08 /* FortuneWheel.framework */, + 6E9B191160A1BBED3424ACA6AE6FE1AF /* Pods_FortuneWheel_Example.framework */, + C90318050AF9A2599D224C1B1D2E0F09 /* Pods_FortuneWheel_Tests.framework */, + ); + name = Products; + sourceTree = ""; + }; + 35030220E6E940DC24B6E8BC26E00B5C /* Targets Support Files */ = { + isa = PBXGroup; + children = ( + 6D06600F2970FE5DE06E1AB30C225082 /* Pods-FortuneWheel_Example */, + E00E80091576BA5DC4B5742859149D6B /* Pods-FortuneWheel_Tests */, + ); + name = "Targets Support Files"; + sourceTree = ""; + }; + 578452D2E740E91742655AC8F1636D1F /* iOS */ = { + isa = PBXGroup; + children = ( + 73010CC983E3809BECEE5348DA1BB8C6 /* Foundation.framework */, + ); + name = iOS; + sourceTree = ""; + }; + 6D06600F2970FE5DE06E1AB30C225082 /* Pods-FortuneWheel_Example */ = { + isa = PBXGroup; + children = ( + D1E2509AADE87375B741317A9CF6BC95 /* Pods-FortuneWheel_Example.modulemap */, + A1637E83AEF6E5417D7C2BA3CBEE084D /* Pods-FortuneWheel_Example-acknowledgements.markdown */, + 8ADE086325FA16DE0BD25B8BD5E4F5E8 /* Pods-FortuneWheel_Example-acknowledgements.plist */, + ED0A0CD3E9DD333F036090E1CAD9A7A8 /* Pods-FortuneWheel_Example-dummy.m */, + EFFFA22AEC88200D72CFFBACFDB46A9A /* Pods-FortuneWheel_Example-frameworks.sh */, + DE70F93653292D4553E57B9EA322EB0F /* Pods-FortuneWheel_Example-Info.plist */, + 6F8909AFE1A5A7AD53EFDAB0BB32FBFF /* Pods-FortuneWheel_Example-umbrella.h */, + F700111C77627B63FF68C8FDC8D9D517 /* Pods-FortuneWheel_Example.debug.xcconfig */, + 3D3DB05F4F0D1531CBCAFFD653F54417 /* Pods-FortuneWheel_Example.release.xcconfig */, + ); + name = "Pods-FortuneWheel_Example"; + path = "Target Support Files/Pods-FortuneWheel_Example"; + sourceTree = ""; + }; + 7393531B261DEF0600302828 /* Source */ = { + isa = PBXGroup; + children = ( + 7393533E261DF0CF00302828 /* SpinWheel */, + 73935338261DF06000302828 /* FortuneWheel.swift */, + 73935349261DF36900302828 /* FortuneWheelViewModel.swift */, + ); + path = Source; + sourceTree = ""; + }; + 7393533E261DF0CF00302828 /* SpinWheel */ = { + isa = PBXGroup; + children = ( + 7393533F261DF0EF00302828 /* SpinWheelCell.swift */, + 73935344261DF15E00302828 /* SpinWheelView.swift */, + ); + path = SpinWheel; + sourceTree = ""; + }; + 7B1DEFFB94A377AC8FBF55072F2F875E /* Pod */ = { + isa = PBXGroup; + children = ( + 79D6BCF3CDA2CF96AC7EF98397A04C8A /* FortuneWheel.podspec */, + BEE71C6998A36A6DB97D29AFC714BB90 /* LICENSE */, + B29ADB6468254633C631B0E9F66092C0 /* README.md */, + ); + name = Pod; + sourceTree = ""; + }; + 7D913ABA5B1CFA10F41878CAD0468426 /* Support Files */ = { + isa = PBXGroup; + children = ( + 3186844E4DAA689E5846E9904DC0B391 /* FortuneWheel.modulemap */, + DC70246C1D185936088F4C19DA91EC53 /* FortuneWheel-dummy.m */, + 1827B83F4A58AC9F7477BDFEB4A3C818 /* FortuneWheel-Info.plist */, + CD678F43B604F3DBD7C49AE99C4FF1A5 /* FortuneWheel-prefix.pch */, + FC8F22196C0F35B78FEC821B478539EB /* FortuneWheel-umbrella.h */, + A5D3FBAD247F15D31E8DC449682817C9 /* FortuneWheel.debug.xcconfig */, + 8E0276A496A58FF808AE89189D2F045A /* FortuneWheel.release.xcconfig */, + ); + name = "Support Files"; + path = "Example/Pods/Target Support Files/FortuneWheel"; + sourceTree = ""; + }; + 7F3F3A6726E0D60D66F6E1A06E8ACA29 /* FortuneWheel */ = { + isa = PBXGroup; + children = ( + 7393531B261DEF0600302828 /* Source */, + 7B1DEFFB94A377AC8FBF55072F2F875E /* Pod */, + 7D913ABA5B1CFA10F41878CAD0468426 /* Support Files */, + ); + name = FortuneWheel; + path = ../..; + sourceTree = ""; + }; + CF1408CF629C7361332E53B88F7BD30C = { + isa = PBXGroup; + children = ( + 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */, + D1D6B196231AE8BC31FE9262C10E8531 /* Development Pods */, + D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */, + 2DA6ADDA4DED4C5E53B6391991EF3A30 /* Products */, + 35030220E6E940DC24B6E8BC26E00B5C /* Targets Support Files */, + ); + sourceTree = ""; + }; + D1D6B196231AE8BC31FE9262C10E8531 /* Development Pods */ = { + isa = PBXGroup; + children = ( + 7F3F3A6726E0D60D66F6E1A06E8ACA29 /* FortuneWheel */, + ); + name = "Development Pods"; + sourceTree = ""; + }; + D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 578452D2E740E91742655AC8F1636D1F /* iOS */, + ); + name = Frameworks; + sourceTree = ""; + }; + E00E80091576BA5DC4B5742859149D6B /* Pods-FortuneWheel_Tests */ = { + isa = PBXGroup; + children = ( + 6B81626AF8C6A5B859613BF166C32D3C /* Pods-FortuneWheel_Tests.modulemap */, + 46590EF394C1B50D5573EED5BAEC79D6 /* Pods-FortuneWheel_Tests-acknowledgements.markdown */, + B05B192A3326CDE6ADBC5615660AB23D /* Pods-FortuneWheel_Tests-acknowledgements.plist */, + 305A1DB41714D668E6492DE8838122F7 /* Pods-FortuneWheel_Tests-dummy.m */, + 9A5CFC9DCC4224844D732AF806656FDB /* Pods-FortuneWheel_Tests-Info.plist */, + 5805CDD137A227096819B670FE8BC83B /* Pods-FortuneWheel_Tests-umbrella.h */, + 3C81E9241652F71ECAE74F7987420568 /* Pods-FortuneWheel_Tests.debug.xcconfig */, + A151DCCC6B0C4EE631EF091E5E46ED53 /* Pods-FortuneWheel_Tests.release.xcconfig */, + ); + name = "Pods-FortuneWheel_Tests"; + path = "Target Support Files/Pods-FortuneWheel_Tests"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 2A0D439AC980494A9F2C66607CF5F064 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 800E364F17F9B5177499F65AEEE85F49 /* FortuneWheel-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B65930308EFB4A5F92854328DFCA9295 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 970CACFC1BCE6450ED1A364EFE6605DD /* Pods-FortuneWheel_Example-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + F71A618EFAAC4D89F9E531F6FB151BE0 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 5E6C5AC34B45C5EF7155DAD81AEF7152 /* Pods-FortuneWheel_Tests-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 78492F3F3433740D903B75C48B1CF6BF /* Pods-FortuneWheel_Example */ = { + isa = PBXNativeTarget; + buildConfigurationList = D786EFF46F2E61F0531BE64EA3307EED /* Build configuration list for PBXNativeTarget "Pods-FortuneWheel_Example" */; + buildPhases = ( + B65930308EFB4A5F92854328DFCA9295 /* Headers */, + 7F8858AFDCF86AC856B5796A2E2E1415 /* Sources */, + 8DBA6A41FFBF0091FB8C569B2F5CF9B1 /* Frameworks */, + 8B08D63DE5AC6BA3D8069A7A80135812 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 73745FBFC4103A1CC8980237CA1B24D9 /* PBXTargetDependency */, + ); + name = "Pods-FortuneWheel_Example"; + productName = "Pods-FortuneWheel_Example"; + productReference = 6E9B191160A1BBED3424ACA6AE6FE1AF /* Pods_FortuneWheel_Example.framework */; + productType = "com.apple.product-type.framework"; + }; + 951E74A640395325222A87D6F7AE5D91 /* FortuneWheel */ = { + isa = PBXNativeTarget; + buildConfigurationList = 5E5F5BF86B7ED569DE937CC64D671979 /* Build configuration list for PBXNativeTarget "FortuneWheel" */; + buildPhases = ( + 2A0D439AC980494A9F2C66607CF5F064 /* Headers */, + C777FD246A00ABCB1DAD07B3943625C2 /* Sources */, + B948AAD1556F62F191DE20AFDA7CDEDD /* Frameworks */, + 63816F6346CD065BFB4E4A23C92729C9 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = FortuneWheel; + productName = FortuneWheel; + productReference = 72564A10841D6E8BAEC65ED3CE71FC08 /* FortuneWheel.framework */; + productType = "com.apple.product-type.framework"; + }; + D06A7057B0B0D8BE5E6BD0463C93A8FC /* Pods-FortuneWheel_Tests */ = { + isa = PBXNativeTarget; + buildConfigurationList = FEC90C2D71EB9C30F05A2EC21111A8D2 /* Build configuration list for PBXNativeTarget "Pods-FortuneWheel_Tests" */; + buildPhases = ( + F71A618EFAAC4D89F9E531F6FB151BE0 /* Headers */, + 6406127AB9306D6AFD5B967DD1DA1ACB /* Sources */, + 6EC8F703DE44A84F9CF3C7AEE703FE90 /* Frameworks */, + 171AB527E70404BBA32C4804013B1F12 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + A8E198C6F5C431568AC4D7422D68170C /* PBXTargetDependency */, + ); + name = "Pods-FortuneWheel_Tests"; + productName = "Pods-FortuneWheel_Tests"; + productReference = C90318050AF9A2599D224C1B1D2E0F09 /* Pods_FortuneWheel_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 = { + 951E74A640395325222A87D6F7AE5D91 = { + LastSwiftMigration = 1240; + }; + }; + }; + buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = CF1408CF629C7361332E53B88F7BD30C; + productRefGroup = 2DA6ADDA4DED4C5E53B6391991EF3A30 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 951E74A640395325222A87D6F7AE5D91 /* FortuneWheel */, + 78492F3F3433740D903B75C48B1CF6BF /* Pods-FortuneWheel_Example */, + D06A7057B0B0D8BE5E6BD0463C93A8FC /* Pods-FortuneWheel_Tests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 171AB527E70404BBA32C4804013B1F12 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 63816F6346CD065BFB4E4A23C92729C9 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 8B08D63DE5AC6BA3D8069A7A80135812 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 6406127AB9306D6AFD5B967DD1DA1ACB /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + F2049B6BF83957241779567CE3F36209 /* Pods-FortuneWheel_Tests-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 7F8858AFDCF86AC856B5796A2E2E1415 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + F05328E54CC97D042D5D24474AE17943 /* Pods-FortuneWheel_Example-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C777FD246A00ABCB1DAD07B3943625C2 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 7393534A261DF36900302828 /* FortuneWheelViewModel.swift in Sources */, + 73935345261DF15E00302828 /* SpinWheelView.swift in Sources */, + 73935340261DF0EF00302828 /* SpinWheelCell.swift in Sources */, + FD7EB52082E6FA1A4CCD74AA51A5F288 /* FortuneWheel-dummy.m in Sources */, + 73935339261DF06000302828 /* FortuneWheel.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 73745FBFC4103A1CC8980237CA1B24D9 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = FortuneWheel; + target = 951E74A640395325222A87D6F7AE5D91 /* FortuneWheel */; + targetProxy = 7F33E68B239EBFD0BC6E9900B406B77A /* PBXContainerItemProxy */; + }; + A8E198C6F5C431568AC4D7422D68170C /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "Pods-FortuneWheel_Example"; + target = 78492F3F3433740D903B75C48B1CF6BF /* Pods-FortuneWheel_Example */; + targetProxy = 5C0E665BF631BB7710358CC32316E45A /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 15140296DD544C0CF58BF33D78232FC1 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = F700111C77627B63FF68C8FDC8D9D517 /* Pods-FortuneWheel_Example.debug.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + "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-FortuneWheel_Example/Pods-FortuneWheel_Example-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-FortuneWheel_Example/Pods-FortuneWheel_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; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 25AD9454612BF454A1E3DC4CD4FA8C6D /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + 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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + 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 = 13.0; + 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; + }; + 355060857EE032B5F36FF525FAD46C32 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = A5D3FBAD247F15D31E8DC449682817C9 /* FortuneWheel.debug.xcconfig */; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + "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/FortuneWheel/FortuneWheel-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/FortuneWheel/FortuneWheel-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/FortuneWheel/FortuneWheel.modulemap"; + PRODUCT_MODULE_NAME = FortuneWheel; + PRODUCT_NAME = FortuneWheel; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 512F8385DB67FEF04794A509E88AC1ED /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 3D3DB05F4F0D1531CBCAFFD653F54417 /* Pods-FortuneWheel_Example.release.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + "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-FortuneWheel_Example/Pods-FortuneWheel_Example-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-FortuneWheel_Example/Pods-FortuneWheel_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; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 8AE5451B21E3DCF7AF80D0A08358849E /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = A151DCCC6B0C4EE631EF091E5E46ED53 /* Pods-FortuneWheel_Tests.release.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + "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-FortuneWheel_Tests/Pods-FortuneWheel_Tests-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-FortuneWheel_Tests/Pods-FortuneWheel_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; + }; + B216F196C84BFE829BD8EA818BB4AC5A /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 8E0276A496A58FF808AE89189D2F045A /* FortuneWheel.release.xcconfig */; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + "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/FortuneWheel/FortuneWheel-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/FortuneWheel/FortuneWheel-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/FortuneWheel/FortuneWheel.modulemap"; + PRODUCT_MODULE_NAME = FortuneWheel; + PRODUCT_NAME = FortuneWheel; + 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; + }; + CA547D2C7E9A8A153DC2B27FBE00B112 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + 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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + 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 = 13.0; + 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; + }; + E94A79C0CB588C2AAA8E37A67832D702 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 3C81E9241652F71ECAE74F7987420568 /* Pods-FortuneWheel_Tests.debug.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + "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-FortuneWheel_Tests/Pods-FortuneWheel_Tests-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-FortuneWheel_Tests/Pods-FortuneWheel_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; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 25AD9454612BF454A1E3DC4CD4FA8C6D /* Debug */, + CA547D2C7E9A8A153DC2B27FBE00B112 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 5E5F5BF86B7ED569DE937CC64D671979 /* Build configuration list for PBXNativeTarget "FortuneWheel" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 355060857EE032B5F36FF525FAD46C32 /* Debug */, + B216F196C84BFE829BD8EA818BB4AC5A /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + D786EFF46F2E61F0531BE64EA3307EED /* Build configuration list for PBXNativeTarget "Pods-FortuneWheel_Example" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 15140296DD544C0CF58BF33D78232FC1 /* Debug */, + 512F8385DB67FEF04794A509E88AC1ED /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + FEC90C2D71EB9C30F05A2EC21111A8D2 /* Build configuration list for PBXNativeTarget "Pods-FortuneWheel_Tests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + E94A79C0CB588C2AAA8E37A67832D702 /* Debug */, + 8AE5451B21E3DCF7AF80D0A08358849E /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = BFDFE7DC352907FC980B868725387E98 /* Project object */; +} diff --git a/Example/Pods/Target Support Files/FortuneWheel/FortuneWheel-Info.plist b/Example/Pods/Target Support Files/FortuneWheel/FortuneWheel-Info.plist new file mode 100644 index 0000000..161a9d3 --- /dev/null +++ b/Example/Pods/Target Support Files/FortuneWheel/FortuneWheel-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/FortuneWheel/FortuneWheel-dummy.m b/Example/Pods/Target Support Files/FortuneWheel/FortuneWheel-dummy.m new file mode 100644 index 0000000..bfeb51b --- /dev/null +++ b/Example/Pods/Target Support Files/FortuneWheel/FortuneWheel-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_FortuneWheel : NSObject +@end +@implementation PodsDummy_FortuneWheel +@end diff --git a/Example/Pods/Target Support Files/FortuneWheel/FortuneWheel-prefix.pch b/Example/Pods/Target Support Files/FortuneWheel/FortuneWheel-prefix.pch new file mode 100644 index 0000000..beb2a24 --- /dev/null +++ b/Example/Pods/Target Support Files/FortuneWheel/FortuneWheel-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/FortuneWheel/FortuneWheel-umbrella.h b/Example/Pods/Target Support Files/FortuneWheel/FortuneWheel-umbrella.h new file mode 100644 index 0000000..4552b1d --- /dev/null +++ b/Example/Pods/Target Support Files/FortuneWheel/FortuneWheel-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 FortuneWheelVersionNumber; +FOUNDATION_EXPORT const unsigned char FortuneWheelVersionString[]; + diff --git a/Example/Pods/Target Support Files/FortuneWheel/FortuneWheel.debug.xcconfig b/Example/Pods/Target Support Files/FortuneWheel/FortuneWheel.debug.xcconfig new file mode 100644 index 0000000..32bd99e --- /dev/null +++ b/Example/Pods/Target Support Files/FortuneWheel/FortuneWheel.debug.xcconfig @@ -0,0 +1,12 @@ +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/FortuneWheel +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}/../.. +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Example/Pods/Target Support Files/FortuneWheel/FortuneWheel.modulemap b/Example/Pods/Target Support Files/FortuneWheel/FortuneWheel.modulemap new file mode 100644 index 0000000..50cf542 --- /dev/null +++ b/Example/Pods/Target Support Files/FortuneWheel/FortuneWheel.modulemap @@ -0,0 +1,6 @@ +framework module FortuneWheel { + umbrella header "FortuneWheel-umbrella.h" + + export * + module * { export * } +} diff --git a/Example/Pods/Target Support Files/FortuneWheel/FortuneWheel.release.xcconfig b/Example/Pods/Target Support Files/FortuneWheel/FortuneWheel.release.xcconfig new file mode 100644 index 0000000..32bd99e --- /dev/null +++ b/Example/Pods/Target Support Files/FortuneWheel/FortuneWheel.release.xcconfig @@ -0,0 +1,12 @@ +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/FortuneWheel +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}/../.. +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Example/Pods/Target Support Files/Pods-FortuneWheel_Example/Pods-FortuneWheel_Example-Info.plist b/Example/Pods/Target Support Files/Pods-FortuneWheel_Example/Pods-FortuneWheel_Example-Info.plist new file mode 100644 index 0000000..2243fe6 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-FortuneWheel_Example/Pods-FortuneWheel_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-FortuneWheel_Example/Pods-FortuneWheel_Example-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-FortuneWheel_Example/Pods-FortuneWheel_Example-acknowledgements.markdown new file mode 100644 index 0000000..d36406f --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-FortuneWheel_Example/Pods-FortuneWheel_Example-acknowledgements.markdown @@ -0,0 +1,26 @@ +# Acknowledgements +This application makes use of the following third party libraries: + +## FortuneWheel + +Copyright (c) 2021 sameersyd + +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-FortuneWheel_Example/Pods-FortuneWheel_Example-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-FortuneWheel_Example/Pods-FortuneWheel_Example-acknowledgements.plist new file mode 100644 index 0000000..86b2e3e --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-FortuneWheel_Example/Pods-FortuneWheel_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) 2021 sameersyd <sameer.nwaz@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. + + License + MIT + Title + FortuneWheel + 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-FortuneWheel_Example/Pods-FortuneWheel_Example-dummy.m b/Example/Pods/Target Support Files/Pods-FortuneWheel_Example/Pods-FortuneWheel_Example-dummy.m new file mode 100644 index 0000000..a97706f --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-FortuneWheel_Example/Pods-FortuneWheel_Example-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods_FortuneWheel_Example : NSObject +@end +@implementation PodsDummy_Pods_FortuneWheel_Example +@end diff --git a/Example/Pods/Target Support Files/Pods-FortuneWheel_Example/Pods-FortuneWheel_Example-frameworks.sh b/Example/Pods/Target Support Files/Pods-FortuneWheel_Example/Pods-FortuneWheel_Example-frameworks.sh new file mode 100755 index 0000000..61bf55f --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-FortuneWheel_Example/Pods-FortuneWheel_Example-frameworks.sh @@ -0,0 +1,185 @@ +#!/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}" +BCSYMBOLMAP_DIR="BCSymbolMaps" + + +# 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 + + if [ -d "${source}/${BCSYMBOLMAP_DIR}" ]; then + # Locate and install any .bcsymbolmaps if present, and remove them from the .framework before the framework is copied + find "${source}/${BCSYMBOLMAP_DIR}" -name "*.bcsymbolmap"|while read f; do + echo "Installing $f" + install_bcsymbolmap "$f" "$destination" + rm "$f" + done + rmdir "${source}/${BCSYMBOLMAP_DIR}" + fi + + # Use filter instead of exclude so missing patterns don't throw errors. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --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" + warn_missing_arch=${2:-true} + if [ -r "$source" ]; then + # Copy the dSYM into 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 .dSYM "$source")" + binary_name="$(ls "$source/Contents/Resources/DWARF")" + binary="${DERIVED_FILES_DIR}/${basename}.dSYM/Contents/Resources/DWARF/${binary_name}" + + # Strip invalid architectures from the dSYM. + if [[ "$(file "$binary")" == *"Mach-O "*"dSYM companion"* ]]; then + strip_invalid_archs "$binary" "$warn_missing_arch" + fi + if [[ $STRIP_BINARY_RETVAL == 0 ]]; then + # Move the stripped file into its final destination. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --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[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.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}.dSYM" + fi + fi +} + +# Used as a return value for each invocation of `strip_invalid_archs` function. +STRIP_BINARY_RETVAL=0 + +# Strip invalid architectures +strip_invalid_archs() { + binary="$1" + warn_missing_arch=${2:-true} + # 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 + if [[ "$warn_missing_arch" == "true" ]]; then + echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." + fi + STRIP_BINARY_RETVAL=1 + 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=0 +} + +# 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 +} + +if [[ "$CONFIGURATION" == "Debug" ]]; then + install_framework "${BUILT_PRODUCTS_DIR}/FortuneWheel/FortuneWheel.framework" +fi +if [[ "$CONFIGURATION" == "Release" ]]; then + install_framework "${BUILT_PRODUCTS_DIR}/FortuneWheel/FortuneWheel.framework" +fi +if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + wait +fi diff --git a/Example/Pods/Target Support Files/Pods-FortuneWheel_Example/Pods-FortuneWheel_Example-umbrella.h b/Example/Pods/Target Support Files/Pods-FortuneWheel_Example/Pods-FortuneWheel_Example-umbrella.h new file mode 100644 index 0000000..15b956e --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-FortuneWheel_Example/Pods-FortuneWheel_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_FortuneWheel_ExampleVersionNumber; +FOUNDATION_EXPORT const unsigned char Pods_FortuneWheel_ExampleVersionString[]; + diff --git a/Example/Pods/Target Support Files/Pods-FortuneWheel_Example/Pods-FortuneWheel_Example.debug.xcconfig b/Example/Pods/Target Support Files/Pods-FortuneWheel_Example/Pods-FortuneWheel_Example.debug.xcconfig new file mode 100644 index 0000000..664b2f1 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-FortuneWheel_Example/Pods-FortuneWheel_Example.debug.xcconfig @@ -0,0 +1,14 @@ +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FortuneWheel" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FortuneWheel/FortuneWheel.framework/Headers" +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_LDFLAGS = $(inherited) -framework "FortuneWheel" +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 +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Example/Pods/Target Support Files/Pods-FortuneWheel_Example/Pods-FortuneWheel_Example.modulemap b/Example/Pods/Target Support Files/Pods-FortuneWheel_Example/Pods-FortuneWheel_Example.modulemap new file mode 100644 index 0000000..2835f3d --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-FortuneWheel_Example/Pods-FortuneWheel_Example.modulemap @@ -0,0 +1,6 @@ +framework module Pods_FortuneWheel_Example { + umbrella header "Pods-FortuneWheel_Example-umbrella.h" + + export * + module * { export * } +} diff --git a/Example/Pods/Target Support Files/Pods-FortuneWheel_Example/Pods-FortuneWheel_Example.release.xcconfig b/Example/Pods/Target Support Files/Pods-FortuneWheel_Example/Pods-FortuneWheel_Example.release.xcconfig new file mode 100644 index 0000000..664b2f1 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-FortuneWheel_Example/Pods-FortuneWheel_Example.release.xcconfig @@ -0,0 +1,14 @@ +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FortuneWheel" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FortuneWheel/FortuneWheel.framework/Headers" +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_LDFLAGS = $(inherited) -framework "FortuneWheel" +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 +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Example/Pods/Target Support Files/Pods-FortuneWheel_Tests/Pods-FortuneWheel_Tests-Info.plist b/Example/Pods/Target Support Files/Pods-FortuneWheel_Tests/Pods-FortuneWheel_Tests-Info.plist new file mode 100644 index 0000000..2243fe6 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-FortuneWheel_Tests/Pods-FortuneWheel_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-FortuneWheel_Tests/Pods-FortuneWheel_Tests-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-FortuneWheel_Tests/Pods-FortuneWheel_Tests-acknowledgements.markdown new file mode 100644 index 0000000..102af75 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-FortuneWheel_Tests/Pods-FortuneWheel_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-FortuneWheel_Tests/Pods-FortuneWheel_Tests-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-FortuneWheel_Tests/Pods-FortuneWheel_Tests-acknowledgements.plist new file mode 100644 index 0000000..7acbad1 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-FortuneWheel_Tests/Pods-FortuneWheel_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-FortuneWheel_Tests/Pods-FortuneWheel_Tests-dummy.m b/Example/Pods/Target Support Files/Pods-FortuneWheel_Tests/Pods-FortuneWheel_Tests-dummy.m new file mode 100644 index 0000000..0049e89 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-FortuneWheel_Tests/Pods-FortuneWheel_Tests-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods_FortuneWheel_Tests : NSObject +@end +@implementation PodsDummy_Pods_FortuneWheel_Tests +@end diff --git a/Example/Pods/Target Support Files/Pods-FortuneWheel_Tests/Pods-FortuneWheel_Tests-umbrella.h b/Example/Pods/Target Support Files/Pods-FortuneWheel_Tests/Pods-FortuneWheel_Tests-umbrella.h new file mode 100644 index 0000000..bb6edbf --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-FortuneWheel_Tests/Pods-FortuneWheel_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_FortuneWheel_TestsVersionNumber; +FOUNDATION_EXPORT const unsigned char Pods_FortuneWheel_TestsVersionString[]; + diff --git a/Example/Pods/Target Support Files/Pods-FortuneWheel_Tests/Pods-FortuneWheel_Tests.debug.xcconfig b/Example/Pods/Target Support Files/Pods-FortuneWheel_Tests/Pods-FortuneWheel_Tests.debug.xcconfig new file mode 100644 index 0000000..517ea54 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-FortuneWheel_Tests/Pods-FortuneWheel_Tests.debug.xcconfig @@ -0,0 +1,11 @@ +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FortuneWheel" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FortuneWheel/FortuneWheel.framework/Headers" +OTHER_LDFLAGS = $(inherited) -framework "FortuneWheel" +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 +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Example/Pods/Target Support Files/Pods-FortuneWheel_Tests/Pods-FortuneWheel_Tests.modulemap b/Example/Pods/Target Support Files/Pods-FortuneWheel_Tests/Pods-FortuneWheel_Tests.modulemap new file mode 100644 index 0000000..e300e7b --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-FortuneWheel_Tests/Pods-FortuneWheel_Tests.modulemap @@ -0,0 +1,6 @@ +framework module Pods_FortuneWheel_Tests { + umbrella header "Pods-FortuneWheel_Tests-umbrella.h" + + export * + module * { export * } +} diff --git a/Example/Pods/Target Support Files/Pods-FortuneWheel_Tests/Pods-FortuneWheel_Tests.release.xcconfig b/Example/Pods/Target Support Files/Pods-FortuneWheel_Tests/Pods-FortuneWheel_Tests.release.xcconfig new file mode 100644 index 0000000..517ea54 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-FortuneWheel_Tests/Pods-FortuneWheel_Tests.release.xcconfig @@ -0,0 +1,11 @@ +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FortuneWheel" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FortuneWheel/FortuneWheel.framework/Headers" +OTHER_LDFLAGS = $(inherited) -framework "FortuneWheel" +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 +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/FortuneWheel.podspec b/FortuneWheel.podspec index 18e632c..85bf55a 100644 --- a/FortuneWheel.podspec +++ b/FortuneWheel.podspec @@ -28,7 +28,7 @@ TODO: Add long description of the pod here. s.source = { :git => 'https://github.com/sameersyd/FortuneWheel.git', :tag => s.version.to_s } # s.social_media_url = 'https://twitter.com/' - s.ios.deployment_target = '9.0' + s.ios.deployment_target = '13.0' s.source_files = 'FortuneWheel/Classes/**/*' diff --git a/FortuneWheel/Classes/ReplaceMe.swift b/FortuneWheel/Classes/ReplaceMe.swift deleted file mode 100644 index e69de29..0000000 diff --git a/Source/FortuneWheel.swift b/Source/FortuneWheel.swift new file mode 100644 index 0000000..3df84b1 --- /dev/null +++ b/Source/FortuneWheel.swift @@ -0,0 +1,76 @@ +// +// FortuneWheel.swift +// FortuneWheel +// +// Created by Sameer Nawaz on 07/04/21. +// + +import SwiftUI + +@available(iOS 14.0, *) +public struct FortuneWheel: View { + + var titles: [String], colors: [Color], strokeWidth: CGFloat, strokeColor: Color + @StateObject var viewModel: FortuneWheelViewModel + + init(titles: [String], colors: [Color] = Color.spin_wheel_color, strokeWidth: CGFloat = 15, strokeColor: Color = Color(hex: "252D4F"), + animDuration: Double = Double(6), timeCurveAnimation: Animation? = nil) { + self.titles = titles + self.colors = colors + self.strokeWidth = strokeWidth + self.strokeColor = strokeColor + _viewModel = StateObject(wrappedValue: FortuneWheelViewModel(titles: titles, animDuration: animDuration, + timeCurveAnimation: timeCurveAnimation ?? Animation.timingCurve(0.51, 0.97, 0.56, 0.99, duration: animDuration))) + } + + public var body: some View { + ZStack { + SpinWheelView(data: (0..> 16 + let g = (rgbValue & 0xff00) >> 8 + let b = rgbValue & 0xff + self.init(.sRGB, red: Double(r) / 0xff, green: Double(g) / 0xff, blue: Double(b) / 0xff, opacity: alpha) + } +} + +//struct FortuneWheel_Previews: PreviewProvider { +// static var previews: some View { +// FortuneWheel() +// } +//} diff --git a/Source/FortuneWheelViewModel.swift b/Source/FortuneWheelViewModel.swift new file mode 100644 index 0000000..8fec088 --- /dev/null +++ b/Source/FortuneWheelViewModel.swift @@ -0,0 +1,43 @@ +// +// FortuneWheelViewModel.swift +// FortuneWheel +// +// Created by Sameer Nawaz on 07/04/21. +// + +import SwiftUI + +@available(iOS 13.0, *) +class FortuneWheelViewModel: ObservableObject { + + var titles: [String] + + @Published var degree = 0.0 + private let animDuration: Double + private var timeCurveAnimation: Animation + private var pendingRequestWorkItem: DispatchWorkItem? + + init(titles: [String], animDuration: Double, timeCurveAnimation: Animation) { + self.titles = titles + self.animDuration = animDuration + self.timeCurveAnimation = timeCurveAnimation + } + + func spinWheel() { + let d = Double.random(in: 720...7200) + withAnimation(timeCurveAnimation) { self.degree += d } + // Cancel the currently pending item + pendingRequestWorkItem?.cancel() + // Wrap our request in a work item + let requestWorkItem = DispatchWorkItem { [weak self] in + if let count = self?.titles.count, + let distance = self?.degree.truncatingRemainder(dividingBy: 360) { + let pointer = floor(distance/(360/Double(count))) + print(count - Int(pointer) - 1) + } + } + // Save the new work item and execute it after duration + pendingRequestWorkItem = requestWorkItem + DispatchQueue.main.asyncAfter(deadline: .now() + animDuration + 1, execute: requestWorkItem) + } +} diff --git a/Source/SpinWheel/SpinWheelCell.swift b/Source/SpinWheel/SpinWheelCell.swift new file mode 100644 index 0000000..036cccd --- /dev/null +++ b/Source/SpinWheel/SpinWheelCell.swift @@ -0,0 +1,39 @@ +// +// SpinWheelCell.swift +// FortuneWheel +// +// Created by Sameer Nawaz on 07/04/21. +// + +import SwiftUI + +@available(iOS 13.0, *) +struct SpinWheelCell: Shape { + + let startAngle: Double, endAngle: Double + + func path(in rect: CGRect) -> Path { + var path = Path() + let radius = min(rect.width, rect.height) / 2 + let alpha = CGFloat(startAngle) + let center = CGPoint( + x: rect.midX, + y: rect.midY + ) + path.move(to: center) + path.addLine( + to: CGPoint( + x: center.x + cos(alpha) * radius, + y: center.y + sin(alpha) * radius + ) + ) + path.addArc( + center: center, radius: radius, + startAngle: Angle(radians: startAngle), + endAngle: Angle(radians: endAngle), + clockwise: false + ) + path.closeSubpath() + return path + } +} diff --git a/Source/SpinWheel/SpinWheelView.swift b/Source/SpinWheel/SpinWheelView.swift new file mode 100644 index 0000000..c676740 --- /dev/null +++ b/Source/SpinWheel/SpinWheelView.swift @@ -0,0 +1,61 @@ +// +// SpinWheelView.swift +// FortuneWheel +// +// Created by Sameer Nawaz on 07/04/21. +// + +import SwiftUI + +@available(iOS 13.0, *) +struct SpinWheelView: View { + + var data: [Double], labels: [String] + + private let colors: [Color] + private let sliceOffset: Double = -.pi / 2 + + init(data: [Double], labels: [String], colors: [Color]) { + self.data = data + self.labels = labels + self.colors = colors + } + + var body: some View { + GeometryReader { geo in + ZStack(alignment: .center) { + ForEach(0.. Double { + switch index { + case 0: return sliceOffset + default: + let ratio: Double = data[.. Double { + switch index { + case data.count - 1: return sliceOffset + 2 * .pi + default: + let ratio: Double = data[..<(index + 1)].reduce(0.0, +) / data.reduce(0.0, +) + return sliceOffset + 2 * .pi * ratio + } + } + + private func viewOffset(for index: Int, in size: CGSize) -> CGSize { + let radius = min(size.width, size.height) / 3 + let dataRatio = (2 * data[..