├── .gitignore ├── .swift-version ├── .travis.yml ├── CONTRIBUTING.md ├── Example ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── ScreenType.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ ├── project.pbxproj │ │ ├── project.xcworkspace │ │ │ └── contents.xcworkspacedata │ │ └── xcuserdata │ │ │ └── maxstein.xcuserdatad │ │ │ └── xcschemes │ │ │ ├── Pods-ScreenType_Example.xcscheme │ │ │ ├── Pods-ScreenType_Tests.xcscheme │ │ │ ├── ScreenType.xcscheme │ │ │ └── xcschememanagement.plist │ └── Target Support Files │ │ ├── Pods-ScreenType_Example │ │ ├── Info.plist │ │ ├── Pods-ScreenType_Example-acknowledgements.markdown │ │ ├── Pods-ScreenType_Example-acknowledgements.plist │ │ ├── Pods-ScreenType_Example-dummy.m │ │ ├── Pods-ScreenType_Example-frameworks.sh │ │ ├── Pods-ScreenType_Example-resources.sh │ │ ├── Pods-ScreenType_Example-umbrella.h │ │ ├── Pods-ScreenType_Example.debug.xcconfig │ │ ├── Pods-ScreenType_Example.modulemap │ │ └── Pods-ScreenType_Example.release.xcconfig │ │ └── ScreenType │ │ ├── Info.plist │ │ ├── ScreenType-dummy.m │ │ ├── ScreenType-prefix.pch │ │ ├── ScreenType-umbrella.h │ │ ├── ScreenType.modulemap │ │ └── ScreenType.xcconfig ├── ScreenType.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── ScreenType-Example.xcscheme ├── ScreenType.xcworkspace │ ├── contents.xcworkspacedata │ ├── xcshareddata │ │ └── IDEWorkspaceChecks.plist │ └── xcuserdata │ │ └── maxstein.xcuserdatad │ │ └── UserInterfaceState.xcuserstate └── ScreenType │ ├── AppDelegate.swift │ ├── Base.lproj │ ├── LaunchScreen.xib │ └── Main.storyboard │ ├── Images.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json │ ├── Info.plist │ ├── ScreenTypeDisplayViewController.swift │ ├── ScreenTypeObjectiveCViewController.h │ ├── ScreenTypeObjectiveCViewController.m │ └── ScreenType_Example-Bridging-Header.h ├── LICENSE ├── README.md ├── ScreenType.gif ├── ScreenType.png ├── ScreenType.podspec ├── ScreenType └── Classes │ ├── .gitkeep │ └── ScreenType.swift └── _pods.xcodeproj └── project.pbxproj /.gitignore: -------------------------------------------------------------------------------- 1 | # OS X 2 | .DS_Store 3 | 4 | # Xcode 5 | build/ 6 | *.pbxuser 7 | !default.pbxuser 8 | *.mode1v3 9 | !default.mode1v3 10 | *.mode2v3 11 | !default.mode2v3 12 | *.perspectivev3 13 | !default.perspectivev3 14 | xcuserdata/ 15 | *.xccheckout 16 | profile 17 | *.moved-aside 18 | DerivedData 19 | *.hmap 20 | *.ipa 21 | 22 | # Bundler 23 | .bundle 24 | 25 | Carthage 26 | # We recommend against adding the Pods directory to your .gitignore. However 27 | # you should judge for yourself, the pros and cons are mentioned at: 28 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 29 | # 30 | # Note: if you ignore the Pods directory, make sure to uncomment 31 | # `pod install` in .travis.yml 32 | # 33 | # Pods/ 34 | -------------------------------------------------------------------------------- /.swift-version: -------------------------------------------------------------------------------- 1 | 4.0 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * http://www.objc.io/issue-6/travis-ci.html 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | osx_image: xcode7.3 6 | language: objective-c 7 | # cache: cocoapods 8 | # podfile: Example/Podfile 9 | # before_install: 10 | # - gem install cocoapods # Since Travis is not always on latest version 11 | # - pod install --project-directory=Example 12 | script: 13 | - set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/ScreenType.xcworkspace -scheme ScreenType-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty 14 | - pod lib lint 15 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | To contribute, simply submit a Pull request and I will review your change, test it for stability and if it looks good push it to master. 2 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | platform :ios, '9.3' 2 | 3 | use_frameworks! 4 | 5 | target 'ScreenType_Example' do 6 | pod 'ScreenType', :path => '../' 7 | end 8 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - ScreenType (1.0.3) 3 | 4 | DEPENDENCIES: 5 | - ScreenType (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | ScreenType: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | ScreenType: 4f13c95add7d33080c0e75a6ba5250784d64d0d0 13 | 14 | PODFILE CHECKSUM: b5ce4623d378e334e6f19ca45d656ded3f46417b 15 | 16 | COCOAPODS: 1.3.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/ScreenType.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ScreenType", 3 | "version": "1.0.3", 4 | "summary": "Easily distinguish between iPhone models in Objective-C and Swift", 5 | "description": "Enables you to use UIScreen.current to get the ScreenType of the current device and see if it is equal to, greater than, or less than a particular iPhone or iPad model's size.", 6 | "homepage": "https://github.com/allgamesallfree/ScreenType", 7 | "screenshots": [ 8 | "https://raw.githubusercontent.com/allgamesallfree/ScreenType/master/ScreenType.png", 9 | "https://raw.githubusercontent.com/allgamesallfree/ScreenType/master/ScreenType.gif" 10 | ], 11 | "license": { 12 | "type": "MIT", 13 | "file": "LICENSE" 14 | }, 15 | "authors": { 16 | "Max Stein": "max34563@gmail.com" 17 | }, 18 | "source": { 19 | "git": "https://github.com/allgamesallfree/ScreenType.git", 20 | "tag": "1.0.3" 21 | }, 22 | "social_media_url": "https://twitter.com/maxsteinapps", 23 | "platforms": { 24 | "ios": "9.0" 25 | }, 26 | "source_files": "ScreenType/Classes/**/*" 27 | } 28 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - ScreenType (1.0.3) 3 | 4 | DEPENDENCIES: 5 | - ScreenType (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | ScreenType: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | ScreenType: 4f13c95add7d33080c0e75a6ba5250784d64d0d0 13 | 14 | PODFILE CHECKSUM: b5ce4623d378e334e6f19ca45d656ded3f46417b 15 | 16 | COCOAPODS: 1.3.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 01B8E80511941BA724113388151F40EC /* Pods-ScreenType_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 26EFBD76741CF8B8ABA6A9454DF3B90C /* Pods-ScreenType_Example-dummy.m */; }; 11 | 0AB8E445B4E0DD0B94B3FC430353E70F /* ScreenType.swift in Sources */ = {isa = PBXBuildFile; fileRef = B081F67800E6C89B9470C1304104BFD2 /* ScreenType.swift */; }; 12 | 3C67A8269A3932B9D15FA1690076EB9C /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 13 | 4D02B837447C19A42FBFDBFB17BFE0D5 /* ScreenType-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 3DD976913CD886997925F57E0E9ECFEB /* ScreenType-dummy.m */; }; 14 | 6077B71790F6937FF5EFC239AA6D0839 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 15 | 8CF06C7FEFCB98EBAB7C1481EC4FF31F /* Pods-ScreenType_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = AFC23B70CCB84BD063FEB200E640CD5F /* Pods-ScreenType_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 16 | 9DBBAE7AD38C8C757271752D10A8E80A /* ScreenType-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 2A610F82DE54D7F37BC742335A3A6B4A /* ScreenType-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 17 | /* End PBXBuildFile section */ 18 | 19 | /* Begin PBXContainerItemProxy section */ 20 | 455742BA7711BDC573B2145DD4044D0A /* PBXContainerItemProxy */ = { 21 | isa = PBXContainerItemProxy; 22 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 23 | proxyType = 1; 24 | remoteGlobalIDString = 8561D657A77E250E3925DB226CB79A0E; 25 | remoteInfo = ScreenType; 26 | }; 27 | /* End PBXContainerItemProxy section */ 28 | 29 | /* Begin PBXFileReference section */ 30 | 14274FCC2DCEECC431C054CA0D05DF73 /* ScreenType-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ScreenType-prefix.pch"; sourceTree = ""; }; 31 | 26EFBD76741CF8B8ABA6A9454DF3B90C /* Pods-ScreenType_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-ScreenType_Example-dummy.m"; sourceTree = ""; }; 32 | 2A610F82DE54D7F37BC742335A3A6B4A /* ScreenType-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ScreenType-umbrella.h"; sourceTree = ""; }; 33 | 30681D478DB66791C167DD2A0750387E /* Pods-ScreenType_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-ScreenType_Example-acknowledgements.plist"; sourceTree = ""; }; 34 | 3DD976913CD886997925F57E0E9ECFEB /* ScreenType-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "ScreenType-dummy.m"; sourceTree = ""; }; 35 | 431788E10DED7381C2237CE05C702D73 /* Pods-ScreenType_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ScreenType_Example.release.xcconfig"; sourceTree = ""; }; 36 | 4784A1A5A5B590D8A59381066F6BE735 /* Pods-ScreenType_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-ScreenType_Example-acknowledgements.markdown"; sourceTree = ""; }; 37 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 38 | 75509526304C61495A14C5FE511D0C2B /* ScreenType.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = ScreenType.modulemap; sourceTree = ""; }; 39 | 82BE6A56E69323A53C2B2661D93E7833 /* Pods-ScreenType_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ScreenType_Example-resources.sh"; sourceTree = ""; }; 40 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 41 | 951E0810A39E62D83670002E863DCADC /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 42 | 9DAC7F99153378A0CBFEEF90E4F13FFD /* ScreenType.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = ScreenType.framework; path = ScreenType.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 43 | AFC23B70CCB84BD063FEB200E640CD5F /* Pods-ScreenType_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-ScreenType_Example-umbrella.h"; sourceTree = ""; }; 44 | B081F67800E6C89B9470C1304104BFD2 /* ScreenType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ScreenType.swift; path = ScreenType/Classes/ScreenType.swift; sourceTree = ""; }; 45 | BA924F465912CC574CFC953642395FCA /* Pods-ScreenType_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ScreenType_Example.debug.xcconfig"; sourceTree = ""; }; 46 | D3F219177050596629A56F082517ED01 /* Pods_ScreenType_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_ScreenType_Example.framework; path = "Pods-ScreenType_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 47 | D91EA2891317A31564680F2A7E4A1C77 /* Pods-ScreenType_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-ScreenType_Example.modulemap"; sourceTree = ""; }; 48 | E3A73CF30BCEA6F356F74000DC2C18FD /* ScreenType.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = ScreenType.xcconfig; sourceTree = ""; }; 49 | E741E6CCCA27C0566EE846AB1BE06CEE /* Pods-ScreenType_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ScreenType_Example-frameworks.sh"; sourceTree = ""; }; 50 | F75BF087AF48B473EAEC51342968E3D1 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 51 | /* End PBXFileReference section */ 52 | 53 | /* Begin PBXFrameworksBuildPhase section */ 54 | 4B5DD6F226A18BE14AD79FCCD2697A25 /* Frameworks */ = { 55 | isa = PBXFrameworksBuildPhase; 56 | buildActionMask = 2147483647; 57 | files = ( 58 | 3C67A8269A3932B9D15FA1690076EB9C /* Foundation.framework in Frameworks */, 59 | ); 60 | runOnlyForDeploymentPostprocessing = 0; 61 | }; 62 | 796E28A81AE5B81720184FA3AC2877A2 /* Frameworks */ = { 63 | isa = PBXFrameworksBuildPhase; 64 | buildActionMask = 2147483647; 65 | files = ( 66 | 6077B71790F6937FF5EFC239AA6D0839 /* Foundation.framework in Frameworks */, 67 | ); 68 | runOnlyForDeploymentPostprocessing = 0; 69 | }; 70 | /* End PBXFrameworksBuildPhase section */ 71 | 72 | /* Begin PBXGroup section */ 73 | 0AA791F2CF4D309CAC207944C4F02A49 /* Products */ = { 74 | isa = PBXGroup; 75 | children = ( 76 | D3F219177050596629A56F082517ED01 /* Pods_ScreenType_Example.framework */, 77 | 9DAC7F99153378A0CBFEEF90E4F13FFD /* ScreenType.framework */, 78 | ); 79 | name = Products; 80 | sourceTree = ""; 81 | }; 82 | 2B4AED286E7485716AFAB34F427CCF74 /* Targets Support Files */ = { 83 | isa = PBXGroup; 84 | children = ( 85 | 473EE44FE85F0E2CE6B4DAF73203DFDF /* Pods-ScreenType_Example */, 86 | ); 87 | name = "Targets Support Files"; 88 | sourceTree = ""; 89 | }; 90 | 3B18C90504C24FB6EC6C41AE41F2E215 /* Support Files */ = { 91 | isa = PBXGroup; 92 | children = ( 93 | 951E0810A39E62D83670002E863DCADC /* Info.plist */, 94 | 75509526304C61495A14C5FE511D0C2B /* ScreenType.modulemap */, 95 | E3A73CF30BCEA6F356F74000DC2C18FD /* ScreenType.xcconfig */, 96 | 3DD976913CD886997925F57E0E9ECFEB /* ScreenType-dummy.m */, 97 | 14274FCC2DCEECC431C054CA0D05DF73 /* ScreenType-prefix.pch */, 98 | 2A610F82DE54D7F37BC742335A3A6B4A /* ScreenType-umbrella.h */, 99 | ); 100 | name = "Support Files"; 101 | path = "Example/Pods/Target Support Files/ScreenType"; 102 | sourceTree = ""; 103 | }; 104 | 473EE44FE85F0E2CE6B4DAF73203DFDF /* Pods-ScreenType_Example */ = { 105 | isa = PBXGroup; 106 | children = ( 107 | F75BF087AF48B473EAEC51342968E3D1 /* Info.plist */, 108 | D91EA2891317A31564680F2A7E4A1C77 /* Pods-ScreenType_Example.modulemap */, 109 | 4784A1A5A5B590D8A59381066F6BE735 /* Pods-ScreenType_Example-acknowledgements.markdown */, 110 | 30681D478DB66791C167DD2A0750387E /* Pods-ScreenType_Example-acknowledgements.plist */, 111 | 26EFBD76741CF8B8ABA6A9454DF3B90C /* Pods-ScreenType_Example-dummy.m */, 112 | E741E6CCCA27C0566EE846AB1BE06CEE /* Pods-ScreenType_Example-frameworks.sh */, 113 | 82BE6A56E69323A53C2B2661D93E7833 /* Pods-ScreenType_Example-resources.sh */, 114 | AFC23B70CCB84BD063FEB200E640CD5F /* Pods-ScreenType_Example-umbrella.h */, 115 | BA924F465912CC574CFC953642395FCA /* Pods-ScreenType_Example.debug.xcconfig */, 116 | 431788E10DED7381C2237CE05C702D73 /* Pods-ScreenType_Example.release.xcconfig */, 117 | ); 118 | name = "Pods-ScreenType_Example"; 119 | path = "Target Support Files/Pods-ScreenType_Example"; 120 | sourceTree = ""; 121 | }; 122 | 7DB346D0F39D3F0E887471402A8071AB = { 123 | isa = PBXGroup; 124 | children = ( 125 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 126 | B4AEF53C58B1BBB7EB4899872DE2CCCE /* Development Pods */, 127 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 128 | 0AA791F2CF4D309CAC207944C4F02A49 /* Products */, 129 | 2B4AED286E7485716AFAB34F427CCF74 /* Targets Support Files */, 130 | ); 131 | sourceTree = ""; 132 | }; 133 | B4AEF53C58B1BBB7EB4899872DE2CCCE /* Development Pods */ = { 134 | isa = PBXGroup; 135 | children = ( 136 | DD78FB6B283E5C0FF5040E5599711CE4 /* ScreenType */, 137 | ); 138 | name = "Development Pods"; 139 | sourceTree = ""; 140 | }; 141 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 142 | isa = PBXGroup; 143 | children = ( 144 | D35AF013A5F0BAD4F32504907A52519E /* iOS */, 145 | ); 146 | name = Frameworks; 147 | sourceTree = ""; 148 | }; 149 | D35AF013A5F0BAD4F32504907A52519E /* iOS */ = { 150 | isa = PBXGroup; 151 | children = ( 152 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */, 153 | ); 154 | name = iOS; 155 | sourceTree = ""; 156 | }; 157 | DD78FB6B283E5C0FF5040E5599711CE4 /* ScreenType */ = { 158 | isa = PBXGroup; 159 | children = ( 160 | B081F67800E6C89B9470C1304104BFD2 /* ScreenType.swift */, 161 | 3B18C90504C24FB6EC6C41AE41F2E215 /* Support Files */, 162 | ); 163 | name = ScreenType; 164 | path = ../..; 165 | sourceTree = ""; 166 | }; 167 | /* End PBXGroup section */ 168 | 169 | /* Begin PBXHeadersBuildPhase section */ 170 | 2C9F75A1175FA5B98EB6A723275C77BC /* Headers */ = { 171 | isa = PBXHeadersBuildPhase; 172 | buildActionMask = 2147483647; 173 | files = ( 174 | 8CF06C7FEFCB98EBAB7C1481EC4FF31F /* Pods-ScreenType_Example-umbrella.h in Headers */, 175 | ); 176 | runOnlyForDeploymentPostprocessing = 0; 177 | }; 178 | 3B54E1BD434CB53B63C98D60176BED2D /* Headers */ = { 179 | isa = PBXHeadersBuildPhase; 180 | buildActionMask = 2147483647; 181 | files = ( 182 | 9DBBAE7AD38C8C757271752D10A8E80A /* ScreenType-umbrella.h in Headers */, 183 | ); 184 | runOnlyForDeploymentPostprocessing = 0; 185 | }; 186 | /* End PBXHeadersBuildPhase section */ 187 | 188 | /* Begin PBXNativeTarget section */ 189 | 8561D657A77E250E3925DB226CB79A0E /* ScreenType */ = { 190 | isa = PBXNativeTarget; 191 | buildConfigurationList = 5CE84C1E7A7E037D8456AB1B0188C6D6 /* Build configuration list for PBXNativeTarget "ScreenType" */; 192 | buildPhases = ( 193 | E30192491FA4E0FCE29F982A6B3DC718 /* Sources */, 194 | 4B5DD6F226A18BE14AD79FCCD2697A25 /* Frameworks */, 195 | 3B54E1BD434CB53B63C98D60176BED2D /* Headers */, 196 | ); 197 | buildRules = ( 198 | ); 199 | dependencies = ( 200 | ); 201 | name = ScreenType; 202 | productName = ScreenType; 203 | productReference = 9DAC7F99153378A0CBFEEF90E4F13FFD /* ScreenType.framework */; 204 | productType = "com.apple.product-type.framework"; 205 | }; 206 | 8C4CE51DE13D3AD7E6A2CAC953432D48 /* Pods-ScreenType_Example */ = { 207 | isa = PBXNativeTarget; 208 | buildConfigurationList = B13B0AD1BA6D818BC1BDF227A5562111 /* Build configuration list for PBXNativeTarget "Pods-ScreenType_Example" */; 209 | buildPhases = ( 210 | 4D6D0A73746AB86EC2EC4E917A0DEE4A /* Sources */, 211 | 796E28A81AE5B81720184FA3AC2877A2 /* Frameworks */, 212 | 2C9F75A1175FA5B98EB6A723275C77BC /* Headers */, 213 | ); 214 | buildRules = ( 215 | ); 216 | dependencies = ( 217 | 27C43CBD26C3FF7DE6BDC31A03743328 /* PBXTargetDependency */, 218 | ); 219 | name = "Pods-ScreenType_Example"; 220 | productName = "Pods-ScreenType_Example"; 221 | productReference = D3F219177050596629A56F082517ED01 /* Pods_ScreenType_Example.framework */; 222 | productType = "com.apple.product-type.framework"; 223 | }; 224 | /* End PBXNativeTarget section */ 225 | 226 | /* Begin PBXProject section */ 227 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 228 | isa = PBXProject; 229 | attributes = { 230 | LastSwiftUpdateCheck = 0830; 231 | LastUpgradeCheck = 0700; 232 | }; 233 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 234 | compatibilityVersion = "Xcode 3.2"; 235 | developmentRegion = English; 236 | hasScannedForEncodings = 0; 237 | knownRegions = ( 238 | en, 239 | ); 240 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 241 | productRefGroup = 0AA791F2CF4D309CAC207944C4F02A49 /* Products */; 242 | projectDirPath = ""; 243 | projectRoot = ""; 244 | targets = ( 245 | 8C4CE51DE13D3AD7E6A2CAC953432D48 /* Pods-ScreenType_Example */, 246 | 8561D657A77E250E3925DB226CB79A0E /* ScreenType */, 247 | ); 248 | }; 249 | /* End PBXProject section */ 250 | 251 | /* Begin PBXSourcesBuildPhase section */ 252 | 4D6D0A73746AB86EC2EC4E917A0DEE4A /* Sources */ = { 253 | isa = PBXSourcesBuildPhase; 254 | buildActionMask = 2147483647; 255 | files = ( 256 | 01B8E80511941BA724113388151F40EC /* Pods-ScreenType_Example-dummy.m in Sources */, 257 | ); 258 | runOnlyForDeploymentPostprocessing = 0; 259 | }; 260 | E30192491FA4E0FCE29F982A6B3DC718 /* Sources */ = { 261 | isa = PBXSourcesBuildPhase; 262 | buildActionMask = 2147483647; 263 | files = ( 264 | 4D02B837447C19A42FBFDBFB17BFE0D5 /* ScreenType-dummy.m in Sources */, 265 | 0AB8E445B4E0DD0B94B3FC430353E70F /* ScreenType.swift in Sources */, 266 | ); 267 | runOnlyForDeploymentPostprocessing = 0; 268 | }; 269 | /* End PBXSourcesBuildPhase section */ 270 | 271 | /* Begin PBXTargetDependency section */ 272 | 27C43CBD26C3FF7DE6BDC31A03743328 /* PBXTargetDependency */ = { 273 | isa = PBXTargetDependency; 274 | name = ScreenType; 275 | target = 8561D657A77E250E3925DB226CB79A0E /* ScreenType */; 276 | targetProxy = 455742BA7711BDC573B2145DD4044D0A /* PBXContainerItemProxy */; 277 | }; 278 | /* End PBXTargetDependency section */ 279 | 280 | /* Begin XCBuildConfiguration section */ 281 | 08C193715FF460B97BC64E88B3CB64C8 /* Debug */ = { 282 | isa = XCBuildConfiguration; 283 | baseConfigurationReference = BA924F465912CC574CFC953642395FCA /* Pods-ScreenType_Example.debug.xcconfig */; 284 | buildSettings = { 285 | CODE_SIGN_IDENTITY = ""; 286 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 287 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 288 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 289 | CURRENT_PROJECT_VERSION = 1; 290 | DEFINES_MODULE = YES; 291 | DYLIB_COMPATIBILITY_VERSION = 1; 292 | DYLIB_CURRENT_VERSION = 1; 293 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 294 | INFOPLIST_FILE = "Target Support Files/Pods-ScreenType_Example/Info.plist"; 295 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 296 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 297 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 298 | MACH_O_TYPE = staticlib; 299 | MODULEMAP_FILE = "Target Support Files/Pods-ScreenType_Example/Pods-ScreenType_Example.modulemap"; 300 | OTHER_LDFLAGS = ""; 301 | OTHER_LIBTOOLFLAGS = ""; 302 | PODS_ROOT = "$(SRCROOT)"; 303 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 304 | PRODUCT_NAME = Pods_ScreenType_Example; 305 | SDKROOT = iphoneos; 306 | SKIP_INSTALL = YES; 307 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 308 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 309 | TARGETED_DEVICE_FAMILY = "1,2"; 310 | VERSIONING_SYSTEM = "apple-generic"; 311 | VERSION_INFO_PREFIX = ""; 312 | }; 313 | name = Debug; 314 | }; 315 | 33DA7F43A1D2FA3C74A8C8FC246E1FA6 /* Debug */ = { 316 | isa = XCBuildConfiguration; 317 | buildSettings = { 318 | ALWAYS_SEARCH_USER_PATHS = NO; 319 | CLANG_ANALYZER_NONNULL = YES; 320 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 321 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 322 | CLANG_CXX_LIBRARY = "libc++"; 323 | CLANG_ENABLE_MODULES = YES; 324 | CLANG_ENABLE_OBJC_ARC = YES; 325 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 326 | CLANG_WARN_BOOL_CONVERSION = YES; 327 | CLANG_WARN_COMMA = YES; 328 | CLANG_WARN_CONSTANT_CONVERSION = YES; 329 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 330 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 331 | CLANG_WARN_EMPTY_BODY = YES; 332 | CLANG_WARN_ENUM_CONVERSION = YES; 333 | CLANG_WARN_INFINITE_RECURSION = YES; 334 | CLANG_WARN_INT_CONVERSION = YES; 335 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 336 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 337 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 338 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 339 | CLANG_WARN_STRICT_PROTOTYPES = YES; 340 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 341 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 342 | CLANG_WARN_UNREACHABLE_CODE = YES; 343 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 344 | CODE_SIGNING_REQUIRED = NO; 345 | COPY_PHASE_STRIP = NO; 346 | DEBUG_INFORMATION_FORMAT = dwarf; 347 | ENABLE_STRICT_OBJC_MSGSEND = YES; 348 | ENABLE_TESTABILITY = YES; 349 | GCC_C_LANGUAGE_STANDARD = gnu11; 350 | GCC_DYNAMIC_NO_PIC = NO; 351 | GCC_NO_COMMON_BLOCKS = YES; 352 | GCC_OPTIMIZATION_LEVEL = 0; 353 | GCC_PREPROCESSOR_DEFINITIONS = ( 354 | "POD_CONFIGURATION_DEBUG=1", 355 | "DEBUG=1", 356 | "$(inherited)", 357 | ); 358 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 359 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 360 | GCC_WARN_UNDECLARED_SELECTOR = YES; 361 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 362 | GCC_WARN_UNUSED_FUNCTION = YES; 363 | GCC_WARN_UNUSED_VARIABLE = YES; 364 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 365 | MTL_ENABLE_DEBUG_INFO = YES; 366 | ONLY_ACTIVE_ARCH = YES; 367 | PRODUCT_NAME = "$(TARGET_NAME)"; 368 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 369 | STRIP_INSTALLED_PRODUCT = NO; 370 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 371 | SYMROOT = "${SRCROOT}/../build"; 372 | }; 373 | name = Debug; 374 | }; 375 | 39C7E8F2EBDFD8BEEC118261DD04C63F /* Debug */ = { 376 | isa = XCBuildConfiguration; 377 | baseConfigurationReference = E3A73CF30BCEA6F356F74000DC2C18FD /* ScreenType.xcconfig */; 378 | buildSettings = { 379 | CODE_SIGN_IDENTITY = ""; 380 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 381 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 382 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 383 | CURRENT_PROJECT_VERSION = 1; 384 | DEFINES_MODULE = YES; 385 | DYLIB_COMPATIBILITY_VERSION = 1; 386 | DYLIB_CURRENT_VERSION = 1; 387 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 388 | GCC_PREFIX_HEADER = "Target Support Files/ScreenType/ScreenType-prefix.pch"; 389 | INFOPLIST_FILE = "Target Support Files/ScreenType/Info.plist"; 390 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 391 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 392 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 393 | MODULEMAP_FILE = "Target Support Files/ScreenType/ScreenType.modulemap"; 394 | PRODUCT_NAME = ScreenType; 395 | SDKROOT = iphoneos; 396 | SKIP_INSTALL = YES; 397 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 398 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 399 | SWIFT_VERSION = 4.0; 400 | TARGETED_DEVICE_FAMILY = "1,2"; 401 | VERSIONING_SYSTEM = "apple-generic"; 402 | VERSION_INFO_PREFIX = ""; 403 | }; 404 | name = Debug; 405 | }; 406 | 731DC216E1A58545B559F6E0A2418060 /* Release */ = { 407 | isa = XCBuildConfiguration; 408 | buildSettings = { 409 | ALWAYS_SEARCH_USER_PATHS = NO; 410 | CLANG_ANALYZER_NONNULL = YES; 411 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 412 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 413 | CLANG_CXX_LIBRARY = "libc++"; 414 | CLANG_ENABLE_MODULES = YES; 415 | CLANG_ENABLE_OBJC_ARC = YES; 416 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 417 | CLANG_WARN_BOOL_CONVERSION = YES; 418 | CLANG_WARN_COMMA = YES; 419 | CLANG_WARN_CONSTANT_CONVERSION = YES; 420 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 421 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 422 | CLANG_WARN_EMPTY_BODY = YES; 423 | CLANG_WARN_ENUM_CONVERSION = YES; 424 | CLANG_WARN_INFINITE_RECURSION = YES; 425 | CLANG_WARN_INT_CONVERSION = YES; 426 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 427 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 428 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 429 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 430 | CLANG_WARN_STRICT_PROTOTYPES = YES; 431 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 432 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 433 | CLANG_WARN_UNREACHABLE_CODE = YES; 434 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 435 | CODE_SIGNING_REQUIRED = NO; 436 | COPY_PHASE_STRIP = NO; 437 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 438 | ENABLE_NS_ASSERTIONS = NO; 439 | ENABLE_STRICT_OBJC_MSGSEND = YES; 440 | GCC_C_LANGUAGE_STANDARD = gnu11; 441 | GCC_NO_COMMON_BLOCKS = YES; 442 | GCC_PREPROCESSOR_DEFINITIONS = ( 443 | "POD_CONFIGURATION_RELEASE=1", 444 | "$(inherited)", 445 | ); 446 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 447 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 448 | GCC_WARN_UNDECLARED_SELECTOR = YES; 449 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 450 | GCC_WARN_UNUSED_FUNCTION = YES; 451 | GCC_WARN_UNUSED_VARIABLE = YES; 452 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 453 | MTL_ENABLE_DEBUG_INFO = NO; 454 | PRODUCT_NAME = "$(TARGET_NAME)"; 455 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 456 | STRIP_INSTALLED_PRODUCT = NO; 457 | SYMROOT = "${SRCROOT}/../build"; 458 | }; 459 | name = Release; 460 | }; 461 | 98077DA0E650E896795C65584FECECC2 /* Release */ = { 462 | isa = XCBuildConfiguration; 463 | baseConfigurationReference = 431788E10DED7381C2237CE05C702D73 /* Pods-ScreenType_Example.release.xcconfig */; 464 | buildSettings = { 465 | CODE_SIGN_IDENTITY = ""; 466 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 467 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 468 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 469 | CURRENT_PROJECT_VERSION = 1; 470 | DEFINES_MODULE = YES; 471 | DYLIB_COMPATIBILITY_VERSION = 1; 472 | DYLIB_CURRENT_VERSION = 1; 473 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 474 | INFOPLIST_FILE = "Target Support Files/Pods-ScreenType_Example/Info.plist"; 475 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 476 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 477 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 478 | MACH_O_TYPE = staticlib; 479 | MODULEMAP_FILE = "Target Support Files/Pods-ScreenType_Example/Pods-ScreenType_Example.modulemap"; 480 | OTHER_LDFLAGS = ""; 481 | OTHER_LIBTOOLFLAGS = ""; 482 | PODS_ROOT = "$(SRCROOT)"; 483 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 484 | PRODUCT_NAME = Pods_ScreenType_Example; 485 | SDKROOT = iphoneos; 486 | SKIP_INSTALL = YES; 487 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 488 | TARGETED_DEVICE_FAMILY = "1,2"; 489 | VALIDATE_PRODUCT = YES; 490 | VERSIONING_SYSTEM = "apple-generic"; 491 | VERSION_INFO_PREFIX = ""; 492 | }; 493 | name = Release; 494 | }; 495 | 9E0A6CD74EBF71E7B1594A3FAD8E32F1 /* Release */ = { 496 | isa = XCBuildConfiguration; 497 | baseConfigurationReference = E3A73CF30BCEA6F356F74000DC2C18FD /* ScreenType.xcconfig */; 498 | buildSettings = { 499 | CODE_SIGN_IDENTITY = ""; 500 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 501 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 502 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 503 | CURRENT_PROJECT_VERSION = 1; 504 | DEFINES_MODULE = YES; 505 | DYLIB_COMPATIBILITY_VERSION = 1; 506 | DYLIB_CURRENT_VERSION = 1; 507 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 508 | GCC_PREFIX_HEADER = "Target Support Files/ScreenType/ScreenType-prefix.pch"; 509 | INFOPLIST_FILE = "Target Support Files/ScreenType/Info.plist"; 510 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 511 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 512 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 513 | MODULEMAP_FILE = "Target Support Files/ScreenType/ScreenType.modulemap"; 514 | PRODUCT_NAME = ScreenType; 515 | SDKROOT = iphoneos; 516 | SKIP_INSTALL = YES; 517 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 518 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 519 | SWIFT_VERSION = 4.0; 520 | TARGETED_DEVICE_FAMILY = "1,2"; 521 | VALIDATE_PRODUCT = YES; 522 | VERSIONING_SYSTEM = "apple-generic"; 523 | VERSION_INFO_PREFIX = ""; 524 | }; 525 | name = Release; 526 | }; 527 | /* End XCBuildConfiguration section */ 528 | 529 | /* Begin XCConfigurationList section */ 530 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 531 | isa = XCConfigurationList; 532 | buildConfigurations = ( 533 | 33DA7F43A1D2FA3C74A8C8FC246E1FA6 /* Debug */, 534 | 731DC216E1A58545B559F6E0A2418060 /* Release */, 535 | ); 536 | defaultConfigurationIsVisible = 0; 537 | defaultConfigurationName = Release; 538 | }; 539 | 5CE84C1E7A7E037D8456AB1B0188C6D6 /* Build configuration list for PBXNativeTarget "ScreenType" */ = { 540 | isa = XCConfigurationList; 541 | buildConfigurations = ( 542 | 39C7E8F2EBDFD8BEEC118261DD04C63F /* Debug */, 543 | 9E0A6CD74EBF71E7B1594A3FAD8E32F1 /* Release */, 544 | ); 545 | defaultConfigurationIsVisible = 0; 546 | defaultConfigurationName = Release; 547 | }; 548 | B13B0AD1BA6D818BC1BDF227A5562111 /* Build configuration list for PBXNativeTarget "Pods-ScreenType_Example" */ = { 549 | isa = XCConfigurationList; 550 | buildConfigurations = ( 551 | 08C193715FF460B97BC64E88B3CB64C8 /* Debug */, 552 | 98077DA0E650E896795C65584FECECC2 /* Release */, 553 | ); 554 | defaultConfigurationIsVisible = 0; 555 | defaultConfigurationName = Release; 556 | }; 557 | /* End XCConfigurationList section */ 558 | }; 559 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 560 | } 561 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/maxstein.xcuserdatad/xcschemes/Pods-ScreenType_Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 31 | 32 | 33 | 34 | 35 | 36 | 47 | 48 | 54 | 55 | 56 | 57 | 58 | 59 | 65 | 66 | 68 | 69 | 72 | 73 | 74 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/maxstein.xcuserdatad/xcschemes/Pods-ScreenType_Tests.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 31 | 32 | 33 | 34 | 35 | 36 | 47 | 48 | 54 | 55 | 56 | 57 | 58 | 59 | 65 | 66 | 68 | 69 | 72 | 73 | 74 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/maxstein.xcuserdatad/xcschemes/ScreenType.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 45 | 46 | 52 | 53 | 55 | 56 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/maxstein.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Pods-ScreenType_Example.xcscheme 8 | 9 | isShown 10 | 11 | 12 | Pods-ScreenType_Tests.xcscheme 13 | 14 | isShown 15 | 16 | 17 | ScreenType.xcscheme 18 | 19 | isShown 20 | 21 | 22 | 23 | SuppressBuildableAutocreation 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ScreenType_Example/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ScreenType_Example/Pods-ScreenType_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## ScreenType 5 | 6 | Copyright (c) 2017 Max Stein 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | 26 | Generated by CocoaPods - https://cocoapods.org 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ScreenType_Example/Pods-ScreenType_Example-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Copyright (c) 2017 Max Stein 18 | 19 | Permission is hereby granted, free of charge, to any person obtaining a copy 20 | of this software and associated documentation files (the "Software"), to deal 21 | in the Software without restriction, including without limitation the rights 22 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 23 | copies of the Software, and to permit persons to whom the Software is 24 | furnished to do so, subject to the following conditions: 25 | 26 | The above copyright notice and this permission notice shall be included in 27 | all copies or substantial portions of the Software. 28 | 29 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 30 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 31 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 32 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 33 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 34 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 35 | THE SOFTWARE. 36 | 37 | License 38 | MIT 39 | Title 40 | ScreenType 41 | Type 42 | PSGroupSpecifier 43 | 44 | 45 | FooterText 46 | Generated by CocoaPods - https://cocoapods.org 47 | Title 48 | 49 | Type 50 | PSGroupSpecifier 51 | 52 | 53 | StringsTable 54 | Acknowledgements 55 | Title 56 | Acknowledgements 57 | 58 | 59 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ScreenType_Example/Pods-ScreenType_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_ScreenType_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_ScreenType_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ScreenType_Example/Pods-ScreenType_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 10 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 11 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 12 | 13 | install_framework() 14 | { 15 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 16 | local source="${BUILT_PRODUCTS_DIR}/$1" 17 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 18 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 19 | elif [ -r "$1" ]; then 20 | local source="$1" 21 | fi 22 | 23 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 24 | 25 | if [ -L "${source}" ]; then 26 | echo "Symlinked..." 27 | source="$(readlink "${source}")" 28 | fi 29 | 30 | # Use filter instead of exclude so missing patterns don't throw errors. 31 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 32 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 33 | 34 | local basename 35 | basename="$(basename -s .framework "$1")" 36 | binary="${destination}/${basename}.framework/${basename}" 37 | if ! [ -r "$binary" ]; then 38 | binary="${destination}/${basename}" 39 | fi 40 | 41 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 42 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 43 | strip_invalid_archs "$binary" 44 | fi 45 | 46 | # Resign the code if required by the build settings to avoid unstable apps 47 | code_sign_if_enabled "${destination}/$(basename "$1")" 48 | 49 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 50 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 51 | local swift_runtime_libs 52 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 53 | for lib in $swift_runtime_libs; do 54 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 55 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 56 | code_sign_if_enabled "${destination}/${lib}" 57 | done 58 | fi 59 | } 60 | 61 | # Copies the dSYM of a vendored framework 62 | install_dsym() { 63 | local source="$1" 64 | if [ -r "$source" ]; then 65 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DWARF_DSYM_FOLDER_PATH}\"" 66 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DWARF_DSYM_FOLDER_PATH}" 67 | fi 68 | } 69 | 70 | # Signs a framework with the provided identity 71 | code_sign_if_enabled() { 72 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 73 | # Use the current code_sign_identitiy 74 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 75 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 76 | 77 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 78 | code_sign_cmd="$code_sign_cmd &" 79 | fi 80 | echo "$code_sign_cmd" 81 | eval "$code_sign_cmd" 82 | fi 83 | } 84 | 85 | # Strip invalid architectures 86 | strip_invalid_archs() { 87 | binary="$1" 88 | # Get architectures for current file 89 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 90 | stripped="" 91 | for arch in $archs; do 92 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 93 | # Strip non-valid architectures in-place 94 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 95 | stripped="$stripped $arch" 96 | fi 97 | done 98 | if [[ "$stripped" ]]; then 99 | echo "Stripped $binary of architectures:$stripped" 100 | fi 101 | } 102 | 103 | 104 | if [[ "$CONFIGURATION" == "Debug" ]]; then 105 | install_framework "${BUILT_PRODUCTS_DIR}/ScreenType/ScreenType.framework" 106 | fi 107 | if [[ "$CONFIGURATION" == "Release" ]]; then 108 | install_framework "${BUILT_PRODUCTS_DIR}/ScreenType/ScreenType.framework" 109 | fi 110 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 111 | wait 112 | fi 113 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ScreenType_Example/Pods-ScreenType_Example-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 12 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 13 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 14 | 15 | case "${TARGETED_DEVICE_FAMILY}" in 16 | 1,2) 17 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 18 | ;; 19 | 1) 20 | TARGET_DEVICE_ARGS="--target-device iphone" 21 | ;; 22 | 2) 23 | TARGET_DEVICE_ARGS="--target-device ipad" 24 | ;; 25 | 3) 26 | TARGET_DEVICE_ARGS="--target-device tv" 27 | ;; 28 | 4) 29 | TARGET_DEVICE_ARGS="--target-device watch" 30 | ;; 31 | *) 32 | TARGET_DEVICE_ARGS="--target-device mac" 33 | ;; 34 | esac 35 | 36 | install_resource() 37 | { 38 | if [[ "$1" = /* ]] ; then 39 | RESOURCE_PATH="$1" 40 | else 41 | RESOURCE_PATH="${PODS_ROOT}/$1" 42 | fi 43 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 44 | cat << EOM 45 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 46 | EOM 47 | exit 1 48 | fi 49 | case $RESOURCE_PATH in 50 | *.storyboard) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.xib) 55 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 56 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 57 | ;; 58 | *.framework) 59 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 60 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 61 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 62 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 63 | ;; 64 | *.xcdatamodel) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 67 | ;; 68 | *.xcdatamodeld) 69 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 70 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 71 | ;; 72 | *.xcmappingmodel) 73 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 74 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 75 | ;; 76 | *.xcassets) 77 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 78 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 79 | ;; 80 | *) 81 | echo "$RESOURCE_PATH" || true 82 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 83 | ;; 84 | esac 85 | } 86 | 87 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 89 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 90 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 91 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 92 | fi 93 | rm -f "$RESOURCES_TO_COPY" 94 | 95 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 96 | then 97 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 98 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 99 | while read line; do 100 | if [[ $line != "${PODS_ROOT}*" ]]; then 101 | XCASSET_FILES+=("$line") 102 | fi 103 | done <<<"$OTHER_XCASSETS" 104 | 105 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 106 | fi 107 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ScreenType_Example/Pods-ScreenType_Example-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_ScreenType_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_ScreenType_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ScreenType_Example/Pods-ScreenType_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/ScreenType" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/ScreenType/ScreenType.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "ScreenType" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = $BUILD_DIR 9 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ScreenType_Example/Pods-ScreenType_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_ScreenType_Example { 2 | umbrella header "Pods-ScreenType_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ScreenType_Example/Pods-ScreenType_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/ScreenType" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/ScreenType/ScreenType.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "ScreenType" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = $BUILD_DIR 9 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ScreenType/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.3 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ScreenType/ScreenType-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_ScreenType : NSObject 3 | @end 4 | @implementation PodsDummy_ScreenType 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ScreenType/ScreenType-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ScreenType/ScreenType-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double ScreenTypeVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char ScreenTypeVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ScreenType/ScreenType.modulemap: -------------------------------------------------------------------------------- 1 | framework module ScreenType { 2 | umbrella header "ScreenType-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ScreenType/ScreenType.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/ScreenType 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /Example/ScreenType.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 11 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 12 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 13 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 14 | 6AC81C761F95A54E009597A6 /* ScreenTypeObjectiveCViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6AC81C731F95A54D009597A6 /* ScreenTypeObjectiveCViewController.m */; }; 15 | 6AC81C771F95A54E009597A6 /* ScreenTypeDisplayViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6AC81C741F95A54D009597A6 /* ScreenTypeDisplayViewController.swift */; }; 16 | 71403F1E123C895FE9C1375D /* Pods_ScreenType_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1A59C36BE1A55456FCFF766D /* Pods_ScreenType_Example.framework */; }; 17 | /* End PBXBuildFile section */ 18 | 19 | /* Begin PBXFileReference section */ 20 | 048B472C5F64B3F3CD4CAA37 /* ScreenType.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = ScreenType.podspec; path = ../ScreenType.podspec; sourceTree = ""; }; 21 | 0A69720A1F9546EE0055C432 /* ScreenType_Example-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ScreenType_Example-Bridging-Header.h"; sourceTree = ""; }; 22 | 1A59C36BE1A55456FCFF766D /* Pods_ScreenType_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ScreenType_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 23 | 607FACD01AFB9204008FA782 /* ScreenType_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ScreenType_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 24 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 25 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 26 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 27 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 28 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 29 | 63C7A909160E2A19FDF46683 /* Pods-ScreenType_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ScreenType_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-ScreenType_Tests/Pods-ScreenType_Tests.debug.xcconfig"; sourceTree = ""; }; 30 | 68AE013678B9C477CA436F74 /* Pods-ScreenType_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ScreenType_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-ScreenType_Example/Pods-ScreenType_Example.release.xcconfig"; sourceTree = ""; }; 31 | 6AC81C731F95A54D009597A6 /* ScreenTypeObjectiveCViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ScreenTypeObjectiveCViewController.m; sourceTree = ""; }; 32 | 6AC81C741F95A54D009597A6 /* ScreenTypeDisplayViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ScreenTypeDisplayViewController.swift; sourceTree = ""; }; 33 | 6AC81C751F95A54D009597A6 /* ScreenTypeObjectiveCViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ScreenTypeObjectiveCViewController.h; sourceTree = ""; }; 34 | 6F407660BA5DC624EA76BD4E /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 35 | 6F4AA2CED76F145B65581FF6 /* Pods-ScreenType_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ScreenType_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-ScreenType_Example/Pods-ScreenType_Example.debug.xcconfig"; sourceTree = ""; }; 36 | 9FABEB2D2205A10ECCA6471F /* Pods_ScreenType_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ScreenType_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 37 | E02BD9E17520E59499CA5BF8 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 38 | FA5B473E0ECE0655D471B6A2 /* Pods-ScreenType_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ScreenType_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-ScreenType_Tests/Pods-ScreenType_Tests.release.xcconfig"; sourceTree = ""; }; 39 | /* End PBXFileReference section */ 40 | 41 | /* Begin PBXFrameworksBuildPhase section */ 42 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 43 | isa = PBXFrameworksBuildPhase; 44 | buildActionMask = 2147483647; 45 | files = ( 46 | 71403F1E123C895FE9C1375D /* Pods_ScreenType_Example.framework in Frameworks */, 47 | ); 48 | runOnlyForDeploymentPostprocessing = 0; 49 | }; 50 | /* End PBXFrameworksBuildPhase section */ 51 | 52 | /* Begin PBXGroup section */ 53 | 607FACC71AFB9204008FA782 = { 54 | isa = PBXGroup; 55 | children = ( 56 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 57 | 607FACD21AFB9204008FA782 /* Example for ScreenType */, 58 | 607FACD11AFB9204008FA782 /* Products */, 59 | 6E71D87B9098D99F542BD045 /* Pods */, 60 | A36394B7EE9BA9ABF538B3C9 /* Frameworks */, 61 | ); 62 | sourceTree = ""; 63 | }; 64 | 607FACD11AFB9204008FA782 /* Products */ = { 65 | isa = PBXGroup; 66 | children = ( 67 | 607FACD01AFB9204008FA782 /* ScreenType_Example.app */, 68 | ); 69 | name = Products; 70 | sourceTree = ""; 71 | }; 72 | 607FACD21AFB9204008FA782 /* Example for ScreenType */ = { 73 | isa = PBXGroup; 74 | children = ( 75 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 76 | 6AC81C741F95A54D009597A6 /* ScreenTypeDisplayViewController.swift */, 77 | 6AC81C751F95A54D009597A6 /* ScreenTypeObjectiveCViewController.h */, 78 | 6AC81C731F95A54D009597A6 /* ScreenTypeObjectiveCViewController.m */, 79 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 80 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 81 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 82 | 607FACD31AFB9204008FA782 /* Supporting Files */, 83 | 0A69720A1F9546EE0055C432 /* ScreenType_Example-Bridging-Header.h */, 84 | ); 85 | name = "Example for ScreenType"; 86 | path = ScreenType; 87 | sourceTree = ""; 88 | }; 89 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 90 | isa = PBXGroup; 91 | children = ( 92 | 607FACD41AFB9204008FA782 /* Info.plist */, 93 | ); 94 | name = "Supporting Files"; 95 | sourceTree = ""; 96 | }; 97 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 98 | isa = PBXGroup; 99 | children = ( 100 | 048B472C5F64B3F3CD4CAA37 /* ScreenType.podspec */, 101 | 6F407660BA5DC624EA76BD4E /* README.md */, 102 | E02BD9E17520E59499CA5BF8 /* LICENSE */, 103 | ); 104 | name = "Podspec Metadata"; 105 | sourceTree = ""; 106 | }; 107 | 6E71D87B9098D99F542BD045 /* Pods */ = { 108 | isa = PBXGroup; 109 | children = ( 110 | 6F4AA2CED76F145B65581FF6 /* Pods-ScreenType_Example.debug.xcconfig */, 111 | 68AE013678B9C477CA436F74 /* Pods-ScreenType_Example.release.xcconfig */, 112 | 63C7A909160E2A19FDF46683 /* Pods-ScreenType_Tests.debug.xcconfig */, 113 | FA5B473E0ECE0655D471B6A2 /* Pods-ScreenType_Tests.release.xcconfig */, 114 | ); 115 | name = Pods; 116 | sourceTree = ""; 117 | }; 118 | A36394B7EE9BA9ABF538B3C9 /* Frameworks */ = { 119 | isa = PBXGroup; 120 | children = ( 121 | 1A59C36BE1A55456FCFF766D /* Pods_ScreenType_Example.framework */, 122 | 9FABEB2D2205A10ECCA6471F /* Pods_ScreenType_Tests.framework */, 123 | ); 124 | name = Frameworks; 125 | sourceTree = ""; 126 | }; 127 | /* End PBXGroup section */ 128 | 129 | /* Begin PBXNativeTarget section */ 130 | 607FACCF1AFB9204008FA782 /* ScreenType_Example */ = { 131 | isa = PBXNativeTarget; 132 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "ScreenType_Example" */; 133 | buildPhases = ( 134 | 72FF0539D601DF0FC928ECED /* [CP] Check Pods Manifest.lock */, 135 | 607FACCC1AFB9204008FA782 /* Sources */, 136 | 607FACCD1AFB9204008FA782 /* Frameworks */, 137 | 607FACCE1AFB9204008FA782 /* Resources */, 138 | 4328BA6FB4FE15FAFF0FD6F4 /* [CP] Embed Pods Frameworks */, 139 | 9F4E66C28D1B93CAFC513EB1 /* [CP] Copy Pods Resources */, 140 | ); 141 | buildRules = ( 142 | ); 143 | dependencies = ( 144 | ); 145 | name = ScreenType_Example; 146 | productName = ScreenType; 147 | productReference = 607FACD01AFB9204008FA782 /* ScreenType_Example.app */; 148 | productType = "com.apple.product-type.application"; 149 | }; 150 | /* End PBXNativeTarget section */ 151 | 152 | /* Begin PBXProject section */ 153 | 607FACC81AFB9204008FA782 /* Project object */ = { 154 | isa = PBXProject; 155 | attributes = { 156 | LastSwiftUpdateCheck = 0830; 157 | LastUpgradeCheck = 0830; 158 | ORGANIZATIONNAME = CocoaPods; 159 | TargetAttributes = { 160 | 607FACCF1AFB9204008FA782 = { 161 | CreatedOnToolsVersion = 6.3.1; 162 | LastSwiftMigration = 0900; 163 | }; 164 | }; 165 | }; 166 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "ScreenType" */; 167 | compatibilityVersion = "Xcode 3.2"; 168 | developmentRegion = English; 169 | hasScannedForEncodings = 0; 170 | knownRegions = ( 171 | en, 172 | Base, 173 | ); 174 | mainGroup = 607FACC71AFB9204008FA782; 175 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 176 | projectDirPath = ""; 177 | projectRoot = ""; 178 | targets = ( 179 | 607FACCF1AFB9204008FA782 /* ScreenType_Example */, 180 | ); 181 | }; 182 | /* End PBXProject section */ 183 | 184 | /* Begin PBXResourcesBuildPhase section */ 185 | 607FACCE1AFB9204008FA782 /* Resources */ = { 186 | isa = PBXResourcesBuildPhase; 187 | buildActionMask = 2147483647; 188 | files = ( 189 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 190 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 191 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 192 | ); 193 | runOnlyForDeploymentPostprocessing = 0; 194 | }; 195 | /* End PBXResourcesBuildPhase section */ 196 | 197 | /* Begin PBXShellScriptBuildPhase section */ 198 | 4328BA6FB4FE15FAFF0FD6F4 /* [CP] Embed Pods Frameworks */ = { 199 | isa = PBXShellScriptBuildPhase; 200 | buildActionMask = 2147483647; 201 | files = ( 202 | ); 203 | inputPaths = ( 204 | "${SRCROOT}/Pods/Target Support Files/Pods-ScreenType_Example/Pods-ScreenType_Example-frameworks.sh", 205 | "${BUILT_PRODUCTS_DIR}/ScreenType/ScreenType.framework", 206 | ); 207 | name = "[CP] Embed Pods Frameworks"; 208 | outputPaths = ( 209 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ScreenType.framework", 210 | ); 211 | runOnlyForDeploymentPostprocessing = 0; 212 | shellPath = /bin/sh; 213 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ScreenType_Example/Pods-ScreenType_Example-frameworks.sh\"\n"; 214 | showEnvVarsInLog = 0; 215 | }; 216 | 72FF0539D601DF0FC928ECED /* [CP] Check Pods Manifest.lock */ = { 217 | isa = PBXShellScriptBuildPhase; 218 | buildActionMask = 2147483647; 219 | files = ( 220 | ); 221 | inputPaths = ( 222 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 223 | "${PODS_ROOT}/Manifest.lock", 224 | ); 225 | name = "[CP] Check Pods Manifest.lock"; 226 | outputPaths = ( 227 | "$(DERIVED_FILE_DIR)/Pods-ScreenType_Example-checkManifestLockResult.txt", 228 | ); 229 | runOnlyForDeploymentPostprocessing = 0; 230 | shellPath = /bin/sh; 231 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 232 | showEnvVarsInLog = 0; 233 | }; 234 | 9F4E66C28D1B93CAFC513EB1 /* [CP] Copy Pods Resources */ = { 235 | isa = PBXShellScriptBuildPhase; 236 | buildActionMask = 2147483647; 237 | files = ( 238 | ); 239 | inputPaths = ( 240 | ); 241 | name = "[CP] Copy Pods Resources"; 242 | outputPaths = ( 243 | ); 244 | runOnlyForDeploymentPostprocessing = 0; 245 | shellPath = /bin/sh; 246 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ScreenType_Example/Pods-ScreenType_Example-resources.sh\"\n"; 247 | showEnvVarsInLog = 0; 248 | }; 249 | /* End PBXShellScriptBuildPhase section */ 250 | 251 | /* Begin PBXSourcesBuildPhase section */ 252 | 607FACCC1AFB9204008FA782 /* Sources */ = { 253 | isa = PBXSourcesBuildPhase; 254 | buildActionMask = 2147483647; 255 | files = ( 256 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 257 | 6AC81C771F95A54E009597A6 /* ScreenTypeDisplayViewController.swift in Sources */, 258 | 6AC81C761F95A54E009597A6 /* ScreenTypeObjectiveCViewController.m in Sources */, 259 | ); 260 | runOnlyForDeploymentPostprocessing = 0; 261 | }; 262 | /* End PBXSourcesBuildPhase section */ 263 | 264 | /* Begin PBXVariantGroup section */ 265 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 266 | isa = PBXVariantGroup; 267 | children = ( 268 | 607FACDA1AFB9204008FA782 /* Base */, 269 | ); 270 | name = Main.storyboard; 271 | sourceTree = ""; 272 | }; 273 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 274 | isa = PBXVariantGroup; 275 | children = ( 276 | 607FACDF1AFB9204008FA782 /* Base */, 277 | ); 278 | name = LaunchScreen.xib; 279 | sourceTree = ""; 280 | }; 281 | /* End PBXVariantGroup section */ 282 | 283 | /* Begin XCBuildConfiguration section */ 284 | 607FACED1AFB9204008FA782 /* Debug */ = { 285 | isa = XCBuildConfiguration; 286 | buildSettings = { 287 | ALWAYS_SEARCH_USER_PATHS = NO; 288 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 289 | CLANG_CXX_LIBRARY = "libc++"; 290 | CLANG_ENABLE_MODULES = YES; 291 | CLANG_ENABLE_OBJC_ARC = YES; 292 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 293 | CLANG_WARN_BOOL_CONVERSION = YES; 294 | CLANG_WARN_COMMA = YES; 295 | CLANG_WARN_CONSTANT_CONVERSION = YES; 296 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 297 | CLANG_WARN_EMPTY_BODY = YES; 298 | CLANG_WARN_ENUM_CONVERSION = YES; 299 | CLANG_WARN_INFINITE_RECURSION = YES; 300 | CLANG_WARN_INT_CONVERSION = YES; 301 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 302 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 303 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 304 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 305 | CLANG_WARN_STRICT_PROTOTYPES = YES; 306 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 307 | CLANG_WARN_UNREACHABLE_CODE = YES; 308 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 309 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 310 | COPY_PHASE_STRIP = NO; 311 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 312 | ENABLE_STRICT_OBJC_MSGSEND = YES; 313 | ENABLE_TESTABILITY = YES; 314 | GCC_C_LANGUAGE_STANDARD = gnu99; 315 | GCC_DYNAMIC_NO_PIC = NO; 316 | GCC_NO_COMMON_BLOCKS = YES; 317 | GCC_OPTIMIZATION_LEVEL = 0; 318 | GCC_PREPROCESSOR_DEFINITIONS = ( 319 | "DEBUG=1", 320 | "$(inherited)", 321 | ); 322 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 323 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 324 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 325 | GCC_WARN_UNDECLARED_SELECTOR = YES; 326 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 327 | GCC_WARN_UNUSED_FUNCTION = YES; 328 | GCC_WARN_UNUSED_VARIABLE = YES; 329 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 330 | MTL_ENABLE_DEBUG_INFO = YES; 331 | ONLY_ACTIVE_ARCH = YES; 332 | SDKROOT = iphoneos; 333 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 334 | }; 335 | name = Debug; 336 | }; 337 | 607FACEE1AFB9204008FA782 /* Release */ = { 338 | isa = XCBuildConfiguration; 339 | buildSettings = { 340 | ALWAYS_SEARCH_USER_PATHS = NO; 341 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 342 | CLANG_CXX_LIBRARY = "libc++"; 343 | CLANG_ENABLE_MODULES = YES; 344 | CLANG_ENABLE_OBJC_ARC = YES; 345 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 346 | CLANG_WARN_BOOL_CONVERSION = YES; 347 | CLANG_WARN_COMMA = YES; 348 | CLANG_WARN_CONSTANT_CONVERSION = YES; 349 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 350 | CLANG_WARN_EMPTY_BODY = YES; 351 | CLANG_WARN_ENUM_CONVERSION = YES; 352 | CLANG_WARN_INFINITE_RECURSION = YES; 353 | CLANG_WARN_INT_CONVERSION = YES; 354 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 355 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 356 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 357 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 358 | CLANG_WARN_STRICT_PROTOTYPES = YES; 359 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 360 | CLANG_WARN_UNREACHABLE_CODE = YES; 361 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 362 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 363 | COPY_PHASE_STRIP = NO; 364 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 365 | ENABLE_NS_ASSERTIONS = NO; 366 | ENABLE_STRICT_OBJC_MSGSEND = YES; 367 | GCC_C_LANGUAGE_STANDARD = gnu99; 368 | GCC_NO_COMMON_BLOCKS = YES; 369 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 370 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 371 | GCC_WARN_UNDECLARED_SELECTOR = YES; 372 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 373 | GCC_WARN_UNUSED_FUNCTION = YES; 374 | GCC_WARN_UNUSED_VARIABLE = YES; 375 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 376 | MTL_ENABLE_DEBUG_INFO = NO; 377 | SDKROOT = iphoneos; 378 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 379 | VALIDATE_PRODUCT = YES; 380 | }; 381 | name = Release; 382 | }; 383 | 607FACF01AFB9204008FA782 /* Debug */ = { 384 | isa = XCBuildConfiguration; 385 | baseConfigurationReference = 6F4AA2CED76F145B65581FF6 /* Pods-ScreenType_Example.debug.xcconfig */; 386 | buildSettings = { 387 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 388 | CLANG_ENABLE_MODULES = YES; 389 | DEVELOPMENT_TEAM = ""; 390 | INFOPLIST_FILE = ScreenType/Info.plist; 391 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 392 | MODULE_NAME = ExampleApp; 393 | PRODUCT_BUNDLE_IDENTIFIER = "com.maxstein.ScreenType-Example"; 394 | PRODUCT_NAME = "$(TARGET_NAME)"; 395 | SWIFT_OBJC_BRIDGING_HEADER = "ScreenType/ScreenType_Example-Bridging-Header.h"; 396 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 397 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 398 | SWIFT_VERSION = 4.0; 399 | TARGETED_DEVICE_FAMILY = "1,2"; 400 | }; 401 | name = Debug; 402 | }; 403 | 607FACF11AFB9204008FA782 /* Release */ = { 404 | isa = XCBuildConfiguration; 405 | baseConfigurationReference = 68AE013678B9C477CA436F74 /* Pods-ScreenType_Example.release.xcconfig */; 406 | buildSettings = { 407 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 408 | CLANG_ENABLE_MODULES = YES; 409 | DEVELOPMENT_TEAM = ""; 410 | INFOPLIST_FILE = ScreenType/Info.plist; 411 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 412 | MODULE_NAME = ExampleApp; 413 | PRODUCT_BUNDLE_IDENTIFIER = "com.maxstein.ScreenType-Example"; 414 | PRODUCT_NAME = "$(TARGET_NAME)"; 415 | SWIFT_OBJC_BRIDGING_HEADER = "ScreenType/ScreenType_Example-Bridging-Header.h"; 416 | SWIFT_SWIFT3_OBJC_INFERENCE = Default; 417 | SWIFT_VERSION = 4.0; 418 | TARGETED_DEVICE_FAMILY = "1,2"; 419 | }; 420 | name = Release; 421 | }; 422 | /* End XCBuildConfiguration section */ 423 | 424 | /* Begin XCConfigurationList section */ 425 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "ScreenType" */ = { 426 | isa = XCConfigurationList; 427 | buildConfigurations = ( 428 | 607FACED1AFB9204008FA782 /* Debug */, 429 | 607FACEE1AFB9204008FA782 /* Release */, 430 | ); 431 | defaultConfigurationIsVisible = 0; 432 | defaultConfigurationName = Release; 433 | }; 434 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "ScreenType_Example" */ = { 435 | isa = XCConfigurationList; 436 | buildConfigurations = ( 437 | 607FACF01AFB9204008FA782 /* Debug */, 438 | 607FACF11AFB9204008FA782 /* Release */, 439 | ); 440 | defaultConfigurationIsVisible = 0; 441 | defaultConfigurationName = Release; 442 | }; 443 | /* End XCConfigurationList section */ 444 | }; 445 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 446 | } 447 | -------------------------------------------------------------------------------- /Example/ScreenType.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/ScreenType.xcodeproj/xcshareddata/xcschemes/ScreenType-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 45 | 46 | 48 | 54 | 55 | 56 | 57 | 58 | 64 | 65 | 66 | 67 | 68 | 69 | 80 | 82 | 88 | 89 | 90 | 91 | 92 | 93 | 99 | 101 | 107 | 108 | 109 | 110 | 112 | 113 | 116 | 117 | 118 | -------------------------------------------------------------------------------- /Example/ScreenType.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/ScreenType.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/ScreenType.xcworkspace/xcuserdata/maxstein.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allgamesallfree/ScreenType/72ee5e103cfd0cc55845c30fc206ed6218b75da5/Example/ScreenType.xcworkspace/xcuserdata/maxstein.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Example/ScreenType/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // ScreenType 4 | // 5 | // Created by allgamesallfree on 10/16/2017. 6 | // Copyright (c) 2017 allgamesallfree. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | 17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { 18 | // Override point for customization after application launch. 19 | return true 20 | } 21 | 22 | func applicationWillResignActive(_ application: UIApplication) { 23 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 24 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 25 | } 26 | 27 | func applicationDidEnterBackground(_ application: UIApplication) { 28 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 30 | } 31 | 32 | func applicationWillEnterForeground(_ application: UIApplication) { 33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | func applicationDidBecomeActive(_ application: UIApplication) { 37 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 38 | } 39 | 40 | func applicationWillTerminate(_ application: UIApplication) { 41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 42 | } 43 | 44 | 45 | } 46 | 47 | -------------------------------------------------------------------------------- /Example/ScreenType/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 25 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /Example/ScreenType/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /Example/ScreenType/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | }, 43 | { 44 | "idiom" : "ios-marketing", 45 | "size" : "1024x1024", 46 | "scale" : "1x" 47 | } 48 | ], 49 | "info" : { 50 | "version" : 1, 51 | "author" : "xcode" 52 | } 53 | } -------------------------------------------------------------------------------- /Example/ScreenType/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /Example/ScreenType/ScreenTypeDisplayViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ScreenTypeDisplayViewController.swift 3 | // ScreenType_Example 4 | // 5 | // Created by Maxwell Stein on 10/8/17. 6 | // Copyright © 2017 Maxwell Stein. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import ScreenType 11 | 12 | class ScreenTypeDisplayViewController: UIViewController { 13 | 14 | @IBOutlet weak var screenTypeLabel: UILabel! 15 | 16 | override func viewDidLoad() { 17 | super.viewDidLoad() 18 | 19 | displayScreenType() 20 | addObjectiveCView() 21 | 22 | if UIScreen.current == .iPhone5_8 { 23 | print("Screen type is iPhone 5.8 inch") 24 | } 25 | 26 | if UIScreen.current == .iPhone4_7 || UIScreen.current == .iPhone5_5 { 27 | print("Screen type is either iPhone 4.7 inch or 5.5 inch") 28 | } 29 | 30 | if UIScreen.current < .iPhone4_7 { 31 | print("Screen is smaller than an iPhone 4.7 inch") 32 | } 33 | 34 | if UIScreen.current >= .iPad10_5 { 35 | print("Screen type is either iPad 10.5 or iPad 12.9") 36 | } 37 | 38 | let isIPhone4Or5 = UIScreen.current == .iPhone3_5 || UIScreen.current == .iPhone4_0 39 | let isIPhone4Or5Description = isIPhone4Or5 ? "Screen type is either iPhone 4 or 5/C/S" : "Screen type is not iPhone 4 or 5/C/S" 40 | print(isIPhone4Or5Description) 41 | 42 | let isIPhone6OrLater = UIScreen.current >= .iPhone4_7 && UIScreen.current < .iPad9_7 43 | if isIPhone6OrLater { 44 | print("Screen type is iPhone 6/7/8, 6/7/8 Plus, or X") 45 | } 46 | 47 | } 48 | 49 | private func addObjectiveCView() { 50 | let objectiveCViewController = ScreenTypeObjectiveCViewController() 51 | addChildViewController(objectiveCViewController) 52 | view.addSubview(objectiveCViewController.view) 53 | } 54 | 55 | /// Gets the current iPhone/iPad screen type and displays it 56 | private func displayScreenType() { 57 | let screenName: String = { 58 | switch UIScreen.current { 59 | case .iPhone3_5: 60 | return "iPhone 3.5 inch" 61 | case .iPhone4_0: 62 | return "iPhone 4.0 inch" 63 | case .iPhone4_7: 64 | return "iPhone 4.7 inch" 65 | case .iPhone5_5: 66 | return "iPhone 5.5 inch" 67 | case .iPhone5_8: 68 | return "iPhone 5.8 inch" 69 | case .iPhone6_1: 70 | return "iPhone 6.1 inch" 71 | case .iPhone6_5: 72 | return "iPhone 6.5 inch" 73 | case .iPad9_7: 74 | return "iPad 9.7 inch" 75 | case .iPad10_5: 76 | return "iPad 10.5 inch" 77 | case .iPad12_9: 78 | return "iPad 12.9 inch" 79 | case .unknown: 80 | return "unknown" 81 | } 82 | }() 83 | screenTypeLabel.text = screenName 84 | } 85 | 86 | } 87 | -------------------------------------------------------------------------------- /Example/ScreenType/ScreenTypeObjectiveCViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ObjectiveCViewController.h 3 | // ScreenType_Example 4 | // 5 | // Created by Stein, Maxwell on 10/16/17. 6 | // Copyright © 2017 CocoaPods. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ScreenTypeObjectiveCViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Example/ScreenType/ScreenTypeObjectiveCViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // ScreenTypeObjectiveCViewController.m 3 | // ScreenType_Example 4 | // 5 | // Created by Stein, Maxwell on 10/16/17. 6 | // Copyright © 2017 CocoaPods. All rights reserved. 7 | // 8 | 9 | #import "ScreenTypeObjectiveCViewController.h" 10 | #import "ScreenType-Swift.h" 11 | 12 | @interface ScreenTypeObjectiveCViewController () 13 | 14 | @end 15 | 16 | @implementation ScreenTypeObjectiveCViewController 17 | 18 | - (void)viewDidLoad { 19 | [super viewDidLoad]; 20 | // Do any additional setup after loading the view. 21 | 22 | if ([UIScreen current] == ScreenTypeIPhone5_8) { 23 | NSLog(@"Screen Type is iPhone 5.8 inch"); 24 | } 25 | 26 | if ([UIScreen current] > ScreenTypeIPhone4_0) { 27 | NSLog(@"Screen is larger than an iPhone 4.0 inch"); 28 | } 29 | } 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /Example/ScreenType/ScreenType_Example-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | // 2 | // Use this file to import your target's public headers that you would like to expose to Swift. 3 | // 4 | 5 | #import "ScreenTypeObjectiveCViewController.h" 6 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017-2018 Limitless Apps LLC 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ScreenType 2 | 3 | ![ScreenType](/ScreenType.gif "ScreenType") 4 | 5 | [![Version](https://img.shields.io/cocoapods/v/ScreenType.svg?style=flat)](http://cocoapods.org/pods/ScreenType) 6 | [![License](https://img.shields.io/cocoapods/l/ScreenType.svg?style=flat)](http://cocoapods.org/pods/ScreenType) 7 | [![Platform](https://img.shields.io/cocoapods/p/ScreenType.svg?style=flat)](http://cocoapods.org/pods/ScreenType) 8 | 9 | Easily distinguish between iPhone models in Objective-C and Swift. 10 | 11 | ## Example 12 | 13 | To demo the example project, clone or download the repo, and open "*ScreenType.xcworkspace*" from the "*Example*" directory. 14 | 15 | ## Requirements 16 | 17 | Swift 4.0+ 18 | 19 | Xcode 9.0+ 20 | 21 | iOS 9.0+ 22 | 23 | ## Installation 24 | 25 | ScreenType is available through [CocoaPods](https://cocoapods.org/pods/ScreenType). To install 26 | it, simply add the following line to your Podfile: 27 | 28 | ```ruby 29 | pod 'ScreenType' 30 | ``` 31 | 32 | ### Manual Installation 33 | 34 | Install ScreenType manually by importing [ScreenType.swift](https://github.com/allgamesallfree/ScreenType/blob/master/ScreenType/Classes/ScreenType.swift) into your project 35 | 36 | ## Usage 37 | 38 | ### Swift 39 | 40 | If you're using Cocoapods add: `import ScreenType` prior to using ScreenType in your file. 41 | 42 | ```Swift 43 | // Check for a specific model 44 | if UIScreen.current == .iPhone5_8 { 45 | print("Screen type is iPhone X") 46 | } 47 | 48 | // Check for multiple models 49 | if UIScreen.current == .iPhone4_7 || UIScreen.current == .iPhone5_5 { 50 | print("Screen type is either iPhone 6/7/8 or 6/7/8 Plus") 51 | } 52 | 53 | // Find all models smaller than a certain screen size 54 | if UIScreen.current < .iPhone4_7 { 55 | print("Screen is smaller than an iPhone 6/7/8") 56 | } 57 | 58 | // Find all models larger than or equal to a certain screen size 59 | if UIScreen.current >= .iPad10_5 { 60 | print("Screen type is either iPad 10.5 or iPad 12.9") 61 | } 62 | 63 | ``` 64 | 65 | ### Objective-C 66 | 67 | You'll need a [bridging header](https://www.hackingwithswift.com/example-code/language/how-to-create-an-objective-c-bridging-header-to-use-code-in-swift) in order to use ScreenType in Objective-C. 68 | 69 | If you're using Cocoapods add `@import ScreenType;` to the top of your file as well. 70 | 71 | ```Objective-C 72 | // Check for a specific model 73 | if ([UIScreen current] == ScreenTypeIPhone5_8) { 74 | NSLog(@"Screen Type is iPhone X"); 75 | } 76 | 77 | // Find all models larger than a certain screen size 78 | if ([UIScreen current] > ScreenTypeIPhone4_0) { 79 | NSLog(@"Screen is larger than an iPhone 5/S/C"); 80 | } 81 | ``` 82 | 83 | ## Contributions 84 | 85 | You are welcome to fork and submit pull requests 86 | 87 | ## Author 88 | 89 | Max Stein | [maxste.in](https://maxste.in) | [Twitter](https://twitter.com/maxsteinapps) 90 | 91 | ## License 92 | 93 | ScreenType is available under the MIT license. See the LICENSE file for more info. 94 | -------------------------------------------------------------------------------- /ScreenType.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allgamesallfree/ScreenType/72ee5e103cfd0cc55845c30fc206ed6218b75da5/ScreenType.gif -------------------------------------------------------------------------------- /ScreenType.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allgamesallfree/ScreenType/72ee5e103cfd0cc55845c30fc206ed6218b75da5/ScreenType.png -------------------------------------------------------------------------------- /ScreenType.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint ScreenType.podspec' to ensure this is a 3 | # valid spec before submitting. 4 | # 5 | # Any lines starting with a # are optional, but their use is encouraged 6 | # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html 7 | # 8 | 9 | Pod::Spec.new do |s| 10 | s.name = 'ScreenType' 11 | s.version = '1.0.3' 12 | s.summary = 'Easily distinguish between iPhone models in Objective-C and Swift' 13 | 14 | # This description is used to generate tags and improve search results. 15 | # * Think: What does it do? Why did you write it? What is the focus? 16 | # * Try to keep it short, snappy and to the point. 17 | # * Write the description between the DESC delimiters below. 18 | # * Finally, don't worry about the indent, CocoaPods strips it! 19 | 20 | s.description = <<-DESC 21 | Enables you to use UIScreen.current to get the ScreenType of the current device and see if it is equal to, greater than, or less than a particular iPhone or iPad model's size. 22 | DESC 23 | 24 | s.homepage = 'https://github.com/allgamesallfree/ScreenType' 25 | s.screenshots = 'https://raw.githubusercontent.com/allgamesallfree/ScreenType/master/ScreenType.png', "https://raw.githubusercontent.com/allgamesallfree/ScreenType/master/ScreenType.gif" 26 | s.license = { :type => 'MIT', :file => 'LICENSE' } 27 | s.author = { 'Max Stein' => 'max34563@gmail.com' } 28 | s.source = { :git => 'https://github.com/allgamesallfree/ScreenType.git', :tag => s.version.to_s } 29 | s.social_media_url = 'https://twitter.com/maxsteinapps' 30 | 31 | s.ios.deployment_target = '9.0' 32 | 33 | s.source_files = 'ScreenType/Classes/**/*' 34 | 35 | # s.resource_bundles = { 36 | # 'ScreenType' => ['ScreenType/Assets/*.png'] 37 | # } 38 | 39 | # s.public_header_files = 'Pod/Classes/**/*.h' 40 | # s.frameworks = 'UIKit', 'MapKit' 41 | # s.dependency 'AFNetworking', '~> 2.3' 42 | end 43 | -------------------------------------------------------------------------------- /ScreenType/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allgamesallfree/ScreenType/72ee5e103cfd0cc55845c30fc206ed6218b75da5/ScreenType/Classes/.gitkeep -------------------------------------------------------------------------------- /ScreenType/Classes/ScreenType.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ScreenType.swift 3 | // ScreenType 4 | // 5 | // Created by Stein, Maxwell on 10/11/17. 6 | // Copyright © 2017 Maxwell Stein. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | /// The screen sizes for all available iPhone's and iPad's 12 | /// 13 | /// - iPhone3_5: 3.5 inch iPhone (4, 4S) 14 | /// - iPhone4_0: 4.0 inch iPhone (5, 5S, 5C, SE) 15 | /// - iPhone4_7: 4.7 inch iPhone (6, 7, 8) 16 | /// - iPhone5_5: 5.5 inch iPhone (6+, 7+, 8+) 17 | /// - iPhone5_8: 5.8 inch iPhone (X, XS) 18 | /// - iPhone6_1: 6.1 inch iPhone (XR) 19 | /// - iPhone6_5: 6.5 inch iPhone (XS Max) 20 | /// - iPad9_7: 9.7 inch iPad 21 | /// - iPad10_5: 10.5 inch iPad 22 | /// - iPad12_9: 12.9 inch iPad 23 | /// - unknown: Couldn't determine device 24 | @objc public enum ScreenType: Int { 25 | /// 3.5 inch iPhone (4, 4S) 26 | case iPhone3_5 27 | 28 | /// 4.0 inch iPhone (5, 5S, 5C, SE) 29 | case iPhone4_0 30 | 31 | /// 4.7 inch iPhone (6, 7, 8) 32 | case iPhone4_7 33 | 34 | /// 5.5 inch iPhone (6+, 7+, 8+) 35 | case iPhone5_5 36 | 37 | /// 5.8 inch iPhone (X, XS) 38 | case iPhone5_8 39 | 40 | /// 6.1 inch iPhone (XR) 41 | case iPhone6_1 42 | 43 | /// 6.5 inch iPhone (XS Max) 44 | case iPhone6_5 45 | 46 | /// 9.7 inch iPad 47 | case iPad9_7 48 | 49 | /// 10.5 inch iPad 50 | case iPad10_5 51 | 52 | /// 12.9 inch iPad 53 | case iPad12_9 54 | 55 | /// Couldn't determine device 56 | case unknown 57 | } 58 | 59 | extension ScreenType: Comparable { 60 | public static func < (lhs: ScreenType, rhs: ScreenType) -> Bool { 61 | return lhs.rawValue < rhs.rawValue 62 | } 63 | } 64 | 65 | extension UIScreen { 66 | /// Gets the iPhone / iPad screen type for the currently running device 67 | @objc public static var current: ScreenType { 68 | let screenLongestSide: CGFloat = max(main.bounds.width, main.bounds.height) 69 | switch screenLongestSide { 70 | case 480: 71 | return .iPhone3_5 72 | case 568: 73 | return .iPhone4_0 74 | case 667: 75 | return .iPhone4_7 76 | case 736: 77 | return .iPhone5_5 78 | case 812: 79 | return .iPhone5_8 80 | case 896: 81 | return main.scale == 3 ? .iPhone6_5 : .iPhone6_1 82 | case 1024: 83 | return .iPad9_7 84 | case 1112: 85 | return .iPad10_5 86 | case 1366: 87 | return .iPad12_9 88 | default: 89 | return .unknown 90 | } 91 | } 92 | } 93 | -------------------------------------------------------------------------------- /_pods.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 01B8E80511941BA724113388151F40EC /* Pods-ScreenType_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = BE92CE4E5741BE152E71FBC310510D8B /* Pods-ScreenType_Example-dummy.m */; }; 11 | 0A69720F1F9547430055C432 /* ScreenType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A69720E1F9547400055C432 /* ScreenType.swift */; }; 12 | 0DEA9FD6FF645B88C37F237025DA315C /* ScreenType-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = DE8AEFFF58AB54C0437E0B34632B25AC /* ScreenType-dummy.m */; }; 13 | 3C67A8269A3932B9D15FA1690076EB9C /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 14 | 6077B71790F6937FF5EFC239AA6D0839 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 15 | 8CF06C7FEFCB98EBAB7C1481EC4FF31F /* Pods-ScreenType_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 85D9332FE86CCA9080A173D351E67E78 /* Pods-ScreenType_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 16 | 9669F52039CFC820AD0BC4FBFAF678F1 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 17 | 9DBBAE7AD38C8C757271752D10A8E80A /* ScreenType-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 88B7595B55A7EEA9544E88EBCCEBD3D0 /* ScreenType-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 18 | D4943FFA440D56848ED37E09F96FFF2F /* Pods-ScreenType_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 10269FE5AA9F80BF7673B64A49BC501F /* Pods-ScreenType_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 19 | E4E2A5DBF72BE02F5B9C3BAC7E5B33BA /* Pods-ScreenType_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 77B61BB63ED922B350269D4472C1EBE4 /* Pods-ScreenType_Tests-dummy.m */; }; 20 | /* End PBXBuildFile section */ 21 | 22 | /* Begin PBXContainerItemProxy section */ 23 | 455742BA7711BDC573B2145DD4044D0A /* PBXContainerItemProxy */ = { 24 | isa = PBXContainerItemProxy; 25 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 26 | proxyType = 1; 27 | remoteGlobalIDString = 8561D657A77E250E3925DB226CB79A0E; 28 | remoteInfo = ScreenType; 29 | }; 30 | /* End PBXContainerItemProxy section */ 31 | 32 | /* Begin PBXFileReference section */ 33 | 06221529CDDD12214E03C3A752CBC935 /* Pods_ScreenType_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ScreenType_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 34 | 074017FAE4590543A2D79DCA2ADE555C /* Pods-ScreenType_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-ScreenType_Tests-acknowledgements.plist"; sourceTree = ""; }; 35 | 0A69720E1F9547400055C432 /* ScreenType.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ScreenType.swift; path = ScreenType/Classes/ScreenType.swift; sourceTree = ""; }; 36 | 0FB8C64C6BF994A57DB6ECBEAD40C23B /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 37 | 10269FE5AA9F80BF7673B64A49BC501F /* Pods-ScreenType_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-ScreenType_Tests-umbrella.h"; sourceTree = ""; }; 38 | 18EDE58A186EE07317A414BEC898C6F4 /* ScreenType.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = ScreenType.modulemap; sourceTree = ""; }; 39 | 355AAEAE41C4418617E015C76BCD11AE /* Pods-ScreenType_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ScreenType_Tests.debug.xcconfig"; sourceTree = ""; }; 40 | 38D3331398CBA914892510F33F7DFC67 /* Pods-ScreenType_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-ScreenType_Example.modulemap"; sourceTree = ""; }; 41 | 3E0192ABA86977194A73790F6DE74207 /* Pods-ScreenType_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ScreenType_Example-resources.sh"; sourceTree = ""; }; 42 | 47A4425B2E7E755ECC70723C33AE8266 /* Pods-ScreenType_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ScreenType_Tests-resources.sh"; sourceTree = ""; }; 43 | 48B85C52094926DFD2AC0CC043FFD5C6 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 44 | 4D9181B626510DE21114D9FD1BC68826 /* ScreenType-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ScreenType-prefix.pch"; sourceTree = ""; }; 45 | 5C2A6DDDF8A518A6280D98FC89296276 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 46 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 47 | 698B24A2D0A1ACF547EA2DA3DBE32840 /* Pods-ScreenType_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ScreenType_Example.debug.xcconfig"; sourceTree = ""; }; 48 | 70F88A434A35A805A61BC4D70EDCEF8A /* Pods-ScreenType_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-ScreenType_Tests-acknowledgements.markdown"; sourceTree = ""; }; 49 | 75E7B3FC883C245CDD884FA761544A7A /* ScreenType.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = ScreenType.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 50 | 77B61BB63ED922B350269D4472C1EBE4 /* Pods-ScreenType_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-ScreenType_Tests-dummy.m"; sourceTree = ""; }; 51 | 80ADF40882DFA361D531864BDB73E787 /* Pods-ScreenType_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ScreenType_Tests.release.xcconfig"; sourceTree = ""; }; 52 | 85D9332FE86CCA9080A173D351E67E78 /* Pods-ScreenType_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-ScreenType_Example-umbrella.h"; sourceTree = ""; }; 53 | 88B7595B55A7EEA9544E88EBCCEBD3D0 /* ScreenType-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ScreenType-umbrella.h"; sourceTree = ""; }; 54 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 55 | A200BC6F47A4C3EFB08BC554CD6A7E7C /* ScreenType.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = ScreenType.xcconfig; sourceTree = ""; }; 56 | B3EBA7F9D42EE46B2D7188AD63BDB81C /* Pods-ScreenType_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ScreenType_Tests-frameworks.sh"; sourceTree = ""; }; 57 | BE92CE4E5741BE152E71FBC310510D8B /* Pods-ScreenType_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-ScreenType_Example-dummy.m"; sourceTree = ""; }; 58 | D105D1C24E3E660F99D6CF4DB97D6C4D /* Pods-ScreenType_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ScreenType_Example-frameworks.sh"; sourceTree = ""; }; 59 | DD5824970B1BB668D5FC2FB595D5A3F7 /* Pods-ScreenType_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ScreenType_Example.release.xcconfig"; sourceTree = ""; }; 60 | DE8AEFFF58AB54C0437E0B34632B25AC /* ScreenType-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "ScreenType-dummy.m"; sourceTree = ""; }; 61 | E1D3EF4E604EE1CDC2B3488CBAC9EF3F /* Pods-ScreenType_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-ScreenType_Example-acknowledgements.markdown"; sourceTree = ""; }; 62 | E4359277A64527699BC4FB366441D6E5 /* Pods_ScreenType_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ScreenType_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 63 | EFE61AB5327E2AA02A5B89A4C419883B /* Pods-ScreenType_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "sourcecode.module-map"; path = "Pods-ScreenType_Tests.modulemap"; sourceTree = ""; }; 64 | F7C83A3FC1E108AED38CFE0B62F4680F /* Pods-ScreenType_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-ScreenType_Example-acknowledgements.plist"; sourceTree = ""; }; 65 | /* End PBXFileReference section */ 66 | 67 | /* Begin PBXFrameworksBuildPhase section */ 68 | 4B5DD6F226A18BE14AD79FCCD2697A25 /* Frameworks */ = { 69 | isa = PBXFrameworksBuildPhase; 70 | buildActionMask = 2147483647; 71 | files = ( 72 | 3C67A8269A3932B9D15FA1690076EB9C /* Foundation.framework in Frameworks */, 73 | ); 74 | runOnlyForDeploymentPostprocessing = 0; 75 | }; 76 | 70BEF4A19478C7B25F094B48E1A3B904 /* Frameworks */ = { 77 | isa = PBXFrameworksBuildPhase; 78 | buildActionMask = 2147483647; 79 | files = ( 80 | 9669F52039CFC820AD0BC4FBFAF678F1 /* Foundation.framework in Frameworks */, 81 | ); 82 | runOnlyForDeploymentPostprocessing = 0; 83 | }; 84 | 796E28A81AE5B81720184FA3AC2877A2 /* Frameworks */ = { 85 | isa = PBXFrameworksBuildPhase; 86 | buildActionMask = 2147483647; 87 | files = ( 88 | 6077B71790F6937FF5EFC239AA6D0839 /* Foundation.framework in Frameworks */, 89 | ); 90 | runOnlyForDeploymentPostprocessing = 0; 91 | }; 92 | /* End PBXFrameworksBuildPhase section */ 93 | 94 | /* Begin PBXGroup section */ 95 | 00D51D69A9B4789B2B30F71B903589AB /* Products */ = { 96 | isa = PBXGroup; 97 | children = ( 98 | 06221529CDDD12214E03C3A752CBC935 /* Pods_ScreenType_Example.framework */, 99 | E4359277A64527699BC4FB366441D6E5 /* Pods_ScreenType_Tests.framework */, 100 | 75E7B3FC883C245CDD884FA761544A7A /* ScreenType.framework */, 101 | ); 102 | name = Products; 103 | sourceTree = ""; 104 | }; 105 | 1D246C93AF0D76E67FB4F471065A6A7E /* Pods-ScreenType_Example */ = { 106 | isa = PBXGroup; 107 | children = ( 108 | 48B85C52094926DFD2AC0CC043FFD5C6 /* Info.plist */, 109 | 38D3331398CBA914892510F33F7DFC67 /* Pods-ScreenType_Example.modulemap */, 110 | E1D3EF4E604EE1CDC2B3488CBAC9EF3F /* Pods-ScreenType_Example-acknowledgements.markdown */, 111 | F7C83A3FC1E108AED38CFE0B62F4680F /* Pods-ScreenType_Example-acknowledgements.plist */, 112 | BE92CE4E5741BE152E71FBC310510D8B /* Pods-ScreenType_Example-dummy.m */, 113 | D105D1C24E3E660F99D6CF4DB97D6C4D /* Pods-ScreenType_Example-frameworks.sh */, 114 | 3E0192ABA86977194A73790F6DE74207 /* Pods-ScreenType_Example-resources.sh */, 115 | 85D9332FE86CCA9080A173D351E67E78 /* Pods-ScreenType_Example-umbrella.h */, 116 | 698B24A2D0A1ACF547EA2DA3DBE32840 /* Pods-ScreenType_Example.debug.xcconfig */, 117 | DD5824970B1BB668D5FC2FB595D5A3F7 /* Pods-ScreenType_Example.release.xcconfig */, 118 | ); 119 | name = "Pods-ScreenType_Example"; 120 | path = "Target Support Files/Pods-ScreenType_Example"; 121 | sourceTree = ""; 122 | }; 123 | 7DB346D0F39D3F0E887471402A8071AB = { 124 | isa = PBXGroup; 125 | children = ( 126 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 127 | B4AEF53C58B1BBB7EB4899872DE2CCCE /* Development Pods */, 128 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 129 | 00D51D69A9B4789B2B30F71B903589AB /* Products */, 130 | CAAE8AAC474BAAA66070664623E0B14E /* Targets Support Files */, 131 | ); 132 | sourceTree = ""; 133 | }; 134 | 8C3627C2DBA5084E9893BD35682708FC /* Support Files */ = { 135 | isa = PBXGroup; 136 | children = ( 137 | 5C2A6DDDF8A518A6280D98FC89296276 /* Info.plist */, 138 | 18EDE58A186EE07317A414BEC898C6F4 /* ScreenType.modulemap */, 139 | A200BC6F47A4C3EFB08BC554CD6A7E7C /* ScreenType.xcconfig */, 140 | DE8AEFFF58AB54C0437E0B34632B25AC /* ScreenType-dummy.m */, 141 | 4D9181B626510DE21114D9FD1BC68826 /* ScreenType-prefix.pch */, 142 | 88B7595B55A7EEA9544E88EBCCEBD3D0 /* ScreenType-umbrella.h */, 143 | ); 144 | name = "Support Files"; 145 | path = "Example/Pods/Target Support Files/ScreenType"; 146 | sourceTree = ""; 147 | }; 148 | B4AEF53C58B1BBB7EB4899872DE2CCCE /* Development Pods */ = { 149 | isa = PBXGroup; 150 | children = ( 151 | FB9BF286387A116704084188FD811B20 /* ScreenType */, 152 | ); 153 | name = "Development Pods"; 154 | sourceTree = ""; 155 | }; 156 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 157 | isa = PBXGroup; 158 | children = ( 159 | D35AF013A5F0BAD4F32504907A52519E /* iOS */, 160 | ); 161 | name = Frameworks; 162 | sourceTree = ""; 163 | }; 164 | CAAE8AAC474BAAA66070664623E0B14E /* Targets Support Files */ = { 165 | isa = PBXGroup; 166 | children = ( 167 | 1D246C93AF0D76E67FB4F471065A6A7E /* Pods-ScreenType_Example */, 168 | EF2613E48C931365F41E6BEAAD5DF983 /* Pods-ScreenType_Tests */, 169 | ); 170 | name = "Targets Support Files"; 171 | sourceTree = ""; 172 | }; 173 | D35AF013A5F0BAD4F32504907A52519E /* iOS */ = { 174 | isa = PBXGroup; 175 | children = ( 176 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */, 177 | ); 178 | name = iOS; 179 | sourceTree = ""; 180 | }; 181 | EF2613E48C931365F41E6BEAAD5DF983 /* Pods-ScreenType_Tests */ = { 182 | isa = PBXGroup; 183 | children = ( 184 | 0FB8C64C6BF994A57DB6ECBEAD40C23B /* Info.plist */, 185 | EFE61AB5327E2AA02A5B89A4C419883B /* Pods-ScreenType_Tests.modulemap */, 186 | 70F88A434A35A805A61BC4D70EDCEF8A /* Pods-ScreenType_Tests-acknowledgements.markdown */, 187 | 074017FAE4590543A2D79DCA2ADE555C /* Pods-ScreenType_Tests-acknowledgements.plist */, 188 | 77B61BB63ED922B350269D4472C1EBE4 /* Pods-ScreenType_Tests-dummy.m */, 189 | B3EBA7F9D42EE46B2D7188AD63BDB81C /* Pods-ScreenType_Tests-frameworks.sh */, 190 | 47A4425B2E7E755ECC70723C33AE8266 /* Pods-ScreenType_Tests-resources.sh */, 191 | 10269FE5AA9F80BF7673B64A49BC501F /* Pods-ScreenType_Tests-umbrella.h */, 192 | 355AAEAE41C4418617E015C76BCD11AE /* Pods-ScreenType_Tests.debug.xcconfig */, 193 | 80ADF40882DFA361D531864BDB73E787 /* Pods-ScreenType_Tests.release.xcconfig */, 194 | ); 195 | name = "Pods-ScreenType_Tests"; 196 | path = "Target Support Files/Pods-ScreenType_Tests"; 197 | sourceTree = ""; 198 | }; 199 | FB9BF286387A116704084188FD811B20 /* ScreenType */ = { 200 | isa = PBXGroup; 201 | children = ( 202 | 0A69720E1F9547400055C432 /* ScreenType.swift */, 203 | 8C3627C2DBA5084E9893BD35682708FC /* Support Files */, 204 | ); 205 | name = ScreenType; 206 | path = ../..; 207 | sourceTree = ""; 208 | }; 209 | /* End PBXGroup section */ 210 | 211 | /* Begin PBXHeadersBuildPhase section */ 212 | 2C9F75A1175FA5B98EB6A723275C77BC /* Headers */ = { 213 | isa = PBXHeadersBuildPhase; 214 | buildActionMask = 2147483647; 215 | files = ( 216 | 8CF06C7FEFCB98EBAB7C1481EC4FF31F /* Pods-ScreenType_Example-umbrella.h in Headers */, 217 | ); 218 | runOnlyForDeploymentPostprocessing = 0; 219 | }; 220 | 3B54E1BD434CB53B63C98D60176BED2D /* Headers */ = { 221 | isa = PBXHeadersBuildPhase; 222 | buildActionMask = 2147483647; 223 | files = ( 224 | 9DBBAE7AD38C8C757271752D10A8E80A /* ScreenType-umbrella.h in Headers */, 225 | ); 226 | runOnlyForDeploymentPostprocessing = 0; 227 | }; 228 | D293BD12D5BFE3758CF7517235800CAF /* Headers */ = { 229 | isa = PBXHeadersBuildPhase; 230 | buildActionMask = 2147483647; 231 | files = ( 232 | D4943FFA440D56848ED37E09F96FFF2F /* Pods-ScreenType_Tests-umbrella.h in Headers */, 233 | ); 234 | runOnlyForDeploymentPostprocessing = 0; 235 | }; 236 | /* End PBXHeadersBuildPhase section */ 237 | 238 | /* Begin PBXNativeTarget section */ 239 | 8561D657A77E250E3925DB226CB79A0E /* ScreenType */ = { 240 | isa = PBXNativeTarget; 241 | buildConfigurationList = 5CE84C1E7A7E037D8456AB1B0188C6D6 /* Build configuration list for PBXNativeTarget "ScreenType" */; 242 | buildPhases = ( 243 | BE8AAC3A737DE600AF9A824F94F793DB /* Sources */, 244 | 4B5DD6F226A18BE14AD79FCCD2697A25 /* Frameworks */, 245 | 3B54E1BD434CB53B63C98D60176BED2D /* Headers */, 246 | ); 247 | buildRules = ( 248 | ); 249 | dependencies = ( 250 | ); 251 | name = ScreenType; 252 | productName = ScreenType; 253 | productReference = 75E7B3FC883C245CDD884FA761544A7A /* ScreenType.framework */; 254 | productType = "com.apple.product-type.framework"; 255 | }; 256 | 8C4CE51DE13D3AD7E6A2CAC953432D48 /* Pods-ScreenType_Example */ = { 257 | isa = PBXNativeTarget; 258 | buildConfigurationList = B13B0AD1BA6D818BC1BDF227A5562111 /* Build configuration list for PBXNativeTarget "Pods-ScreenType_Example" */; 259 | buildPhases = ( 260 | 4D6D0A73746AB86EC2EC4E917A0DEE4A /* Sources */, 261 | 796E28A81AE5B81720184FA3AC2877A2 /* Frameworks */, 262 | 2C9F75A1175FA5B98EB6A723275C77BC /* Headers */, 263 | ); 264 | buildRules = ( 265 | ); 266 | dependencies = ( 267 | 27C43CBD26C3FF7DE6BDC31A03743328 /* PBXTargetDependency */, 268 | ); 269 | name = "Pods-ScreenType_Example"; 270 | productName = "Pods-ScreenType_Example"; 271 | productReference = 06221529CDDD12214E03C3A752CBC935 /* Pods_ScreenType_Example.framework */; 272 | productType = "com.apple.product-type.framework"; 273 | }; 274 | A82E97CA467F6A60958A2F42D5DC4C48 /* Pods-ScreenType_Tests */ = { 275 | isa = PBXNativeTarget; 276 | buildConfigurationList = E151CE6E05F935A908AD489F5AC4A71D /* Build configuration list for PBXNativeTarget "Pods-ScreenType_Tests" */; 277 | buildPhases = ( 278 | F21B16C65683DC654B4A4201F1D89C96 /* Sources */, 279 | 70BEF4A19478C7B25F094B48E1A3B904 /* Frameworks */, 280 | D293BD12D5BFE3758CF7517235800CAF /* Headers */, 281 | ); 282 | buildRules = ( 283 | ); 284 | dependencies = ( 285 | ); 286 | name = "Pods-ScreenType_Tests"; 287 | productName = "Pods-ScreenType_Tests"; 288 | productReference = E4359277A64527699BC4FB366441D6E5 /* Pods_ScreenType_Tests.framework */; 289 | productType = "com.apple.product-type.framework"; 290 | }; 291 | /* End PBXNativeTarget section */ 292 | 293 | /* Begin PBXProject section */ 294 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 295 | isa = PBXProject; 296 | attributes = { 297 | LastSwiftUpdateCheck = 0830; 298 | LastUpgradeCheck = 0700; 299 | TargetAttributes = { 300 | 8561D657A77E250E3925DB226CB79A0E = { 301 | LastSwiftMigration = 0900; 302 | }; 303 | }; 304 | }; 305 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 306 | compatibilityVersion = "Xcode 3.2"; 307 | developmentRegion = English; 308 | hasScannedForEncodings = 0; 309 | knownRegions = ( 310 | en, 311 | ); 312 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 313 | productRefGroup = 00D51D69A9B4789B2B30F71B903589AB /* Products */; 314 | projectDirPath = ""; 315 | projectRoot = ""; 316 | targets = ( 317 | 8C4CE51DE13D3AD7E6A2CAC953432D48 /* Pods-ScreenType_Example */, 318 | A82E97CA467F6A60958A2F42D5DC4C48 /* Pods-ScreenType_Tests */, 319 | 8561D657A77E250E3925DB226CB79A0E /* ScreenType */, 320 | ); 321 | }; 322 | /* End PBXProject section */ 323 | 324 | /* Begin PBXSourcesBuildPhase section */ 325 | 4D6D0A73746AB86EC2EC4E917A0DEE4A /* Sources */ = { 326 | isa = PBXSourcesBuildPhase; 327 | buildActionMask = 2147483647; 328 | files = ( 329 | 01B8E80511941BA724113388151F40EC /* Pods-ScreenType_Example-dummy.m in Sources */, 330 | ); 331 | runOnlyForDeploymentPostprocessing = 0; 332 | }; 333 | BE8AAC3A737DE600AF9A824F94F793DB /* Sources */ = { 334 | isa = PBXSourcesBuildPhase; 335 | buildActionMask = 2147483647; 336 | files = ( 337 | 0DEA9FD6FF645B88C37F237025DA315C /* ScreenType-dummy.m in Sources */, 338 | 0A69720F1F9547430055C432 /* ScreenType.swift in Sources */, 339 | ); 340 | runOnlyForDeploymentPostprocessing = 0; 341 | }; 342 | F21B16C65683DC654B4A4201F1D89C96 /* Sources */ = { 343 | isa = PBXSourcesBuildPhase; 344 | buildActionMask = 2147483647; 345 | files = ( 346 | E4E2A5DBF72BE02F5B9C3BAC7E5B33BA /* Pods-ScreenType_Tests-dummy.m in Sources */, 347 | ); 348 | runOnlyForDeploymentPostprocessing = 0; 349 | }; 350 | /* End PBXSourcesBuildPhase section */ 351 | 352 | /* Begin PBXTargetDependency section */ 353 | 27C43CBD26C3FF7DE6BDC31A03743328 /* PBXTargetDependency */ = { 354 | isa = PBXTargetDependency; 355 | name = ScreenType; 356 | target = 8561D657A77E250E3925DB226CB79A0E /* ScreenType */; 357 | targetProxy = 455742BA7711BDC573B2145DD4044D0A /* PBXContainerItemProxy */; 358 | }; 359 | /* End PBXTargetDependency section */ 360 | 361 | /* Begin XCBuildConfiguration section */ 362 | 107A309DE1CA2030F48F6C9C2AFF1D67 /* Release */ = { 363 | isa = XCBuildConfiguration; 364 | baseConfigurationReference = DD5824970B1BB668D5FC2FB595D5A3F7 /* Pods-ScreenType_Example.release.xcconfig */; 365 | buildSettings = { 366 | CODE_SIGN_IDENTITY = ""; 367 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 368 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 369 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 370 | CURRENT_PROJECT_VERSION = 1; 371 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 372 | DEFINES_MODULE = YES; 373 | DYLIB_COMPATIBILITY_VERSION = 1; 374 | DYLIB_CURRENT_VERSION = 1; 375 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 376 | ENABLE_STRICT_OBJC_MSGSEND = YES; 377 | GCC_NO_COMMON_BLOCKS = YES; 378 | INFOPLIST_FILE = "Target Support Files/Pods-ScreenType_Example/Info.plist"; 379 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 380 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 381 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 382 | MACH_O_TYPE = staticlib; 383 | MODULEMAP_FILE = "Target Support Files/Pods-ScreenType_Example/Pods-ScreenType_Example.modulemap"; 384 | MTL_ENABLE_DEBUG_INFO = NO; 385 | OTHER_LDFLAGS = ""; 386 | OTHER_LIBTOOLFLAGS = ""; 387 | PODS_ROOT = "$(SRCROOT)"; 388 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 389 | PRODUCT_NAME = Pods_ScreenType_Example; 390 | SDKROOT = iphoneos; 391 | SKIP_INSTALL = YES; 392 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 393 | SWIFT_VERSION = 3.0; 394 | TARGETED_DEVICE_FAMILY = "1,2"; 395 | VERSIONING_SYSTEM = "apple-generic"; 396 | VERSION_INFO_PREFIX = ""; 397 | }; 398 | name = Release; 399 | }; 400 | 157AF0CD5E5AB2A2E74D3B8ECD865185 /* Release */ = { 401 | isa = XCBuildConfiguration; 402 | buildSettings = { 403 | ALWAYS_SEARCH_USER_PATHS = NO; 404 | CLANG_ANALYZER_NONNULL = YES; 405 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES; 406 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 407 | CLANG_CXX_LIBRARY = "libc++"; 408 | CLANG_ENABLE_MODULES = YES; 409 | CLANG_ENABLE_OBJC_ARC = YES; 410 | CLANG_WARN_BOOL_CONVERSION = YES; 411 | CLANG_WARN_CONSTANT_CONVERSION = YES; 412 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 413 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 414 | CLANG_WARN_EMPTY_BODY = YES; 415 | CLANG_WARN_ENUM_CONVERSION = YES; 416 | CLANG_WARN_INFINITE_RECURSION = YES; 417 | CLANG_WARN_INT_CONVERSION = YES; 418 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 419 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 420 | CLANG_WARN_UNREACHABLE_CODE = YES; 421 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 422 | CODE_SIGNING_REQUIRED = NO; 423 | COPY_PHASE_STRIP = YES; 424 | ENABLE_NS_ASSERTIONS = NO; 425 | GCC_C_LANGUAGE_STANDARD = gnu99; 426 | GCC_PREPROCESSOR_DEFINITIONS = ( 427 | "POD_CONFIGURATION_RELEASE=1", 428 | "$(inherited)", 429 | ); 430 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 431 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 432 | GCC_WARN_UNDECLARED_SELECTOR = YES; 433 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 434 | GCC_WARN_UNUSED_FUNCTION = YES; 435 | GCC_WARN_UNUSED_VARIABLE = YES; 436 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 437 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 438 | STRIP_INSTALLED_PRODUCT = NO; 439 | SYMROOT = "${SRCROOT}/../build"; 440 | VALIDATE_PRODUCT = YES; 441 | }; 442 | name = Release; 443 | }; 444 | 2E607E920261469866FCC689937712AD /* Debug */ = { 445 | isa = XCBuildConfiguration; 446 | baseConfigurationReference = 355AAEAE41C4418617E015C76BCD11AE /* Pods-ScreenType_Tests.debug.xcconfig */; 447 | buildSettings = { 448 | CODE_SIGN_IDENTITY = ""; 449 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 450 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 451 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 452 | CURRENT_PROJECT_VERSION = 1; 453 | DEBUG_INFORMATION_FORMAT = dwarf; 454 | DEFINES_MODULE = YES; 455 | DYLIB_COMPATIBILITY_VERSION = 1; 456 | DYLIB_CURRENT_VERSION = 1; 457 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 458 | ENABLE_STRICT_OBJC_MSGSEND = YES; 459 | GCC_NO_COMMON_BLOCKS = YES; 460 | INFOPLIST_FILE = "Target Support Files/Pods-ScreenType_Tests/Info.plist"; 461 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 462 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 463 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 464 | MACH_O_TYPE = staticlib; 465 | MODULEMAP_FILE = "Target Support Files/Pods-ScreenType_Tests/Pods-ScreenType_Tests.modulemap"; 466 | MTL_ENABLE_DEBUG_INFO = YES; 467 | OTHER_LDFLAGS = ""; 468 | OTHER_LIBTOOLFLAGS = ""; 469 | PODS_ROOT = "$(SRCROOT)"; 470 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 471 | PRODUCT_NAME = Pods_ScreenType_Tests; 472 | SDKROOT = iphoneos; 473 | SKIP_INSTALL = YES; 474 | TARGETED_DEVICE_FAMILY = "1,2"; 475 | VERSIONING_SYSTEM = "apple-generic"; 476 | VERSION_INFO_PREFIX = ""; 477 | }; 478 | name = Debug; 479 | }; 480 | 7ABD0DE27EA7F8D887A2CFE9BD45301F /* Debug */ = { 481 | isa = XCBuildConfiguration; 482 | baseConfigurationReference = A200BC6F47A4C3EFB08BC554CD6A7E7C /* ScreenType.xcconfig */; 483 | buildSettings = { 484 | CLANG_ENABLE_MODULES = YES; 485 | CODE_SIGN_IDENTITY = ""; 486 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 487 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 488 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 489 | CURRENT_PROJECT_VERSION = 1; 490 | DEBUG_INFORMATION_FORMAT = dwarf; 491 | DEFINES_MODULE = YES; 492 | DYLIB_COMPATIBILITY_VERSION = 1; 493 | DYLIB_CURRENT_VERSION = 1; 494 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 495 | ENABLE_STRICT_OBJC_MSGSEND = YES; 496 | GCC_NO_COMMON_BLOCKS = YES; 497 | GCC_PREFIX_HEADER = "Target Support Files/ScreenType/ScreenType-prefix.pch"; 498 | INFOPLIST_FILE = "Target Support Files/ScreenType/Info.plist"; 499 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 500 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 501 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 502 | MODULEMAP_FILE = "Target Support Files/ScreenType/ScreenType.modulemap"; 503 | MTL_ENABLE_DEBUG_INFO = YES; 504 | PRODUCT_NAME = ScreenType; 505 | SDKROOT = iphoneos; 506 | SKIP_INSTALL = YES; 507 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 508 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 509 | SWIFT_VERSION = 4.0; 510 | TARGETED_DEVICE_FAMILY = "1,2"; 511 | VERSIONING_SYSTEM = "apple-generic"; 512 | VERSION_INFO_PREFIX = ""; 513 | }; 514 | name = Debug; 515 | }; 516 | 94EE1D3448522FA22FEB2D01A93131A1 /* Release */ = { 517 | isa = XCBuildConfiguration; 518 | baseConfigurationReference = A200BC6F47A4C3EFB08BC554CD6A7E7C /* ScreenType.xcconfig */; 519 | buildSettings = { 520 | CLANG_ENABLE_MODULES = YES; 521 | CODE_SIGN_IDENTITY = ""; 522 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 523 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 524 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 525 | CURRENT_PROJECT_VERSION = 1; 526 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 527 | DEFINES_MODULE = YES; 528 | DYLIB_COMPATIBILITY_VERSION = 1; 529 | DYLIB_CURRENT_VERSION = 1; 530 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 531 | ENABLE_STRICT_OBJC_MSGSEND = YES; 532 | GCC_NO_COMMON_BLOCKS = YES; 533 | GCC_PREFIX_HEADER = "Target Support Files/ScreenType/ScreenType-prefix.pch"; 534 | INFOPLIST_FILE = "Target Support Files/ScreenType/Info.plist"; 535 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 536 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 537 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 538 | MODULEMAP_FILE = "Target Support Files/ScreenType/ScreenType.modulemap"; 539 | MTL_ENABLE_DEBUG_INFO = NO; 540 | PRODUCT_NAME = ScreenType; 541 | SDKROOT = iphoneos; 542 | SKIP_INSTALL = YES; 543 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 544 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 545 | SWIFT_VERSION = 4.0; 546 | TARGETED_DEVICE_FAMILY = "1,2"; 547 | VERSIONING_SYSTEM = "apple-generic"; 548 | VERSION_INFO_PREFIX = ""; 549 | }; 550 | name = Release; 551 | }; 552 | D409CDAE11238289BBE721D5743BAE72 /* Debug */ = { 553 | isa = XCBuildConfiguration; 554 | baseConfigurationReference = 698B24A2D0A1ACF547EA2DA3DBE32840 /* Pods-ScreenType_Example.debug.xcconfig */; 555 | buildSettings = { 556 | CODE_SIGN_IDENTITY = ""; 557 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 558 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 559 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 560 | CURRENT_PROJECT_VERSION = 1; 561 | DEBUG_INFORMATION_FORMAT = dwarf; 562 | DEFINES_MODULE = YES; 563 | DYLIB_COMPATIBILITY_VERSION = 1; 564 | DYLIB_CURRENT_VERSION = 1; 565 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 566 | ENABLE_STRICT_OBJC_MSGSEND = YES; 567 | GCC_NO_COMMON_BLOCKS = YES; 568 | INFOPLIST_FILE = "Target Support Files/Pods-ScreenType_Example/Info.plist"; 569 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 570 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 571 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 572 | MACH_O_TYPE = staticlib; 573 | MODULEMAP_FILE = "Target Support Files/Pods-ScreenType_Example/Pods-ScreenType_Example.modulemap"; 574 | MTL_ENABLE_DEBUG_INFO = YES; 575 | OTHER_LDFLAGS = ""; 576 | OTHER_LIBTOOLFLAGS = ""; 577 | PODS_ROOT = "$(SRCROOT)"; 578 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 579 | PRODUCT_NAME = Pods_ScreenType_Example; 580 | SDKROOT = iphoneos; 581 | SKIP_INSTALL = YES; 582 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 583 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 584 | SWIFT_VERSION = 3.0; 585 | TARGETED_DEVICE_FAMILY = "1,2"; 586 | VERSIONING_SYSTEM = "apple-generic"; 587 | VERSION_INFO_PREFIX = ""; 588 | }; 589 | name = Debug; 590 | }; 591 | EED546DBB23FC32035C9BDC4E22B30BD /* Debug */ = { 592 | isa = XCBuildConfiguration; 593 | buildSettings = { 594 | ALWAYS_SEARCH_USER_PATHS = NO; 595 | CLANG_ANALYZER_NONNULL = YES; 596 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES; 597 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 598 | CLANG_CXX_LIBRARY = "libc++"; 599 | CLANG_ENABLE_MODULES = YES; 600 | CLANG_ENABLE_OBJC_ARC = YES; 601 | CLANG_WARN_BOOL_CONVERSION = YES; 602 | CLANG_WARN_CONSTANT_CONVERSION = YES; 603 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 604 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 605 | CLANG_WARN_EMPTY_BODY = YES; 606 | CLANG_WARN_ENUM_CONVERSION = YES; 607 | CLANG_WARN_INFINITE_RECURSION = YES; 608 | CLANG_WARN_INT_CONVERSION = YES; 609 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 610 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 611 | CLANG_WARN_UNREACHABLE_CODE = YES; 612 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 613 | CODE_SIGNING_REQUIRED = NO; 614 | COPY_PHASE_STRIP = NO; 615 | ENABLE_TESTABILITY = YES; 616 | GCC_C_LANGUAGE_STANDARD = gnu99; 617 | GCC_DYNAMIC_NO_PIC = NO; 618 | GCC_OPTIMIZATION_LEVEL = 0; 619 | GCC_PREPROCESSOR_DEFINITIONS = ( 620 | "POD_CONFIGURATION_DEBUG=1", 621 | "DEBUG=1", 622 | "$(inherited)", 623 | ); 624 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 625 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 626 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 627 | GCC_WARN_UNDECLARED_SELECTOR = YES; 628 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 629 | GCC_WARN_UNUSED_FUNCTION = YES; 630 | GCC_WARN_UNUSED_VARIABLE = YES; 631 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 632 | ONLY_ACTIVE_ARCH = YES; 633 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 634 | STRIP_INSTALLED_PRODUCT = NO; 635 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 636 | SYMROOT = "${SRCROOT}/../build"; 637 | }; 638 | name = Debug; 639 | }; 640 | FA2E7D97C382E1CD97CE0284228848E5 /* Release */ = { 641 | isa = XCBuildConfiguration; 642 | baseConfigurationReference = 80ADF40882DFA361D531864BDB73E787 /* Pods-ScreenType_Tests.release.xcconfig */; 643 | buildSettings = { 644 | CODE_SIGN_IDENTITY = ""; 645 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 646 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 647 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 648 | CURRENT_PROJECT_VERSION = 1; 649 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 650 | DEFINES_MODULE = YES; 651 | DYLIB_COMPATIBILITY_VERSION = 1; 652 | DYLIB_CURRENT_VERSION = 1; 653 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 654 | ENABLE_STRICT_OBJC_MSGSEND = YES; 655 | GCC_NO_COMMON_BLOCKS = YES; 656 | INFOPLIST_FILE = "Target Support Files/Pods-ScreenType_Tests/Info.plist"; 657 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 658 | IPHONEOS_DEPLOYMENT_TARGET = 9.3; 659 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 660 | MACH_O_TYPE = staticlib; 661 | MODULEMAP_FILE = "Target Support Files/Pods-ScreenType_Tests/Pods-ScreenType_Tests.modulemap"; 662 | MTL_ENABLE_DEBUG_INFO = NO; 663 | OTHER_LDFLAGS = ""; 664 | OTHER_LIBTOOLFLAGS = ""; 665 | PODS_ROOT = "$(SRCROOT)"; 666 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 667 | PRODUCT_NAME = Pods_ScreenType_Tests; 668 | SDKROOT = iphoneos; 669 | SKIP_INSTALL = YES; 670 | TARGETED_DEVICE_FAMILY = "1,2"; 671 | VERSIONING_SYSTEM = "apple-generic"; 672 | VERSION_INFO_PREFIX = ""; 673 | }; 674 | name = Release; 675 | }; 676 | /* End XCBuildConfiguration section */ 677 | 678 | /* Begin XCConfigurationList section */ 679 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 680 | isa = XCConfigurationList; 681 | buildConfigurations = ( 682 | EED546DBB23FC32035C9BDC4E22B30BD /* Debug */, 683 | 157AF0CD5E5AB2A2E74D3B8ECD865185 /* Release */, 684 | ); 685 | defaultConfigurationIsVisible = 0; 686 | defaultConfigurationName = Release; 687 | }; 688 | 5CE84C1E7A7E037D8456AB1B0188C6D6 /* Build configuration list for PBXNativeTarget "ScreenType" */ = { 689 | isa = XCConfigurationList; 690 | buildConfigurations = ( 691 | 7ABD0DE27EA7F8D887A2CFE9BD45301F /* Debug */, 692 | 94EE1D3448522FA22FEB2D01A93131A1 /* Release */, 693 | ); 694 | defaultConfigurationIsVisible = 0; 695 | defaultConfigurationName = Release; 696 | }; 697 | B13B0AD1BA6D818BC1BDF227A5562111 /* Build configuration list for PBXNativeTarget "Pods-ScreenType_Example" */ = { 698 | isa = XCConfigurationList; 699 | buildConfigurations = ( 700 | D409CDAE11238289BBE721D5743BAE72 /* Debug */, 701 | 107A309DE1CA2030F48F6C9C2AFF1D67 /* Release */, 702 | ); 703 | defaultConfigurationIsVisible = 0; 704 | defaultConfigurationName = Release; 705 | }; 706 | E151CE6E05F935A908AD489F5AC4A71D /* Build configuration list for PBXNativeTarget "Pods-ScreenType_Tests" */ = { 707 | isa = XCConfigurationList; 708 | buildConfigurations = ( 709 | 2E607E920261469866FCC689937712AD /* Debug */, 710 | FA2E7D97C382E1CD97CE0284228848E5 /* Release */, 711 | ); 712 | defaultConfigurationIsVisible = 0; 713 | defaultConfigurationName = Release; 714 | }; 715 | /* End XCConfigurationList section */ 716 | }; 717 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 718 | } 719 | --------------------------------------------------------------------------------