├── .gitignore ├── LICENSE ├── Podfile ├── Podfile.lock ├── Pods ├── Local Podspecs │ └── TableViewHelper.podspec.json ├── Manifest.lock ├── Pods.xcodeproj │ └── project.pbxproj └── Target Support Files │ ├── Pods-Tester │ ├── Info.plist │ ├── Pods-Tester-Info.plist │ ├── Pods-Tester-acknowledgements.markdown │ ├── Pods-Tester-acknowledgements.plist │ ├── Pods-Tester-dummy.m │ ├── Pods-Tester-frameworks.sh │ ├── Pods-Tester-resources.sh │ ├── Pods-Tester-umbrella.h │ ├── Pods-Tester.debug.xcconfig │ ├── Pods-Tester.modulemap │ └── Pods-Tester.release.xcconfig │ └── TableViewHelper │ ├── Info.plist │ ├── TableViewHelper-Info.plist │ ├── TableViewHelper-dummy.m │ ├── TableViewHelper-prefix.pch │ ├── TableViewHelper-umbrella.h │ ├── TableViewHelper.modulemap │ └── TableViewHelper.xcconfig ├── README.md ├── TableViewHelper ├── TableViewHelper.podspec ├── TableViewHelper.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── TableViewHelper │ ├── Info.plist │ ├── TableViewHelper.h │ └── TableViewHelper.swift └── TableViewHelperTests │ ├── Info.plist │ └── TableViewHelperTests.swift ├── Tester.xcodeproj ├── project.pbxproj └── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ └── IDEWorkspaceChecks.plist ├── Tester.xcworkspace ├── contents.xcworkspacedata └── xcshareddata │ └── IDEWorkspaceChecks.plist ├── Tester ├── AppDelegate.swift ├── Base.lproj │ ├── LaunchScreen.xib │ └── Main.storyboard ├── Images.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json ├── Info.plist └── ViewController.swift └── changeLog.txt /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | build/ 4 | *.pbxuser 5 | !default.pbxuser 6 | *.mode1v3 7 | !default.mode1v3 8 | *.mode2v3 9 | !default.mode2v3 10 | *.perspectivev3 11 | !default.perspectivev3 12 | xcuserdata 13 | *.xccheckout 14 | *.moved-aside 15 | DerivedData 16 | *.hmap 17 | *.ipa 18 | *.xcuserstate 19 | 20 | # CocoaPods 21 | # 22 | # We recommend against adding the Pods directory to your .gitignore. However 23 | # you should judge for yourself, the pros and cons are mentioned at: 24 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 25 | # 26 | # Pods/ 27 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Aaron L. Bratcher 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /Podfile: -------------------------------------------------------------------------------- 1 | target 'Tester' do 2 | use_frameworks! 3 | 4 | # Pods for Tester 5 | pod 'TableViewHelper', :path => 'TableViewHelper' 6 | end 7 | -------------------------------------------------------------------------------- /Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - TableViewHelper (2.2) 3 | 4 | DEPENDENCIES: 5 | - TableViewHelper (from `TableViewHelper`) 6 | 7 | EXTERNAL SOURCES: 8 | TableViewHelper: 9 | :path: TableViewHelper 10 | 11 | SPEC CHECKSUMS: 12 | TableViewHelper: 5e71a6cc5a5d2d5d9bc9809e17112d2fa4da0379 13 | 14 | PODFILE CHECKSUM: 37069cd5b5fecbc4fc7801bab23530e2ebfe046a 15 | 16 | COCOAPODS: 1.7.1 17 | -------------------------------------------------------------------------------- /Pods/Local Podspecs/TableViewHelper.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "TableViewHelper", 3 | "version": "2.2", 4 | "summary": "Easily hide and show UITableView Rows", 5 | "homepage": "https://github.com/AaronBratcher/TableViewHelper", 6 | "license": "MIT", 7 | "authors": { 8 | "Aaron Bratcher": "aaronlbratcher@yahoo.com" 9 | }, 10 | "social_media_url": "http://twitter.com/AaronLBratcher", 11 | "platforms": { 12 | "ios": "10.0" 13 | }, 14 | "source": { 15 | "git": "https://github.com/AaronBratcher/TableViewHelper.git", 16 | "tag": "2.2" 17 | }, 18 | "source_files": [ 19 | "TableViewHelper", 20 | "TableViewHelper/TableViewHelper/**/*.{h,m,swift}" 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - TableViewHelper (2.2) 3 | 4 | DEPENDENCIES: 5 | - TableViewHelper (from `TableViewHelper`) 6 | 7 | EXTERNAL SOURCES: 8 | TableViewHelper: 9 | :path: TableViewHelper 10 | 11 | SPEC CHECKSUMS: 12 | TableViewHelper: 5e71a6cc5a5d2d5d9bc9809e17112d2fa4da0379 13 | 14 | PODFILE CHECKSUM: 37069cd5b5fecbc4fc7801bab23530e2ebfe046a 15 | 16 | COCOAPODS: 1.7.1 17 | -------------------------------------------------------------------------------- /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 | 1623D05D0BC8E32173F102F290765E42 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */; }; 11 | 2407003390C4F5CE89E22730250E4EE6 /* Pods-Tester-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 9B8B007141484F4F2948B7B039342570 /* Pods-Tester-dummy.m */; }; 12 | 6804E08E6DF39AEB94E3C61EB7049ED9 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */; }; 13 | 6888691B84BC86AF15268A969C471BEC /* Pods-Tester-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = B03158CE181A0B904589738D1614B12A /* Pods-Tester-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 14 | 8D56B8CCF59EE2755C00A429C01F634F /* TableViewHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 703BF4A3D82DC59891C2DA84D1B76D78 /* TableViewHelper.swift */; }; 15 | 95E4EA13BE3327DE955D8F168E2C97B6 /* TableViewHelper.h in Headers */ = {isa = PBXBuildFile; fileRef = 437AA5AFB509DBD6E1DD95530CE0772A /* TableViewHelper.h */; settings = {ATTRIBUTES = (Public, ); }; }; 16 | BD9012AEACB46C386BD3038D1E7381BF /* TableViewHelper-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 50D0E38D3A66CFBC460379B9540E9669 /* TableViewHelper-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 17 | EC68DFC7FEA2BB800B89B46F5003D96E /* TableViewHelper-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 14EE164CCA222DE3F90682360D8184F0 /* TableViewHelper-dummy.m */; }; 18 | /* End PBXBuildFile section */ 19 | 20 | /* Begin PBXContainerItemProxy section */ 21 | F37E30967936DBDDACF91305CB195993 /* PBXContainerItemProxy */ = { 22 | isa = PBXContainerItemProxy; 23 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 24 | proxyType = 1; 25 | remoteGlobalIDString = 0BCFD4EF261415B9774A70EF1269F102; 26 | remoteInfo = TableViewHelper; 27 | }; 28 | /* End PBXContainerItemProxy section */ 29 | 30 | /* Begin PBXFileReference section */ 31 | 14EE164CCA222DE3F90682360D8184F0 /* TableViewHelper-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "TableViewHelper-dummy.m"; sourceTree = ""; }; 32 | 167261AFD648B7644E3E700F5C38B46D /* Pods_Tester.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_Tester.framework; path = "Pods-Tester.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 33 | 31C668F9ECC0AFB355C467088D41AF9D /* TableViewHelper.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; path = TableViewHelper.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 34 | 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 35 | 35CF46081F193E4BB7695B14F222417D /* TableViewHelper.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = TableViewHelper.xcconfig; sourceTree = ""; }; 36 | 437AA5AFB509DBD6E1DD95530CE0772A /* TableViewHelper.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = TableViewHelper.h; path = TableViewHelper/TableViewHelper.h; sourceTree = ""; }; 37 | 4DB226DF744D9BF878381E70817B0658 /* Pods-Tester-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Tester-Info.plist"; sourceTree = ""; }; 38 | 4F05BFDD35872EA1E53D77FB12C246E6 /* TableViewHelper.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = TableViewHelper.modulemap; sourceTree = ""; }; 39 | 50D0E38D3A66CFBC460379B9540E9669 /* TableViewHelper-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "TableViewHelper-umbrella.h"; sourceTree = ""; }; 40 | 703BF4A3D82DC59891C2DA84D1B76D78 /* TableViewHelper.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TableViewHelper.swift; path = TableViewHelper/TableViewHelper.swift; sourceTree = ""; }; 41 | 7EFBBB2C38D861CFDBDD3E02C4D3CB14 /* TableViewHelper-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "TableViewHelper-prefix.pch"; sourceTree = ""; }; 42 | 9B2432BA893811988A91CBD7EB69AF4B /* TableViewHelper.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = TableViewHelper.framework; path = TableViewHelper.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 43 | 9B8B007141484F4F2948B7B039342570 /* Pods-Tester-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-Tester-dummy.m"; sourceTree = ""; }; 44 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 45 | 9F46DA06C7AF67A88984FCF2E1B20BC4 /* Pods-Tester-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-Tester-acknowledgements.markdown"; sourceTree = ""; }; 46 | A316FFC5EEBF52B0E490071F6D8E071C /* Pods-Tester.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-Tester.modulemap"; sourceTree = ""; }; 47 | A8FDCD3FEAA7EC37CD7B4E65C9FA36CA /* TableViewHelper-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "TableViewHelper-Info.plist"; sourceTree = ""; }; 48 | B03158CE181A0B904589738D1614B12A /* Pods-Tester-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-Tester-umbrella.h"; sourceTree = ""; }; 49 | B20329EBD4CFB44533937C61F1BFBA46 /* Pods-Tester-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Tester-acknowledgements.plist"; sourceTree = ""; }; 50 | BD2E3C0984F0A3169C38AF365DF15FB1 /* Pods-Tester-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Tester-frameworks.sh"; sourceTree = ""; }; 51 | D7C0CC7E3C6627E6AE578A9D365B5349 /* Pods-Tester.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Tester.release.xcconfig"; sourceTree = ""; }; 52 | E89EA0126BAB1A90C5B8403432425478 /* Pods-Tester.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Tester.debug.xcconfig"; sourceTree = ""; }; 53 | /* End PBXFileReference section */ 54 | 55 | /* Begin PBXFrameworksBuildPhase section */ 56 | 1E1F9502CC7A0781C2863A2700EC6355 /* Frameworks */ = { 57 | isa = PBXFrameworksBuildPhase; 58 | buildActionMask = 2147483647; 59 | files = ( 60 | 6804E08E6DF39AEB94E3C61EB7049ED9 /* Foundation.framework in Frameworks */, 61 | ); 62 | runOnlyForDeploymentPostprocessing = 0; 63 | }; 64 | CF74EE1D0EA4C485F54C8238C6D4597F /* Frameworks */ = { 65 | isa = PBXFrameworksBuildPhase; 66 | buildActionMask = 2147483647; 67 | files = ( 68 | 1623D05D0BC8E32173F102F290765E42 /* Foundation.framework in Frameworks */, 69 | ); 70 | runOnlyForDeploymentPostprocessing = 0; 71 | }; 72 | /* End PBXFrameworksBuildPhase section */ 73 | 74 | /* Begin PBXGroup section */ 75 | 29CC6CBF18D7F7396C35403D9D2B7255 /* Support Files */ = { 76 | isa = PBXGroup; 77 | children = ( 78 | 4F05BFDD35872EA1E53D77FB12C246E6 /* TableViewHelper.modulemap */, 79 | 35CF46081F193E4BB7695B14F222417D /* TableViewHelper.xcconfig */, 80 | 14EE164CCA222DE3F90682360D8184F0 /* TableViewHelper-dummy.m */, 81 | A8FDCD3FEAA7EC37CD7B4E65C9FA36CA /* TableViewHelper-Info.plist */, 82 | 7EFBBB2C38D861CFDBDD3E02C4D3CB14 /* TableViewHelper-prefix.pch */, 83 | 50D0E38D3A66CFBC460379B9540E9669 /* TableViewHelper-umbrella.h */, 84 | ); 85 | name = "Support Files"; 86 | path = "../Pods/Target Support Files/TableViewHelper"; 87 | sourceTree = ""; 88 | }; 89 | 3E03E6D0D7624CC263BD79097746E47E /* Pods-Tester */ = { 90 | isa = PBXGroup; 91 | children = ( 92 | A316FFC5EEBF52B0E490071F6D8E071C /* Pods-Tester.modulemap */, 93 | 9F46DA06C7AF67A88984FCF2E1B20BC4 /* Pods-Tester-acknowledgements.markdown */, 94 | B20329EBD4CFB44533937C61F1BFBA46 /* Pods-Tester-acknowledgements.plist */, 95 | 9B8B007141484F4F2948B7B039342570 /* Pods-Tester-dummy.m */, 96 | BD2E3C0984F0A3169C38AF365DF15FB1 /* Pods-Tester-frameworks.sh */, 97 | 4DB226DF744D9BF878381E70817B0658 /* Pods-Tester-Info.plist */, 98 | B03158CE181A0B904589738D1614B12A /* Pods-Tester-umbrella.h */, 99 | E89EA0126BAB1A90C5B8403432425478 /* Pods-Tester.debug.xcconfig */, 100 | D7C0CC7E3C6627E6AE578A9D365B5349 /* Pods-Tester.release.xcconfig */, 101 | ); 102 | name = "Pods-Tester"; 103 | path = "Target Support Files/Pods-Tester"; 104 | sourceTree = ""; 105 | }; 106 | 9ABE8534EC3B15780F6703410F09359E /* TableViewHelper */ = { 107 | isa = PBXGroup; 108 | children = ( 109 | 437AA5AFB509DBD6E1DD95530CE0772A /* TableViewHelper.h */, 110 | 703BF4A3D82DC59891C2DA84D1B76D78 /* TableViewHelper.swift */, 111 | E8F24BE00A361240261190738FB849FD /* Pod */, 112 | 29CC6CBF18D7F7396C35403D9D2B7255 /* Support Files */, 113 | ); 114 | name = TableViewHelper; 115 | path = ../TableViewHelper; 116 | sourceTree = ""; 117 | }; 118 | C0834CEBB1379A84116EF29F93051C60 /* iOS */ = { 119 | isa = PBXGroup; 120 | children = ( 121 | 3212113385A8FBBDB272BD23C409FF61 /* Foundation.framework */, 122 | ); 123 | name = iOS; 124 | sourceTree = ""; 125 | }; 126 | CF1408CF629C7361332E53B88F7BD30C = { 127 | isa = PBXGroup; 128 | children = ( 129 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */, 130 | DAEBD1CC3471458BD4F8AF1ACCBE3D3B /* Development Pods */, 131 | D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */, 132 | D50A0FFA779499488B4AD4D20FD734DB /* Products */, 133 | D97FEBC41F9760A35C383371D0012B91 /* Targets Support Files */, 134 | ); 135 | sourceTree = ""; 136 | }; 137 | D210D550F4EA176C3123ED886F8F87F5 /* Frameworks */ = { 138 | isa = PBXGroup; 139 | children = ( 140 | C0834CEBB1379A84116EF29F93051C60 /* iOS */, 141 | ); 142 | name = Frameworks; 143 | sourceTree = ""; 144 | }; 145 | D50A0FFA779499488B4AD4D20FD734DB /* Products */ = { 146 | isa = PBXGroup; 147 | children = ( 148 | 167261AFD648B7644E3E700F5C38B46D /* Pods_Tester.framework */, 149 | 9B2432BA893811988A91CBD7EB69AF4B /* TableViewHelper.framework */, 150 | ); 151 | name = Products; 152 | sourceTree = ""; 153 | }; 154 | D97FEBC41F9760A35C383371D0012B91 /* Targets Support Files */ = { 155 | isa = PBXGroup; 156 | children = ( 157 | 3E03E6D0D7624CC263BD79097746E47E /* Pods-Tester */, 158 | ); 159 | name = "Targets Support Files"; 160 | sourceTree = ""; 161 | }; 162 | DAEBD1CC3471458BD4F8AF1ACCBE3D3B /* Development Pods */ = { 163 | isa = PBXGroup; 164 | children = ( 165 | 9ABE8534EC3B15780F6703410F09359E /* TableViewHelper */, 166 | ); 167 | name = "Development Pods"; 168 | sourceTree = ""; 169 | }; 170 | E8F24BE00A361240261190738FB849FD /* Pod */ = { 171 | isa = PBXGroup; 172 | children = ( 173 | 31C668F9ECC0AFB355C467088D41AF9D /* TableViewHelper.podspec */, 174 | ); 175 | name = Pod; 176 | sourceTree = ""; 177 | }; 178 | /* End PBXGroup section */ 179 | 180 | /* Begin PBXHeadersBuildPhase section */ 181 | CCBE5AEDB9760C9A5AD6C08BAFA4F732 /* Headers */ = { 182 | isa = PBXHeadersBuildPhase; 183 | buildActionMask = 2147483647; 184 | files = ( 185 | BD9012AEACB46C386BD3038D1E7381BF /* TableViewHelper-umbrella.h in Headers */, 186 | 95E4EA13BE3327DE955D8F168E2C97B6 /* TableViewHelper.h in Headers */, 187 | ); 188 | runOnlyForDeploymentPostprocessing = 0; 189 | }; 190 | E188C2B0A2B7B70E72FB546B0664A64E /* Headers */ = { 191 | isa = PBXHeadersBuildPhase; 192 | buildActionMask = 2147483647; 193 | files = ( 194 | 6888691B84BC86AF15268A969C471BEC /* Pods-Tester-umbrella.h in Headers */, 195 | ); 196 | runOnlyForDeploymentPostprocessing = 0; 197 | }; 198 | /* End PBXHeadersBuildPhase section */ 199 | 200 | /* Begin PBXNativeTarget section */ 201 | 0BCFD4EF261415B9774A70EF1269F102 /* TableViewHelper */ = { 202 | isa = PBXNativeTarget; 203 | buildConfigurationList = 176A8B42697C13A68CA49BCF2F561C88 /* Build configuration list for PBXNativeTarget "TableViewHelper" */; 204 | buildPhases = ( 205 | CCBE5AEDB9760C9A5AD6C08BAFA4F732 /* Headers */, 206 | 5A1B6FF83349D9CCA82FD3826240C692 /* Sources */, 207 | 1E1F9502CC7A0781C2863A2700EC6355 /* Frameworks */, 208 | AC484CD93E8A5D7FF8B8C68AF6B7DFD7 /* Resources */, 209 | ); 210 | buildRules = ( 211 | ); 212 | dependencies = ( 213 | ); 214 | name = TableViewHelper; 215 | productName = TableViewHelper; 216 | productReference = 9B2432BA893811988A91CBD7EB69AF4B /* TableViewHelper.framework */; 217 | productType = "com.apple.product-type.framework"; 218 | }; 219 | 3335B61277E27D0268C355F99F2FD4D6 /* Pods-Tester */ = { 220 | isa = PBXNativeTarget; 221 | buildConfigurationList = D50607B4C46D2F71F4ED697BCE5B3F40 /* Build configuration list for PBXNativeTarget "Pods-Tester" */; 222 | buildPhases = ( 223 | E188C2B0A2B7B70E72FB546B0664A64E /* Headers */, 224 | 3993CF9872824075771DFC2E1FC2D33F /* Sources */, 225 | CF74EE1D0EA4C485F54C8238C6D4597F /* Frameworks */, 226 | 13EEF9879EF1C96D5D05C636F0A8A996 /* Resources */, 227 | ); 228 | buildRules = ( 229 | ); 230 | dependencies = ( 231 | 2D6ED60F716ACBBE49BED561881C45B0 /* PBXTargetDependency */, 232 | ); 233 | name = "Pods-Tester"; 234 | productName = "Pods-Tester"; 235 | productReference = 167261AFD648B7644E3E700F5C38B46D /* Pods_Tester.framework */; 236 | productType = "com.apple.product-type.framework"; 237 | }; 238 | /* End PBXNativeTarget section */ 239 | 240 | /* Begin PBXProject section */ 241 | BFDFE7DC352907FC980B868725387E98 /* Project object */ = { 242 | isa = PBXProject; 243 | attributes = { 244 | LastSwiftUpdateCheck = 1020; 245 | LastUpgradeCheck = 1020; 246 | }; 247 | buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */; 248 | compatibilityVersion = "Xcode 3.2"; 249 | developmentRegion = en; 250 | hasScannedForEncodings = 0; 251 | knownRegions = ( 252 | en, 253 | ); 254 | mainGroup = CF1408CF629C7361332E53B88F7BD30C; 255 | productRefGroup = D50A0FFA779499488B4AD4D20FD734DB /* Products */; 256 | projectDirPath = ""; 257 | projectRoot = ""; 258 | targets = ( 259 | 3335B61277E27D0268C355F99F2FD4D6 /* Pods-Tester */, 260 | 0BCFD4EF261415B9774A70EF1269F102 /* TableViewHelper */, 261 | ); 262 | }; 263 | /* End PBXProject section */ 264 | 265 | /* Begin PBXResourcesBuildPhase section */ 266 | 13EEF9879EF1C96D5D05C636F0A8A996 /* Resources */ = { 267 | isa = PBXResourcesBuildPhase; 268 | buildActionMask = 2147483647; 269 | files = ( 270 | ); 271 | runOnlyForDeploymentPostprocessing = 0; 272 | }; 273 | AC484CD93E8A5D7FF8B8C68AF6B7DFD7 /* Resources */ = { 274 | isa = PBXResourcesBuildPhase; 275 | buildActionMask = 2147483647; 276 | files = ( 277 | ); 278 | runOnlyForDeploymentPostprocessing = 0; 279 | }; 280 | /* End PBXResourcesBuildPhase section */ 281 | 282 | /* Begin PBXSourcesBuildPhase section */ 283 | 3993CF9872824075771DFC2E1FC2D33F /* Sources */ = { 284 | isa = PBXSourcesBuildPhase; 285 | buildActionMask = 2147483647; 286 | files = ( 287 | 2407003390C4F5CE89E22730250E4EE6 /* Pods-Tester-dummy.m in Sources */, 288 | ); 289 | runOnlyForDeploymentPostprocessing = 0; 290 | }; 291 | 5A1B6FF83349D9CCA82FD3826240C692 /* Sources */ = { 292 | isa = PBXSourcesBuildPhase; 293 | buildActionMask = 2147483647; 294 | files = ( 295 | EC68DFC7FEA2BB800B89B46F5003D96E /* TableViewHelper-dummy.m in Sources */, 296 | 8D56B8CCF59EE2755C00A429C01F634F /* TableViewHelper.swift in Sources */, 297 | ); 298 | runOnlyForDeploymentPostprocessing = 0; 299 | }; 300 | /* End PBXSourcesBuildPhase section */ 301 | 302 | /* Begin PBXTargetDependency section */ 303 | 2D6ED60F716ACBBE49BED561881C45B0 /* PBXTargetDependency */ = { 304 | isa = PBXTargetDependency; 305 | name = TableViewHelper; 306 | target = 0BCFD4EF261415B9774A70EF1269F102 /* TableViewHelper */; 307 | targetProxy = F37E30967936DBDDACF91305CB195993 /* PBXContainerItemProxy */; 308 | }; 309 | /* End PBXTargetDependency section */ 310 | 311 | /* Begin XCBuildConfiguration section */ 312 | 0AE70360858BFD3E438E1BC7B17DCAD1 /* Release */ = { 313 | isa = XCBuildConfiguration; 314 | baseConfigurationReference = 35CF46081F193E4BB7695B14F222417D /* TableViewHelper.xcconfig */; 315 | buildSettings = { 316 | CLANG_ENABLE_OBJC_WEAK = NO; 317 | CODE_SIGN_IDENTITY = ""; 318 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 319 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 320 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 321 | CURRENT_PROJECT_VERSION = 1; 322 | DEFINES_MODULE = YES; 323 | DYLIB_COMPATIBILITY_VERSION = 1; 324 | DYLIB_CURRENT_VERSION = 1; 325 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 326 | GCC_PREFIX_HEADER = "Target Support Files/TableViewHelper/TableViewHelper-prefix.pch"; 327 | INFOPLIST_FILE = "Target Support Files/TableViewHelper/TableViewHelper-Info.plist"; 328 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 329 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 330 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 331 | MODULEMAP_FILE = "Target Support Files/TableViewHelper/TableViewHelper.modulemap"; 332 | PRODUCT_MODULE_NAME = TableViewHelper; 333 | PRODUCT_NAME = TableViewHelper; 334 | SDKROOT = iphoneos; 335 | SKIP_INSTALL = YES; 336 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 337 | SWIFT_VERSION = 5.0; 338 | TARGETED_DEVICE_FAMILY = "1,2"; 339 | VALIDATE_PRODUCT = YES; 340 | VERSIONING_SYSTEM = "apple-generic"; 341 | VERSION_INFO_PREFIX = ""; 342 | }; 343 | name = Release; 344 | }; 345 | 196DFA3E4A09A28224918543529A1885 /* Debug */ = { 346 | isa = XCBuildConfiguration; 347 | buildSettings = { 348 | ALWAYS_SEARCH_USER_PATHS = NO; 349 | CLANG_ANALYZER_NONNULL = YES; 350 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 351 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 352 | CLANG_CXX_LIBRARY = "libc++"; 353 | CLANG_ENABLE_MODULES = YES; 354 | CLANG_ENABLE_OBJC_ARC = YES; 355 | CLANG_ENABLE_OBJC_WEAK = YES; 356 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 357 | CLANG_WARN_BOOL_CONVERSION = YES; 358 | CLANG_WARN_COMMA = YES; 359 | CLANG_WARN_CONSTANT_CONVERSION = YES; 360 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 361 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 362 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 363 | CLANG_WARN_EMPTY_BODY = YES; 364 | CLANG_WARN_ENUM_CONVERSION = YES; 365 | CLANG_WARN_INFINITE_RECURSION = YES; 366 | CLANG_WARN_INT_CONVERSION = YES; 367 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 368 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 369 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 370 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 371 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 372 | CLANG_WARN_STRICT_PROTOTYPES = YES; 373 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 374 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 375 | CLANG_WARN_UNREACHABLE_CODE = YES; 376 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 377 | COPY_PHASE_STRIP = NO; 378 | DEBUG_INFORMATION_FORMAT = dwarf; 379 | ENABLE_STRICT_OBJC_MSGSEND = YES; 380 | ENABLE_TESTABILITY = YES; 381 | GCC_C_LANGUAGE_STANDARD = gnu11; 382 | GCC_DYNAMIC_NO_PIC = NO; 383 | GCC_NO_COMMON_BLOCKS = YES; 384 | GCC_OPTIMIZATION_LEVEL = 0; 385 | GCC_PREPROCESSOR_DEFINITIONS = ( 386 | "POD_CONFIGURATION_DEBUG=1", 387 | "DEBUG=1", 388 | "$(inherited)", 389 | ); 390 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 391 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 392 | GCC_WARN_UNDECLARED_SELECTOR = YES; 393 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 394 | GCC_WARN_UNUSED_FUNCTION = YES; 395 | GCC_WARN_UNUSED_VARIABLE = YES; 396 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 397 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 398 | MTL_FAST_MATH = YES; 399 | ONLY_ACTIVE_ARCH = YES; 400 | PRODUCT_NAME = "$(TARGET_NAME)"; 401 | STRIP_INSTALLED_PRODUCT = NO; 402 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 403 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 404 | SWIFT_VERSION = 5.0; 405 | SYMROOT = "${SRCROOT}/../build"; 406 | }; 407 | name = Debug; 408 | }; 409 | 4E9D734F96602F0210FE63AF34A17CEA /* Debug */ = { 410 | isa = XCBuildConfiguration; 411 | baseConfigurationReference = 35CF46081F193E4BB7695B14F222417D /* TableViewHelper.xcconfig */; 412 | buildSettings = { 413 | CLANG_ENABLE_OBJC_WEAK = NO; 414 | CODE_SIGN_IDENTITY = ""; 415 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 416 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 417 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 418 | CURRENT_PROJECT_VERSION = 1; 419 | DEFINES_MODULE = YES; 420 | DYLIB_COMPATIBILITY_VERSION = 1; 421 | DYLIB_CURRENT_VERSION = 1; 422 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 423 | GCC_PREFIX_HEADER = "Target Support Files/TableViewHelper/TableViewHelper-prefix.pch"; 424 | INFOPLIST_FILE = "Target Support Files/TableViewHelper/TableViewHelper-Info.plist"; 425 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 426 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 427 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 428 | MODULEMAP_FILE = "Target Support Files/TableViewHelper/TableViewHelper.modulemap"; 429 | PRODUCT_MODULE_NAME = TableViewHelper; 430 | PRODUCT_NAME = TableViewHelper; 431 | SDKROOT = iphoneos; 432 | SKIP_INSTALL = YES; 433 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 434 | SWIFT_VERSION = 5.0; 435 | TARGETED_DEVICE_FAMILY = "1,2"; 436 | VERSIONING_SYSTEM = "apple-generic"; 437 | VERSION_INFO_PREFIX = ""; 438 | }; 439 | name = Debug; 440 | }; 441 | 4EEBBD62FE6809C08543588AEB24016B /* Debug */ = { 442 | isa = XCBuildConfiguration; 443 | baseConfigurationReference = E89EA0126BAB1A90C5B8403432425478 /* Pods-Tester.debug.xcconfig */; 444 | buildSettings = { 445 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 446 | CLANG_ENABLE_OBJC_WEAK = NO; 447 | CODE_SIGN_IDENTITY = ""; 448 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 449 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 450 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 451 | CURRENT_PROJECT_VERSION = 1; 452 | DEFINES_MODULE = YES; 453 | DYLIB_COMPATIBILITY_VERSION = 1; 454 | DYLIB_CURRENT_VERSION = 1; 455 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 456 | INFOPLIST_FILE = "Target Support Files/Pods-Tester/Pods-Tester-Info.plist"; 457 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 458 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 459 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 460 | MACH_O_TYPE = staticlib; 461 | MODULEMAP_FILE = "Target Support Files/Pods-Tester/Pods-Tester.modulemap"; 462 | OTHER_LDFLAGS = ""; 463 | OTHER_LIBTOOLFLAGS = ""; 464 | PODS_ROOT = "$(SRCROOT)"; 465 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 466 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 467 | SDKROOT = iphoneos; 468 | SKIP_INSTALL = YES; 469 | TARGETED_DEVICE_FAMILY = "1,2"; 470 | VERSIONING_SYSTEM = "apple-generic"; 471 | VERSION_INFO_PREFIX = ""; 472 | }; 473 | name = Debug; 474 | }; 475 | B01D14FDC83DCF9D4BE53066BEA96D05 /* Release */ = { 476 | isa = XCBuildConfiguration; 477 | buildSettings = { 478 | ALWAYS_SEARCH_USER_PATHS = NO; 479 | CLANG_ANALYZER_NONNULL = YES; 480 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 481 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 482 | CLANG_CXX_LIBRARY = "libc++"; 483 | CLANG_ENABLE_MODULES = YES; 484 | CLANG_ENABLE_OBJC_ARC = YES; 485 | CLANG_ENABLE_OBJC_WEAK = YES; 486 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 487 | CLANG_WARN_BOOL_CONVERSION = YES; 488 | CLANG_WARN_COMMA = YES; 489 | CLANG_WARN_CONSTANT_CONVERSION = YES; 490 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 491 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 492 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 493 | CLANG_WARN_EMPTY_BODY = YES; 494 | CLANG_WARN_ENUM_CONVERSION = YES; 495 | CLANG_WARN_INFINITE_RECURSION = YES; 496 | CLANG_WARN_INT_CONVERSION = YES; 497 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 498 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 499 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 500 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 501 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 502 | CLANG_WARN_STRICT_PROTOTYPES = YES; 503 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 504 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 505 | CLANG_WARN_UNREACHABLE_CODE = YES; 506 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 507 | COPY_PHASE_STRIP = NO; 508 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 509 | ENABLE_NS_ASSERTIONS = NO; 510 | ENABLE_STRICT_OBJC_MSGSEND = YES; 511 | GCC_C_LANGUAGE_STANDARD = gnu11; 512 | GCC_NO_COMMON_BLOCKS = YES; 513 | GCC_PREPROCESSOR_DEFINITIONS = ( 514 | "POD_CONFIGURATION_RELEASE=1", 515 | "$(inherited)", 516 | ); 517 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 518 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 519 | GCC_WARN_UNDECLARED_SELECTOR = YES; 520 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 521 | GCC_WARN_UNUSED_FUNCTION = YES; 522 | GCC_WARN_UNUSED_VARIABLE = YES; 523 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 524 | MTL_ENABLE_DEBUG_INFO = NO; 525 | MTL_FAST_MATH = YES; 526 | PRODUCT_NAME = "$(TARGET_NAME)"; 527 | STRIP_INSTALLED_PRODUCT = NO; 528 | SWIFT_COMPILATION_MODE = wholemodule; 529 | SWIFT_OPTIMIZATION_LEVEL = "-O"; 530 | SWIFT_VERSION = 5.0; 531 | SYMROOT = "${SRCROOT}/../build"; 532 | }; 533 | name = Release; 534 | }; 535 | ECC562EBD1B59E448A0FD6BDC177EFFE /* Release */ = { 536 | isa = XCBuildConfiguration; 537 | baseConfigurationReference = D7C0CC7E3C6627E6AE578A9D365B5349 /* Pods-Tester.release.xcconfig */; 538 | buildSettings = { 539 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 540 | CLANG_ENABLE_OBJC_WEAK = NO; 541 | CODE_SIGN_IDENTITY = ""; 542 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 543 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 544 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 545 | CURRENT_PROJECT_VERSION = 1; 546 | DEFINES_MODULE = YES; 547 | DYLIB_COMPATIBILITY_VERSION = 1; 548 | DYLIB_CURRENT_VERSION = 1; 549 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 550 | INFOPLIST_FILE = "Target Support Files/Pods-Tester/Pods-Tester-Info.plist"; 551 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 552 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 553 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 554 | MACH_O_TYPE = staticlib; 555 | MODULEMAP_FILE = "Target Support Files/Pods-Tester/Pods-Tester.modulemap"; 556 | OTHER_LDFLAGS = ""; 557 | OTHER_LIBTOOLFLAGS = ""; 558 | PODS_ROOT = "$(SRCROOT)"; 559 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 560 | PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; 561 | SDKROOT = iphoneos; 562 | SKIP_INSTALL = YES; 563 | TARGETED_DEVICE_FAMILY = "1,2"; 564 | VALIDATE_PRODUCT = YES; 565 | VERSIONING_SYSTEM = "apple-generic"; 566 | VERSION_INFO_PREFIX = ""; 567 | }; 568 | name = Release; 569 | }; 570 | /* End XCBuildConfiguration section */ 571 | 572 | /* Begin XCConfigurationList section */ 573 | 176A8B42697C13A68CA49BCF2F561C88 /* Build configuration list for PBXNativeTarget "TableViewHelper" */ = { 574 | isa = XCConfigurationList; 575 | buildConfigurations = ( 576 | 4E9D734F96602F0210FE63AF34A17CEA /* Debug */, 577 | 0AE70360858BFD3E438E1BC7B17DCAD1 /* Release */, 578 | ); 579 | defaultConfigurationIsVisible = 0; 580 | defaultConfigurationName = Release; 581 | }; 582 | 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { 583 | isa = XCConfigurationList; 584 | buildConfigurations = ( 585 | 196DFA3E4A09A28224918543529A1885 /* Debug */, 586 | B01D14FDC83DCF9D4BE53066BEA96D05 /* Release */, 587 | ); 588 | defaultConfigurationIsVisible = 0; 589 | defaultConfigurationName = Release; 590 | }; 591 | D50607B4C46D2F71F4ED697BCE5B3F40 /* Build configuration list for PBXNativeTarget "Pods-Tester" */ = { 592 | isa = XCConfigurationList; 593 | buildConfigurations = ( 594 | 4EEBBD62FE6809C08543588AEB24016B /* Debug */, 595 | ECC562EBD1B59E448A0FD6BDC177EFFE /* Release */, 596 | ); 597 | defaultConfigurationIsVisible = 0; 598 | defaultConfigurationName = Release; 599 | }; 600 | /* End XCConfigurationList section */ 601 | }; 602 | rootObject = BFDFE7DC352907FC980B868725387E98 /* Project object */; 603 | } 604 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-Tester/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 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-Tester/Pods-Tester-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 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-Tester/Pods-Tester-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | Generated by CocoaPods - https://cocoapods.org 4 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-Tester/Pods-Tester-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 | Generated by CocoaPods - https://cocoapods.org 18 | Title 19 | 20 | Type 21 | PSGroupSpecifier 22 | 23 | 24 | StringsTable 25 | Acknowledgements 26 | Title 27 | Acknowledgements 28 | 29 | 30 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-Tester/Pods-Tester-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_Tester : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_Tester 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-Tester/Pods-Tester-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | function on_error { 7 | echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" 8 | } 9 | trap 'on_error $LINENO' ERR 10 | 11 | if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then 12 | # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy 13 | # frameworks to, so exit 0 (signalling the script phase was successful). 14 | exit 0 15 | fi 16 | 17 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 18 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 19 | 20 | COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" 21 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 22 | 23 | # Used as a return value for each invocation of `strip_invalid_archs` function. 24 | STRIP_BINARY_RETVAL=0 25 | 26 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 27 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 28 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 29 | 30 | # Copies and strips a vendored framework 31 | install_framework() 32 | { 33 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 34 | local source="${BUILT_PRODUCTS_DIR}/$1" 35 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 36 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 37 | elif [ -r "$1" ]; then 38 | local source="$1" 39 | fi 40 | 41 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 42 | 43 | if [ -L "${source}" ]; then 44 | echo "Symlinked..." 45 | source="$(readlink "${source}")" 46 | fi 47 | 48 | # Use filter instead of exclude so missing patterns don't throw errors. 49 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 50 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 51 | 52 | local basename 53 | basename="$(basename -s .framework "$1")" 54 | binary="${destination}/${basename}.framework/${basename}" 55 | 56 | if ! [ -r "$binary" ]; then 57 | binary="${destination}/${basename}" 58 | elif [ -L "${binary}" ]; then 59 | echo "Destination binary is symlinked..." 60 | dirname="$(dirname "${binary}")" 61 | binary="${dirname}/$(readlink "${binary}")" 62 | fi 63 | 64 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 65 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 66 | strip_invalid_archs "$binary" 67 | fi 68 | 69 | # Resign the code if required by the build settings to avoid unstable apps 70 | code_sign_if_enabled "${destination}/$(basename "$1")" 71 | 72 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 73 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 74 | local swift_runtime_libs 75 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u) 76 | for lib in $swift_runtime_libs; do 77 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 78 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 79 | code_sign_if_enabled "${destination}/${lib}" 80 | done 81 | fi 82 | } 83 | 84 | # Copies and strips a vendored dSYM 85 | install_dsym() { 86 | local source="$1" 87 | if [ -r "$source" ]; then 88 | # Copy the dSYM into a the targets temp dir. 89 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" 90 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" 91 | 92 | local basename 93 | basename="$(basename -s .framework.dSYM "$source")" 94 | binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" 95 | 96 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 97 | if [[ "$(file "$binary")" == *"Mach-O "*"dSYM companion"* ]]; then 98 | strip_invalid_archs "$binary" 99 | fi 100 | 101 | if [[ $STRIP_BINARY_RETVAL == 1 ]]; then 102 | # Move the stripped file into its final destination. 103 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" 104 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" 105 | else 106 | # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. 107 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" 108 | fi 109 | fi 110 | } 111 | 112 | # Copies the bcsymbolmap files of a vendored framework 113 | install_bcsymbolmap() { 114 | local bcsymbolmap_path="$1" 115 | local destination="${BUILT_PRODUCTS_DIR}" 116 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}"" 117 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}" 118 | } 119 | 120 | # Signs a framework with the provided identity 121 | code_sign_if_enabled() { 122 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 123 | # Use the current code_sign_identity 124 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 125 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" 126 | 127 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 128 | code_sign_cmd="$code_sign_cmd &" 129 | fi 130 | echo "$code_sign_cmd" 131 | eval "$code_sign_cmd" 132 | fi 133 | } 134 | 135 | # Strip invalid architectures 136 | strip_invalid_archs() { 137 | binary="$1" 138 | # Get architectures for current target binary 139 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" 140 | # Intersect them with the architectures we are building for 141 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" 142 | # If there are no archs supported by this binary then warn the user 143 | if [[ -z "$intersected_archs" ]]; then 144 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." 145 | STRIP_BINARY_RETVAL=0 146 | return 147 | fi 148 | stripped="" 149 | for arch in $binary_archs; do 150 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then 151 | # Strip non-valid architectures in-place 152 | lipo -remove "$arch" -output "$binary" "$binary" 153 | stripped="$stripped $arch" 154 | fi 155 | done 156 | if [[ "$stripped" ]]; then 157 | echo "Stripped $binary of architectures:$stripped" 158 | fi 159 | STRIP_BINARY_RETVAL=1 160 | } 161 | 162 | 163 | if [[ "$CONFIGURATION" == "Debug" ]]; then 164 | install_framework "${BUILT_PRODUCTS_DIR}/TableViewHelper/TableViewHelper.framework" 165 | fi 166 | if [[ "$CONFIGURATION" == "Release" ]]; then 167 | install_framework "${BUILT_PRODUCTS_DIR}/TableViewHelper/TableViewHelper.framework" 168 | fi 169 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 170 | wait 171 | fi 172 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-Tester/Pods-Tester-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | if [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then 7 | # If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy 8 | # resources to, so exit 0 (signalling the script phase was successful). 9 | exit 0 10 | fi 11 | 12 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 13 | 14 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 15 | > "$RESOURCES_TO_COPY" 16 | 17 | XCASSET_FILES=() 18 | 19 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 20 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 21 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 22 | 23 | case "${TARGETED_DEVICE_FAMILY:-}" in 24 | 1,2) 25 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 26 | ;; 27 | 1) 28 | TARGET_DEVICE_ARGS="--target-device iphone" 29 | ;; 30 | 2) 31 | TARGET_DEVICE_ARGS="--target-device ipad" 32 | ;; 33 | 3) 34 | TARGET_DEVICE_ARGS="--target-device tv" 35 | ;; 36 | 4) 37 | TARGET_DEVICE_ARGS="--target-device watch" 38 | ;; 39 | *) 40 | TARGET_DEVICE_ARGS="--target-device mac" 41 | ;; 42 | esac 43 | 44 | install_resource() 45 | { 46 | if [[ "$1" = /* ]] ; then 47 | RESOURCE_PATH="$1" 48 | else 49 | RESOURCE_PATH="${PODS_ROOT}/$1" 50 | fi 51 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 52 | cat << EOM 53 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 54 | EOM 55 | exit 1 56 | fi 57 | case $RESOURCE_PATH in 58 | *.storyboard) 59 | 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 60 | 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} 61 | ;; 62 | *.xib) 63 | 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 64 | 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} 65 | ;; 66 | *.framework) 67 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 68 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 69 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 70 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 71 | ;; 72 | *.xcdatamodel) 73 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 74 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 75 | ;; 76 | *.xcdatamodeld) 77 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 78 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 79 | ;; 80 | *.xcmappingmodel) 81 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 82 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 83 | ;; 84 | *.xcassets) 85 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 86 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 87 | ;; 88 | *) 89 | echo "$RESOURCE_PATH" || true 90 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 91 | ;; 92 | esac 93 | } 94 | 95 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 96 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 97 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 98 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 99 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 100 | fi 101 | rm -f "$RESOURCES_TO_COPY" 102 | 103 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "${XCASSET_FILES:-}" ] 104 | then 105 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 106 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 107 | while read line; do 108 | if [[ $line != "${PODS_ROOT}*" ]]; then 109 | XCASSET_FILES+=("$line") 110 | fi 111 | done <<<"$OTHER_XCASSETS" 112 | 113 | if [ -z ${ASSETCATALOG_COMPILER_APPICON_NAME+x} ]; then 114 | 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}" 115 | else 116 | 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}" --app-icon "${ASSETCATALOG_COMPILER_APPICON_NAME}" --output-partial-info-plist "${TARGET_TEMP_DIR}/assetcatalog_generated_info_cocoapods.plist" 117 | fi 118 | fi 119 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-Tester/Pods-Tester-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_TesterVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_TesterVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-Tester/Pods-Tester.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/TableViewHelper" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/TableViewHelper/TableViewHelper.framework/Headers" 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_LDFLAGS = $(inherited) -framework "TableViewHelper" 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 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-Tester/Pods-Tester.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_Tester { 2 | umbrella header "Pods-Tester-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-Tester/Pods-Tester.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/TableViewHelper" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/TableViewHelper/TableViewHelper.framework/Headers" 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_LDFLAGS = $(inherited) -framework "TableViewHelper" 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 | -------------------------------------------------------------------------------- /Pods/Target Support Files/TableViewHelper/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 | 2.2.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Pods/Target Support Files/TableViewHelper/TableViewHelper-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 | 2.2.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Pods/Target Support Files/TableViewHelper/TableViewHelper-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_TableViewHelper : NSObject 3 | @end 4 | @implementation PodsDummy_TableViewHelper 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Target Support Files/TableViewHelper/TableViewHelper-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 | -------------------------------------------------------------------------------- /Pods/Target Support Files/TableViewHelper/TableViewHelper-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 | #import "TableViewHelper.h" 14 | 15 | FOUNDATION_EXPORT double TableViewHelperVersionNumber; 16 | FOUNDATION_EXPORT const unsigned char TableViewHelperVersionString[]; 17 | 18 | -------------------------------------------------------------------------------- /Pods/Target Support Files/TableViewHelper/TableViewHelper.modulemap: -------------------------------------------------------------------------------- 1 | framework module TableViewHelper { 2 | umbrella header "TableViewHelper-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Pods/Target Support Files/TableViewHelper/TableViewHelper.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/TableViewHelper 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../TableViewHelper 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # TableViewHelper 2 | [![CocoaPods](https://img.shields.io/cocoapods/v/TableViewHelper.svg)](https://cocoapods.org/) 3 | 4 | Swift Struct to dynamically hide and show UITableView Rows by name. This is written in Swift 5. 5 | 6 | Includes sample app. 7 | 8 | ## Installation ## 9 | - Cocoapods 10 | - Include TableViewHelper.swift in your project 11 | 12 | ## Basics ## 13 | Instantiate a copy of the class with a reference to the tableView: 14 | ```swift 15 | helper = TableViewHelper(tableView:tableView) 16 | ``` 17 | 18 | Add all cells that can show to the helper giving each cell a name (multiple cells can have the same name): 19 | ```swift 20 | helper.addCell(section: 0, cell: tableView.dequeueReusableCellWithIdentifier("S0R0")! as UITableViewCell, name: "S0R0") 21 | helper.addCell(section: 0, cell: tableView.dequeueReusableCellWithIdentifier("S0R1")! as UITableViewCell, name: "S0R1") 22 | 23 | helper.addCell(section: 1, cell: tableView.dequeueReusableCellWithIdentifier("S1R0")! as UITableViewCell, name: "S1R0") 24 | ``` 25 | 26 | Reference the helper class for relevant UITableView calls: 27 | ```swift 28 | func numberOfSectionsInTableView(tableView: UITableView) -> Int { 29 | return helper.numberOfSections() 30 | } 31 | 32 | func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int { 33 | return helper.numberOfRows(in: section) 34 | } 35 | 36 | func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell { 37 | return helper.cellForRow(at: indexPath) 38 | } 39 | ``` 40 | 41 | Hide or show cells by name (if multiple cells have the same name, then all with that name are shown or hidden): 42 | ```swift 43 | helper.hideCell("S0R0") 44 | helper.hideCell("S0R1") 45 | helper.showCell("S1R0") 46 | ``` 47 | 48 | ## All public methods ## 49 | ```swift 50 | init(tableView:UITableView) 51 | func addCell(section:Int, cell:UITableViewCell, name:String, isInitiallyHidden: Bool = false) 52 | 53 | func hideInitiallyHiddenCells() 54 | func hideCell(_ name:String) 55 | func showCell(_ name:String) 56 | 57 | func cellName(at indexPath:NSIndexPath) -> String? 58 | func indexPathForCell(_ name:String) -> NSIndexPath? // first matching cell 59 | func indexPathsForCell(_ name:String) -> [NSIndexPath] 60 | func visibleCells(_ name:String) -> [UITableViewCell] 61 | func cellIsVisible(_ name:String) -> Bool // // returns true if ALL cells with that name are visible 62 | 63 | func numberOfSections() -> Int 64 | func numberOfRows(inSection section: Int) -> Int 65 | func cellForRow(at indexPath: NSIndexPath) -> UITableViewCell 66 | ``` 67 | -------------------------------------------------------------------------------- /TableViewHelper/TableViewHelper.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = "TableViewHelper" 3 | s.version = "2.2" 4 | s.summary = "Easily hide and show UITableView Rows" 5 | s.homepage = "https://github.com/AaronBratcher/TableViewHelper" 6 | 7 | s.license = "MIT" 8 | s.author = { "Aaron Bratcher" => "aaronlbratcher@yahoo.com" } 9 | s.social_media_url = "http://twitter.com/AaronLBratcher" 10 | 11 | s.platform = :ios, "10.0" 12 | s.swift_versions = "5.0" 13 | s.source = { :git => "https://github.com/AaronBratcher/TableViewHelper.git", :tag => s.version } 14 | s.source_files = "TableViewHelper", "TableViewHelper/TableViewHelper/**/*.{h,m,swift}" 15 | end 16 | -------------------------------------------------------------------------------- /TableViewHelper/TableViewHelper.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 89F5ADE11D9070E300E3C870 /* TableViewHelper.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 89F5ADD71D9070E300E3C870 /* TableViewHelper.framework */; }; 11 | 89F5ADE61D9070E300E3C870 /* TableViewHelperTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 89F5ADE51D9070E300E3C870 /* TableViewHelperTests.swift */; }; 12 | 89F5ADE81D9070E300E3C870 /* TableViewHelper.h in Headers */ = {isa = PBXBuildFile; fileRef = 89F5ADDA1D9070E300E3C870 /* TableViewHelper.h */; settings = {ATTRIBUTES = (Public, ); }; }; 13 | 89F5ADF21D90710500E3C870 /* TableViewHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 89F5ADF11D90710500E3C870 /* TableViewHelper.swift */; }; 14 | /* End PBXBuildFile section */ 15 | 16 | /* Begin PBXContainerItemProxy section */ 17 | 89F5ADE21D9070E300E3C870 /* PBXContainerItemProxy */ = { 18 | isa = PBXContainerItemProxy; 19 | containerPortal = 89F5ADCE1D9070E300E3C870 /* Project object */; 20 | proxyType = 1; 21 | remoteGlobalIDString = 89F5ADD61D9070E300E3C870; 22 | remoteInfo = TableViewHelper; 23 | }; 24 | /* End PBXContainerItemProxy section */ 25 | 26 | /* Begin PBXFileReference section */ 27 | 89F5ADD71D9070E300E3C870 /* TableViewHelper.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = TableViewHelper.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 28 | 89F5ADDA1D9070E300E3C870 /* TableViewHelper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TableViewHelper.h; sourceTree = ""; }; 29 | 89F5ADDB1D9070E300E3C870 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 30 | 89F5ADE01D9070E300E3C870 /* TableViewHelperTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = TableViewHelperTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 31 | 89F5ADE51D9070E300E3C870 /* TableViewHelperTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TableViewHelperTests.swift; sourceTree = ""; }; 32 | 89F5ADE71D9070E300E3C870 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 33 | 89F5ADF11D90710500E3C870 /* TableViewHelper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableViewHelper.swift; sourceTree = ""; }; 34 | /* End PBXFileReference section */ 35 | 36 | /* Begin PBXFrameworksBuildPhase section */ 37 | 89F5ADD31D9070E300E3C870 /* Frameworks */ = { 38 | isa = PBXFrameworksBuildPhase; 39 | buildActionMask = 2147483647; 40 | files = ( 41 | ); 42 | runOnlyForDeploymentPostprocessing = 0; 43 | }; 44 | 89F5ADDD1D9070E300E3C870 /* Frameworks */ = { 45 | isa = PBXFrameworksBuildPhase; 46 | buildActionMask = 2147483647; 47 | files = ( 48 | 89F5ADE11D9070E300E3C870 /* TableViewHelper.framework in Frameworks */, 49 | ); 50 | runOnlyForDeploymentPostprocessing = 0; 51 | }; 52 | /* End PBXFrameworksBuildPhase section */ 53 | 54 | /* Begin PBXGroup section */ 55 | 89F5ADCD1D9070E300E3C870 = { 56 | isa = PBXGroup; 57 | children = ( 58 | 89F5ADD91D9070E300E3C870 /* TableViewHelper */, 59 | 89F5ADE41D9070E300E3C870 /* TableViewHelperTests */, 60 | 89F5ADD81D9070E300E3C870 /* Products */, 61 | ); 62 | sourceTree = ""; 63 | }; 64 | 89F5ADD81D9070E300E3C870 /* Products */ = { 65 | isa = PBXGroup; 66 | children = ( 67 | 89F5ADD71D9070E300E3C870 /* TableViewHelper.framework */, 68 | 89F5ADE01D9070E300E3C870 /* TableViewHelperTests.xctest */, 69 | ); 70 | name = Products; 71 | sourceTree = ""; 72 | }; 73 | 89F5ADD91D9070E300E3C870 /* TableViewHelper */ = { 74 | isa = PBXGroup; 75 | children = ( 76 | 89F5ADDA1D9070E300E3C870 /* TableViewHelper.h */, 77 | 89F5ADF11D90710500E3C870 /* TableViewHelper.swift */, 78 | 89F5ADDB1D9070E300E3C870 /* Info.plist */, 79 | ); 80 | path = TableViewHelper; 81 | sourceTree = ""; 82 | }; 83 | 89F5ADE41D9070E300E3C870 /* TableViewHelperTests */ = { 84 | isa = PBXGroup; 85 | children = ( 86 | 89F5ADE51D9070E300E3C870 /* TableViewHelperTests.swift */, 87 | 89F5ADE71D9070E300E3C870 /* Info.plist */, 88 | ); 89 | path = TableViewHelperTests; 90 | sourceTree = ""; 91 | }; 92 | /* End PBXGroup section */ 93 | 94 | /* Begin PBXHeadersBuildPhase section */ 95 | 89F5ADD41D9070E300E3C870 /* Headers */ = { 96 | isa = PBXHeadersBuildPhase; 97 | buildActionMask = 2147483647; 98 | files = ( 99 | 89F5ADE81D9070E300E3C870 /* TableViewHelper.h in Headers */, 100 | ); 101 | runOnlyForDeploymentPostprocessing = 0; 102 | }; 103 | /* End PBXHeadersBuildPhase section */ 104 | 105 | /* Begin PBXNativeTarget section */ 106 | 89F5ADD61D9070E300E3C870 /* TableViewHelper */ = { 107 | isa = PBXNativeTarget; 108 | buildConfigurationList = 89F5ADEB1D9070E300E3C870 /* Build configuration list for PBXNativeTarget "TableViewHelper" */; 109 | buildPhases = ( 110 | 89F5ADD21D9070E300E3C870 /* Sources */, 111 | 89F5ADD31D9070E300E3C870 /* Frameworks */, 112 | 89F5ADD41D9070E300E3C870 /* Headers */, 113 | 89F5ADD51D9070E300E3C870 /* Resources */, 114 | ); 115 | buildRules = ( 116 | ); 117 | dependencies = ( 118 | ); 119 | name = TableViewHelper; 120 | productName = TableViewHelper; 121 | productReference = 89F5ADD71D9070E300E3C870 /* TableViewHelper.framework */; 122 | productType = "com.apple.product-type.framework"; 123 | }; 124 | 89F5ADDF1D9070E300E3C870 /* TableViewHelperTests */ = { 125 | isa = PBXNativeTarget; 126 | buildConfigurationList = 89F5ADEE1D9070E300E3C870 /* Build configuration list for PBXNativeTarget "TableViewHelperTests" */; 127 | buildPhases = ( 128 | 89F5ADDC1D9070E300E3C870 /* Sources */, 129 | 89F5ADDD1D9070E300E3C870 /* Frameworks */, 130 | 89F5ADDE1D9070E300E3C870 /* Resources */, 131 | ); 132 | buildRules = ( 133 | ); 134 | dependencies = ( 135 | 89F5ADE31D9070E300E3C870 /* PBXTargetDependency */, 136 | ); 137 | name = TableViewHelperTests; 138 | productName = TableViewHelperTests; 139 | productReference = 89F5ADE01D9070E300E3C870 /* TableViewHelperTests.xctest */; 140 | productType = "com.apple.product-type.bundle.unit-test"; 141 | }; 142 | /* End PBXNativeTarget section */ 143 | 144 | /* Begin PBXProject section */ 145 | 89F5ADCE1D9070E300E3C870 /* Project object */ = { 146 | isa = PBXProject; 147 | attributes = { 148 | LastSwiftUpdateCheck = 0800; 149 | LastUpgradeCheck = 1020; 150 | ORGANIZATIONNAME = "Aaron Bratcher"; 151 | TargetAttributes = { 152 | 89F5ADD61D9070E300E3C870 = { 153 | CreatedOnToolsVersion = 8.0; 154 | LastSwiftMigration = 1020; 155 | ProvisioningStyle = Automatic; 156 | }; 157 | 89F5ADDF1D9070E300E3C870 = { 158 | CreatedOnToolsVersion = 8.0; 159 | LastSwiftMigration = 1020; 160 | ProvisioningStyle = Automatic; 161 | }; 162 | }; 163 | }; 164 | buildConfigurationList = 89F5ADD11D9070E300E3C870 /* Build configuration list for PBXProject "TableViewHelper" */; 165 | compatibilityVersion = "Xcode 3.2"; 166 | developmentRegion = en; 167 | hasScannedForEncodings = 0; 168 | knownRegions = ( 169 | en, 170 | Base, 171 | ); 172 | mainGroup = 89F5ADCD1D9070E300E3C870; 173 | productRefGroup = 89F5ADD81D9070E300E3C870 /* Products */; 174 | projectDirPath = ""; 175 | projectRoot = ""; 176 | targets = ( 177 | 89F5ADD61D9070E300E3C870 /* TableViewHelper */, 178 | 89F5ADDF1D9070E300E3C870 /* TableViewHelperTests */, 179 | ); 180 | }; 181 | /* End PBXProject section */ 182 | 183 | /* Begin PBXResourcesBuildPhase section */ 184 | 89F5ADD51D9070E300E3C870 /* Resources */ = { 185 | isa = PBXResourcesBuildPhase; 186 | buildActionMask = 2147483647; 187 | files = ( 188 | ); 189 | runOnlyForDeploymentPostprocessing = 0; 190 | }; 191 | 89F5ADDE1D9070E300E3C870 /* Resources */ = { 192 | isa = PBXResourcesBuildPhase; 193 | buildActionMask = 2147483647; 194 | files = ( 195 | ); 196 | runOnlyForDeploymentPostprocessing = 0; 197 | }; 198 | /* End PBXResourcesBuildPhase section */ 199 | 200 | /* Begin PBXSourcesBuildPhase section */ 201 | 89F5ADD21D9070E300E3C870 /* Sources */ = { 202 | isa = PBXSourcesBuildPhase; 203 | buildActionMask = 2147483647; 204 | files = ( 205 | 89F5ADF21D90710500E3C870 /* TableViewHelper.swift in Sources */, 206 | ); 207 | runOnlyForDeploymentPostprocessing = 0; 208 | }; 209 | 89F5ADDC1D9070E300E3C870 /* Sources */ = { 210 | isa = PBXSourcesBuildPhase; 211 | buildActionMask = 2147483647; 212 | files = ( 213 | 89F5ADE61D9070E300E3C870 /* TableViewHelperTests.swift in Sources */, 214 | ); 215 | runOnlyForDeploymentPostprocessing = 0; 216 | }; 217 | /* End PBXSourcesBuildPhase section */ 218 | 219 | /* Begin PBXTargetDependency section */ 220 | 89F5ADE31D9070E300E3C870 /* PBXTargetDependency */ = { 221 | isa = PBXTargetDependency; 222 | target = 89F5ADD61D9070E300E3C870 /* TableViewHelper */; 223 | targetProxy = 89F5ADE21D9070E300E3C870 /* PBXContainerItemProxy */; 224 | }; 225 | /* End PBXTargetDependency section */ 226 | 227 | /* Begin XCBuildConfiguration section */ 228 | 89F5ADE91D9070E300E3C870 /* Debug */ = { 229 | isa = XCBuildConfiguration; 230 | buildSettings = { 231 | ALWAYS_SEARCH_USER_PATHS = NO; 232 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 233 | CLANG_ANALYZER_NONNULL = YES; 234 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 235 | CLANG_CXX_LIBRARY = "libc++"; 236 | CLANG_ENABLE_MODULES = YES; 237 | CLANG_ENABLE_OBJC_ARC = YES; 238 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 239 | CLANG_WARN_BOOL_CONVERSION = YES; 240 | CLANG_WARN_COMMA = YES; 241 | CLANG_WARN_CONSTANT_CONVERSION = YES; 242 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 243 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 244 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 245 | CLANG_WARN_EMPTY_BODY = YES; 246 | CLANG_WARN_ENUM_CONVERSION = YES; 247 | CLANG_WARN_INFINITE_RECURSION = YES; 248 | CLANG_WARN_INT_CONVERSION = YES; 249 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 250 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 251 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 252 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 253 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 254 | CLANG_WARN_STRICT_PROTOTYPES = YES; 255 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 256 | CLANG_WARN_SUSPICIOUS_MOVES = YES; 257 | CLANG_WARN_UNREACHABLE_CODE = YES; 258 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 259 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 260 | COPY_PHASE_STRIP = NO; 261 | CURRENT_PROJECT_VERSION = 1; 262 | DEBUG_INFORMATION_FORMAT = dwarf; 263 | ENABLE_STRICT_OBJC_MSGSEND = YES; 264 | ENABLE_TESTABILITY = YES; 265 | GCC_C_LANGUAGE_STANDARD = gnu99; 266 | GCC_DYNAMIC_NO_PIC = NO; 267 | GCC_NO_COMMON_BLOCKS = YES; 268 | GCC_OPTIMIZATION_LEVEL = 0; 269 | GCC_PREPROCESSOR_DEFINITIONS = ( 270 | "DEBUG=1", 271 | "$(inherited)", 272 | ); 273 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 274 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 275 | GCC_WARN_UNDECLARED_SELECTOR = YES; 276 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 277 | GCC_WARN_UNUSED_FUNCTION = YES; 278 | GCC_WARN_UNUSED_VARIABLE = YES; 279 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 280 | MTL_ENABLE_DEBUG_INFO = YES; 281 | ONLY_ACTIVE_ARCH = YES; 282 | SDKROOT = iphoneos; 283 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 284 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 285 | TARGETED_DEVICE_FAMILY = "1,2"; 286 | VERSIONING_SYSTEM = "apple-generic"; 287 | VERSION_INFO_PREFIX = ""; 288 | }; 289 | name = Debug; 290 | }; 291 | 89F5ADEA1D9070E300E3C870 /* Release */ = { 292 | isa = XCBuildConfiguration; 293 | buildSettings = { 294 | ALWAYS_SEARCH_USER_PATHS = NO; 295 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 296 | CLANG_ANALYZER_NONNULL = YES; 297 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 298 | CLANG_CXX_LIBRARY = "libc++"; 299 | CLANG_ENABLE_MODULES = YES; 300 | CLANG_ENABLE_OBJC_ARC = YES; 301 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 302 | CLANG_WARN_BOOL_CONVERSION = YES; 303 | CLANG_WARN_COMMA = YES; 304 | CLANG_WARN_CONSTANT_CONVERSION = YES; 305 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 306 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 307 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 308 | CLANG_WARN_EMPTY_BODY = YES; 309 | CLANG_WARN_ENUM_CONVERSION = YES; 310 | CLANG_WARN_INFINITE_RECURSION = YES; 311 | CLANG_WARN_INT_CONVERSION = YES; 312 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 313 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 314 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 315 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 316 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 317 | CLANG_WARN_STRICT_PROTOTYPES = YES; 318 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 319 | CLANG_WARN_SUSPICIOUS_MOVES = YES; 320 | CLANG_WARN_UNREACHABLE_CODE = YES; 321 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 322 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 323 | COPY_PHASE_STRIP = NO; 324 | CURRENT_PROJECT_VERSION = 1; 325 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 326 | ENABLE_NS_ASSERTIONS = NO; 327 | ENABLE_STRICT_OBJC_MSGSEND = YES; 328 | GCC_C_LANGUAGE_STANDARD = gnu99; 329 | GCC_NO_COMMON_BLOCKS = YES; 330 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 331 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 332 | GCC_WARN_UNDECLARED_SELECTOR = YES; 333 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 334 | GCC_WARN_UNUSED_FUNCTION = YES; 335 | GCC_WARN_UNUSED_VARIABLE = YES; 336 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 337 | MTL_ENABLE_DEBUG_INFO = NO; 338 | SDKROOT = iphoneos; 339 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 340 | TARGETED_DEVICE_FAMILY = "1,2"; 341 | VALIDATE_PRODUCT = YES; 342 | VERSIONING_SYSTEM = "apple-generic"; 343 | VERSION_INFO_PREFIX = ""; 344 | }; 345 | name = Release; 346 | }; 347 | 89F5ADEC1D9070E300E3C870 /* Debug */ = { 348 | isa = XCBuildConfiguration; 349 | buildSettings = { 350 | CLANG_ENABLE_MODULES = YES; 351 | CODE_SIGN_IDENTITY = ""; 352 | DEFINES_MODULE = YES; 353 | DYLIB_COMPATIBILITY_VERSION = 1; 354 | DYLIB_CURRENT_VERSION = 1; 355 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 356 | INFOPLIST_FILE = TableViewHelper/Info.plist; 357 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 358 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 359 | PRODUCT_BUNDLE_IDENTIFIER = com.AaronLBratcher.TableViewHelper; 360 | PRODUCT_NAME = "$(TARGET_NAME)"; 361 | SKIP_INSTALL = YES; 362 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 363 | SWIFT_VERSION = 5.0; 364 | }; 365 | name = Debug; 366 | }; 367 | 89F5ADED1D9070E300E3C870 /* Release */ = { 368 | isa = XCBuildConfiguration; 369 | buildSettings = { 370 | CLANG_ENABLE_MODULES = YES; 371 | CODE_SIGN_IDENTITY = ""; 372 | DEFINES_MODULE = YES; 373 | DYLIB_COMPATIBILITY_VERSION = 1; 374 | DYLIB_CURRENT_VERSION = 1; 375 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 376 | INFOPLIST_FILE = TableViewHelper/Info.plist; 377 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 378 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 379 | PRODUCT_BUNDLE_IDENTIFIER = com.AaronLBratcher.TableViewHelper; 380 | PRODUCT_NAME = "$(TARGET_NAME)"; 381 | SKIP_INSTALL = YES; 382 | SWIFT_VERSION = 5.0; 383 | }; 384 | name = Release; 385 | }; 386 | 89F5ADEF1D9070E300E3C870 /* Debug */ = { 387 | isa = XCBuildConfiguration; 388 | buildSettings = { 389 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 390 | INFOPLIST_FILE = TableViewHelperTests/Info.plist; 391 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 392 | PRODUCT_BUNDLE_IDENTIFIER = com.AaronLBratcher.TableViewHelperTests; 393 | PRODUCT_NAME = "$(TARGET_NAME)"; 394 | SWIFT_VERSION = 5.0; 395 | }; 396 | name = Debug; 397 | }; 398 | 89F5ADF01D9070E300E3C870 /* Release */ = { 399 | isa = XCBuildConfiguration; 400 | buildSettings = { 401 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 402 | INFOPLIST_FILE = TableViewHelperTests/Info.plist; 403 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 404 | PRODUCT_BUNDLE_IDENTIFIER = com.AaronLBratcher.TableViewHelperTests; 405 | PRODUCT_NAME = "$(TARGET_NAME)"; 406 | SWIFT_VERSION = 5.0; 407 | }; 408 | name = Release; 409 | }; 410 | /* End XCBuildConfiguration section */ 411 | 412 | /* Begin XCConfigurationList section */ 413 | 89F5ADD11D9070E300E3C870 /* Build configuration list for PBXProject "TableViewHelper" */ = { 414 | isa = XCConfigurationList; 415 | buildConfigurations = ( 416 | 89F5ADE91D9070E300E3C870 /* Debug */, 417 | 89F5ADEA1D9070E300E3C870 /* Release */, 418 | ); 419 | defaultConfigurationIsVisible = 0; 420 | defaultConfigurationName = Release; 421 | }; 422 | 89F5ADEB1D9070E300E3C870 /* Build configuration list for PBXNativeTarget "TableViewHelper" */ = { 423 | isa = XCConfigurationList; 424 | buildConfigurations = ( 425 | 89F5ADEC1D9070E300E3C870 /* Debug */, 426 | 89F5ADED1D9070E300E3C870 /* Release */, 427 | ); 428 | defaultConfigurationIsVisible = 0; 429 | defaultConfigurationName = Release; 430 | }; 431 | 89F5ADEE1D9070E300E3C870 /* Build configuration list for PBXNativeTarget "TableViewHelperTests" */ = { 432 | isa = XCConfigurationList; 433 | buildConfigurations = ( 434 | 89F5ADEF1D9070E300E3C870 /* Debug */, 435 | 89F5ADF01D9070E300E3C870 /* Release */, 436 | ); 437 | defaultConfigurationIsVisible = 0; 438 | defaultConfigurationName = Release; 439 | }; 440 | /* End XCConfigurationList section */ 441 | }; 442 | rootObject = 89F5ADCE1D9070E300E3C870 /* Project object */; 443 | } 444 | -------------------------------------------------------------------------------- /TableViewHelper/TableViewHelper.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /TableViewHelper/TableViewHelper.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /TableViewHelper/TableViewHelper/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 19 | CFBundleVersion 20 | $(CURRENT_PROJECT_VERSION) 21 | NSPrincipalClass 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /TableViewHelper/TableViewHelper/TableViewHelper.h: -------------------------------------------------------------------------------- 1 | // 2 | // TableViewHelper.h 3 | // TableViewHelper 4 | // 5 | // Created by Aaron Bratcher on 9/19/16. 6 | // Copyright © 2016 Aaron Bratcher. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | //! Project version number for TableViewHelper. 12 | FOUNDATION_EXPORT double TableViewHelperVersionNumber; 13 | 14 | //! Project version string for TableViewHelper. 15 | FOUNDATION_EXPORT const unsigned char TableViewHelperVersionString[]; 16 | 17 | // In this header, you should import all the public headers of your framework using statements like #import 18 | 19 | 20 | -------------------------------------------------------------------------------- /TableViewHelper/TableViewHelper/TableViewHelper.swift: -------------------------------------------------------------------------------- 1 | // 2 | // DynamicTableView.swift 3 | // My Money 4 | // 5 | // Created by Aaron Bratcher on 9/26/14. 6 | // Copyright (c) 2014 Aaron L. Bratcher. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | import UIKit 11 | 12 | public class TableViewHelper { 13 | var tableView:UITableView 14 | 15 | fileprivate var initiallyHidden = Set() 16 | 17 | public init(tableView:UITableView) { 18 | self.tableView = tableView 19 | } 20 | 21 | public func addCell(section:Int, cell:UITableViewCell, name:String, isInitiallyHidden: Bool = false) { 22 | let newCell = Cell(section: section, name: name, tableViewCell: cell) 23 | cells.append(newCell) 24 | var indexPath:IndexPath 25 | 26 | if let count = cellCount[section] { 27 | cellCount[section] = count+1 28 | indexPath = IndexPath(row: count, section: section) 29 | } else { 30 | cellCount[section] = 1 31 | indexPath = IndexPath(row: 0, section: section) 32 | } 33 | 34 | indexedCells[indexPath] = newCell 35 | if isInitiallyHidden { 36 | initiallyHidden.insert(name) 37 | } 38 | } 39 | 40 | public func deleteAllCells() { 41 | cells = [] 42 | tableView.reloadData() 43 | } 44 | 45 | public func hideInitiallyHiddenCells() { 46 | for name in initiallyHidden { 47 | hideCell(name, immediate: false) 48 | } 49 | 50 | initiallyHidden = [] 51 | } 52 | 53 | public func hideCell(_ name:String, immediate: Bool = true) { 54 | var removePaths = [IndexPath]() 55 | let removeSections = NSMutableIndexSet() 56 | 57 | for section in 0.. 0 { 92 | section += 1 93 | } 94 | row = 0 95 | } 96 | 97 | if cell.visible { 98 | row += 1 99 | } else { 100 | if cell.name == name { 101 | let indexPath = IndexPath(row: row, section: section) 102 | cell.visible = true 103 | addPaths.append(indexPath) 104 | } 105 | } 106 | } 107 | 108 | let initialCount = numberOfSections() 109 | recalcIndexedCells() 110 | 111 | if initialCount == numberOfSections() { 112 | tableView.insertRows(at: addPaths, with: .top) 113 | } else { 114 | tableView.reloadData() 115 | } 116 | } 117 | 118 | public func cellName(at indexPath:IndexPath) -> String? { 119 | for path in indexedCells.keys { 120 | if (path as NSIndexPath).section == (indexPath as NSIndexPath).section && (path as NSIndexPath).row == (indexPath as NSIndexPath).row { 121 | return indexedCells[path]!.name 122 | } 123 | } 124 | 125 | return nil 126 | } 127 | 128 | public func indexPathForCell(_ name:String) -> IndexPath? { 129 | for path in indexedCells.keys { 130 | let cell = indexedCells[path]! 131 | if cell.name == name { 132 | return path 133 | } 134 | } 135 | 136 | return nil 137 | } 138 | 139 | public func indexPathsForCell(_ name:String) -> [IndexPath] { 140 | var paths = [IndexPath]() 141 | for path in indexedCells.keys { 142 | let cell = indexedCells[path]! 143 | if cell.name == name { 144 | paths.append(path) 145 | } 146 | } 147 | 148 | return paths 149 | } 150 | 151 | public func visibleCells(_ name:String) -> [UITableViewCell] { 152 | var matchingCells = [UITableViewCell]() 153 | for cell in cells { 154 | if cell.name == name && cell.visible { 155 | matchingCells.append(cell.tableViewCell) 156 | } 157 | } 158 | 159 | return matchingCells 160 | } 161 | 162 | /// returns true if ALL cells with that name are visible 163 | public func cellIsVisible(_ name:String) -> Bool { 164 | var visible = true 165 | for cell in cells { 166 | if cell.name == name && !cell.visible { 167 | visible = false 168 | break 169 | } 170 | } 171 | 172 | return visible 173 | } 174 | 175 | 176 | public func numberOfSections() -> Int { 177 | var count = 0 178 | 179 | for section in cellCount.keys { 180 | if cellCount[section]! > 0 { 181 | count += 1 182 | } 183 | } 184 | 185 | return count 186 | } 187 | 188 | public func numberOfRows(inSection section: Int) -> Int { 189 | if let count = cellCount[section] { 190 | return count 191 | } else { 192 | return 0 193 | } 194 | } 195 | 196 | public func cellForRow(at indexPath: IndexPath) -> UITableViewCell { 197 | var cell:Cell? 198 | for path in indexedCells.keys { 199 | if (path as NSIndexPath).section == (indexPath as NSIndexPath).section && (path as NSIndexPath).row == (indexPath as NSIndexPath).row { 200 | cell = indexedCells[path] 201 | break 202 | } 203 | } 204 | 205 | return cell!.tableViewCell 206 | } 207 | 208 | fileprivate class Cell { 209 | var section:Int 210 | var name:String 211 | var tableViewCell:UITableViewCell 212 | var visible = true 213 | 214 | init(section:Int, name:String, tableViewCell:UITableViewCell) { 215 | self.section = section 216 | self.name = name 217 | self.tableViewCell = tableViewCell 218 | } 219 | } 220 | 221 | fileprivate var cells = [Cell]() 222 | fileprivate var indexedCells = [IndexPath:Cell]() 223 | fileprivate var cellCount = [Int:Int]() 224 | 225 | fileprivate func recalcIndexedCells() { 226 | var index = 0 227 | var section = 0 228 | var cellSection = 0 229 | indexedCells = [IndexPath:Cell](); 230 | cellCount = [Int:Int]() 231 | for cell in cells { 232 | if cell.section != cellSection { 233 | if index > 0 { 234 | cellCount[section] = index 235 | section += 1 236 | } 237 | cellSection = cell.section 238 | index = 0 239 | } 240 | 241 | if cell.visible { 242 | let indexPath = IndexPath(row: index, section: section) 243 | indexedCells[indexPath] = cell 244 | index += 1 245 | } 246 | } 247 | 248 | cellCount[section] = index 249 | } 250 | } 251 | -------------------------------------------------------------------------------- /TableViewHelper/TableViewHelperTests/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 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /TableViewHelper/TableViewHelperTests/TableViewHelperTests.swift: -------------------------------------------------------------------------------- 1 | // 2 | // TableViewHelperTests.swift 3 | // TableViewHelperTests 4 | // 5 | // Created by Aaron Bratcher on 9/19/16. 6 | // Copyright © 2016 Aaron Bratcher. All rights reserved. 7 | // 8 | 9 | import XCTest 10 | @testable import TableViewHelper 11 | 12 | class TableViewHelperTests: XCTestCase { 13 | 14 | override func setUp() { 15 | super.setUp() 16 | // Put setup code here. This method is called before the invocation of each test method in the class. 17 | } 18 | 19 | override func tearDown() { 20 | // Put teardown code here. This method is called after the invocation of each test method in the class. 21 | super.tearDown() 22 | } 23 | 24 | func testExample() { 25 | // This is an example of a functional test case. 26 | // Use XCTAssert and related functions to verify your tests produce the correct results. 27 | } 28 | 29 | func testPerformanceExample() { 30 | // This is an example of a performance test case. 31 | self.measure { 32 | // Put the code you want to measure the time of here. 33 | } 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /Tester.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 3EEC3321510D301CF1FBA6CD /* Pods_Tester.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3E2C73D78EFC54FDB675218D /* Pods_Tester.framework */; }; 11 | 89004F4E19DD8BF800AAFC0E /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 89004F4D19DD8BF800AAFC0E /* AppDelegate.swift */; }; 12 | 89004F5019DD8BF800AAFC0E /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 89004F4F19DD8BF800AAFC0E /* ViewController.swift */; }; 13 | 89004F5319DD8BF800AAFC0E /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 89004F5119DD8BF800AAFC0E /* Main.storyboard */; }; 14 | 89004F5519DD8BF800AAFC0E /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 89004F5419DD8BF800AAFC0E /* Images.xcassets */; }; 15 | 89004F5819DD8BF800AAFC0E /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 89004F5619DD8BF800AAFC0E /* LaunchScreen.xib */; }; 16 | /* End PBXBuildFile section */ 17 | 18 | /* Begin PBXCopyFilesBuildPhase section */ 19 | 89F5AE271D90881900E3C870 /* Embed Frameworks */ = { 20 | isa = PBXCopyFilesBuildPhase; 21 | buildActionMask = 2147483647; 22 | dstPath = ""; 23 | dstSubfolderSpec = 10; 24 | files = ( 25 | ); 26 | name = "Embed Frameworks"; 27 | runOnlyForDeploymentPostprocessing = 0; 28 | }; 29 | /* End PBXCopyFilesBuildPhase section */ 30 | 31 | /* Begin PBXFileReference section */ 32 | 3E2C73D78EFC54FDB675218D /* Pods_Tester.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Tester.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 33 | 59E48B8EABE2FB87937D9B79 /* Pods-Tester.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Tester.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Tester/Pods-Tester.debug.xcconfig"; sourceTree = ""; }; 34 | 89004F4819DD8BF800AAFC0E /* Tester.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Tester.app; sourceTree = BUILT_PRODUCTS_DIR; }; 35 | 89004F4C19DD8BF800AAFC0E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 36 | 89004F4D19DD8BF800AAFC0E /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 37 | 89004F4F19DD8BF800AAFC0E /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; 38 | 89004F5219DD8BF800AAFC0E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 39 | 89004F5419DD8BF800AAFC0E /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 40 | 89004F5719DD8BF800AAFC0E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 41 | E5E549358438FD964B637E92 /* Pods-Tester.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Tester.release.xcconfig"; path = "Pods/Target Support Files/Pods-Tester/Pods-Tester.release.xcconfig"; sourceTree = ""; }; 42 | /* End PBXFileReference section */ 43 | 44 | /* Begin PBXFrameworksBuildPhase section */ 45 | 89004F4519DD8BF800AAFC0E /* Frameworks */ = { 46 | isa = PBXFrameworksBuildPhase; 47 | buildActionMask = 2147483647; 48 | files = ( 49 | 3EEC3321510D301CF1FBA6CD /* Pods_Tester.framework in Frameworks */, 50 | ); 51 | runOnlyForDeploymentPostprocessing = 0; 52 | }; 53 | /* End PBXFrameworksBuildPhase section */ 54 | 55 | /* Begin PBXGroup section */ 56 | 89004F3F19DD8BF800AAFC0E = { 57 | isa = PBXGroup; 58 | children = ( 59 | 89004F4A19DD8BF800AAFC0E /* Tester */, 60 | 89004F4919DD8BF800AAFC0E /* Products */, 61 | B84FCD16BEBD9729263F047D /* Pods */, 62 | DA3B82642F3DEFA10A12E7BC /* Frameworks */, 63 | ); 64 | sourceTree = ""; 65 | }; 66 | 89004F4919DD8BF800AAFC0E /* Products */ = { 67 | isa = PBXGroup; 68 | children = ( 69 | 89004F4819DD8BF800AAFC0E /* Tester.app */, 70 | ); 71 | name = Products; 72 | sourceTree = ""; 73 | }; 74 | 89004F4A19DD8BF800AAFC0E /* Tester */ = { 75 | isa = PBXGroup; 76 | children = ( 77 | 89004F4D19DD8BF800AAFC0E /* AppDelegate.swift */, 78 | 89004F4F19DD8BF800AAFC0E /* ViewController.swift */, 79 | 89004F5119DD8BF800AAFC0E /* Main.storyboard */, 80 | 89004F5419DD8BF800AAFC0E /* Images.xcassets */, 81 | 89004F5619DD8BF800AAFC0E /* LaunchScreen.xib */, 82 | 89004F4B19DD8BF800AAFC0E /* Supporting Files */, 83 | ); 84 | path = Tester; 85 | sourceTree = ""; 86 | }; 87 | 89004F4B19DD8BF800AAFC0E /* Supporting Files */ = { 88 | isa = PBXGroup; 89 | children = ( 90 | 89004F4C19DD8BF800AAFC0E /* Info.plist */, 91 | ); 92 | name = "Supporting Files"; 93 | sourceTree = ""; 94 | }; 95 | B84FCD16BEBD9729263F047D /* Pods */ = { 96 | isa = PBXGroup; 97 | children = ( 98 | 59E48B8EABE2FB87937D9B79 /* Pods-Tester.debug.xcconfig */, 99 | E5E549358438FD964B637E92 /* Pods-Tester.release.xcconfig */, 100 | ); 101 | name = Pods; 102 | sourceTree = ""; 103 | }; 104 | DA3B82642F3DEFA10A12E7BC /* Frameworks */ = { 105 | isa = PBXGroup; 106 | children = ( 107 | 3E2C73D78EFC54FDB675218D /* Pods_Tester.framework */, 108 | ); 109 | name = Frameworks; 110 | sourceTree = ""; 111 | }; 112 | /* End PBXGroup section */ 113 | 114 | /* Begin PBXNativeTarget section */ 115 | 89004F4719DD8BF800AAFC0E /* Tester */ = { 116 | isa = PBXNativeTarget; 117 | buildConfigurationList = 89004F6719DD8BF800AAFC0E /* Build configuration list for PBXNativeTarget "Tester" */; 118 | buildPhases = ( 119 | 16543456218BEB4E658C85FB /* [CP] Check Pods Manifest.lock */, 120 | 89004F4419DD8BF800AAFC0E /* Sources */, 121 | 89004F4519DD8BF800AAFC0E /* Frameworks */, 122 | 89004F4619DD8BF800AAFC0E /* Resources */, 123 | 89F5AE271D90881900E3C870 /* Embed Frameworks */, 124 | CEB72127786655B0466EE70E /* [CP] Embed Pods Frameworks */, 125 | ); 126 | buildRules = ( 127 | ); 128 | dependencies = ( 129 | ); 130 | name = Tester; 131 | productName = Tester; 132 | productReference = 89004F4819DD8BF800AAFC0E /* Tester.app */; 133 | productType = "com.apple.product-type.application"; 134 | }; 135 | /* End PBXNativeTarget section */ 136 | 137 | /* Begin PBXProject section */ 138 | 89004F4019DD8BF800AAFC0E /* Project object */ = { 139 | isa = PBXProject; 140 | attributes = { 141 | LastUpgradeCheck = 0610; 142 | ORGANIZATIONNAME = "Aaron L. Bratcher"; 143 | TargetAttributes = { 144 | 89004F4719DD8BF800AAFC0E = { 145 | CreatedOnToolsVersion = 6.1; 146 | LastSwiftMigration = 1020; 147 | }; 148 | }; 149 | }; 150 | buildConfigurationList = 89004F4319DD8BF800AAFC0E /* Build configuration list for PBXProject "Tester" */; 151 | compatibilityVersion = "Xcode 3.2"; 152 | developmentRegion = English; 153 | hasScannedForEncodings = 0; 154 | knownRegions = ( 155 | English, 156 | en, 157 | Base, 158 | ); 159 | mainGroup = 89004F3F19DD8BF800AAFC0E; 160 | productRefGroup = 89004F4919DD8BF800AAFC0E /* Products */; 161 | projectDirPath = ""; 162 | projectRoot = ""; 163 | targets = ( 164 | 89004F4719DD8BF800AAFC0E /* Tester */, 165 | ); 166 | }; 167 | /* End PBXProject section */ 168 | 169 | /* Begin PBXResourcesBuildPhase section */ 170 | 89004F4619DD8BF800AAFC0E /* Resources */ = { 171 | isa = PBXResourcesBuildPhase; 172 | buildActionMask = 2147483647; 173 | files = ( 174 | 89004F5319DD8BF800AAFC0E /* Main.storyboard in Resources */, 175 | 89004F5819DD8BF800AAFC0E /* LaunchScreen.xib in Resources */, 176 | 89004F5519DD8BF800AAFC0E /* Images.xcassets in Resources */, 177 | ); 178 | runOnlyForDeploymentPostprocessing = 0; 179 | }; 180 | /* End PBXResourcesBuildPhase section */ 181 | 182 | /* Begin PBXShellScriptBuildPhase section */ 183 | 16543456218BEB4E658C85FB /* [CP] Check Pods Manifest.lock */ = { 184 | isa = PBXShellScriptBuildPhase; 185 | buildActionMask = 2147483647; 186 | files = ( 187 | ); 188 | inputFileListPaths = ( 189 | ); 190 | inputPaths = ( 191 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 192 | "${PODS_ROOT}/Manifest.lock", 193 | ); 194 | name = "[CP] Check Pods Manifest.lock"; 195 | outputFileListPaths = ( 196 | ); 197 | outputPaths = ( 198 | "$(DERIVED_FILE_DIR)/Pods-Tester-checkManifestLockResult.txt", 199 | ); 200 | runOnlyForDeploymentPostprocessing = 0; 201 | shellPath = /bin/sh; 202 | 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"; 203 | showEnvVarsInLog = 0; 204 | }; 205 | CEB72127786655B0466EE70E /* [CP] Embed Pods Frameworks */ = { 206 | isa = PBXShellScriptBuildPhase; 207 | buildActionMask = 2147483647; 208 | files = ( 209 | ); 210 | inputPaths = ( 211 | "${PODS_ROOT}/Target Support Files/Pods-Tester/Pods-Tester-frameworks.sh", 212 | "${BUILT_PRODUCTS_DIR}/TableViewHelper/TableViewHelper.framework", 213 | ); 214 | name = "[CP] Embed Pods Frameworks"; 215 | outputPaths = ( 216 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/TableViewHelper.framework", 217 | ); 218 | runOnlyForDeploymentPostprocessing = 0; 219 | shellPath = /bin/sh; 220 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Tester/Pods-Tester-frameworks.sh\"\n"; 221 | showEnvVarsInLog = 0; 222 | }; 223 | /* End PBXShellScriptBuildPhase section */ 224 | 225 | /* Begin PBXSourcesBuildPhase section */ 226 | 89004F4419DD8BF800AAFC0E /* Sources */ = { 227 | isa = PBXSourcesBuildPhase; 228 | buildActionMask = 2147483647; 229 | files = ( 230 | 89004F5019DD8BF800AAFC0E /* ViewController.swift in Sources */, 231 | 89004F4E19DD8BF800AAFC0E /* AppDelegate.swift in Sources */, 232 | ); 233 | runOnlyForDeploymentPostprocessing = 0; 234 | }; 235 | /* End PBXSourcesBuildPhase section */ 236 | 237 | /* Begin PBXVariantGroup section */ 238 | 89004F5119DD8BF800AAFC0E /* Main.storyboard */ = { 239 | isa = PBXVariantGroup; 240 | children = ( 241 | 89004F5219DD8BF800AAFC0E /* Base */, 242 | ); 243 | name = Main.storyboard; 244 | sourceTree = ""; 245 | }; 246 | 89004F5619DD8BF800AAFC0E /* LaunchScreen.xib */ = { 247 | isa = PBXVariantGroup; 248 | children = ( 249 | 89004F5719DD8BF800AAFC0E /* Base */, 250 | ); 251 | name = LaunchScreen.xib; 252 | sourceTree = ""; 253 | }; 254 | /* End PBXVariantGroup section */ 255 | 256 | /* Begin XCBuildConfiguration section */ 257 | 89004F6519DD8BF800AAFC0E /* Debug */ = { 258 | isa = XCBuildConfiguration; 259 | buildSettings = { 260 | ALWAYS_SEARCH_USER_PATHS = NO; 261 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 262 | CLANG_CXX_LIBRARY = "libc++"; 263 | CLANG_ENABLE_MODULES = YES; 264 | CLANG_ENABLE_OBJC_ARC = YES; 265 | CLANG_WARN_BOOL_CONVERSION = YES; 266 | CLANG_WARN_CONSTANT_CONVERSION = YES; 267 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 268 | CLANG_WARN_EMPTY_BODY = YES; 269 | CLANG_WARN_ENUM_CONVERSION = YES; 270 | CLANG_WARN_INT_CONVERSION = YES; 271 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 272 | CLANG_WARN_UNREACHABLE_CODE = YES; 273 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 274 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 275 | COPY_PHASE_STRIP = NO; 276 | ENABLE_STRICT_OBJC_MSGSEND = YES; 277 | GCC_C_LANGUAGE_STANDARD = gnu99; 278 | GCC_DYNAMIC_NO_PIC = NO; 279 | GCC_OPTIMIZATION_LEVEL = 0; 280 | GCC_PREPROCESSOR_DEFINITIONS = ( 281 | "DEBUG=1", 282 | "$(inherited)", 283 | ); 284 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 285 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 286 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 287 | GCC_WARN_UNDECLARED_SELECTOR = YES; 288 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 289 | GCC_WARN_UNUSED_FUNCTION = YES; 290 | GCC_WARN_UNUSED_VARIABLE = YES; 291 | IPHONEOS_DEPLOYMENT_TARGET = 8.1; 292 | MTL_ENABLE_DEBUG_INFO = YES; 293 | ONLY_ACTIVE_ARCH = YES; 294 | SDKROOT = iphoneos; 295 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 296 | TARGETED_DEVICE_FAMILY = "1,2"; 297 | }; 298 | name = Debug; 299 | }; 300 | 89004F6619DD8BF800AAFC0E /* Release */ = { 301 | isa = XCBuildConfiguration; 302 | buildSettings = { 303 | ALWAYS_SEARCH_USER_PATHS = NO; 304 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 305 | CLANG_CXX_LIBRARY = "libc++"; 306 | CLANG_ENABLE_MODULES = YES; 307 | CLANG_ENABLE_OBJC_ARC = YES; 308 | CLANG_WARN_BOOL_CONVERSION = YES; 309 | CLANG_WARN_CONSTANT_CONVERSION = YES; 310 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 311 | CLANG_WARN_EMPTY_BODY = YES; 312 | CLANG_WARN_ENUM_CONVERSION = YES; 313 | CLANG_WARN_INT_CONVERSION = YES; 314 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 315 | CLANG_WARN_UNREACHABLE_CODE = YES; 316 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 317 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 318 | COPY_PHASE_STRIP = YES; 319 | ENABLE_NS_ASSERTIONS = NO; 320 | ENABLE_STRICT_OBJC_MSGSEND = YES; 321 | GCC_C_LANGUAGE_STANDARD = gnu99; 322 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 323 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 324 | GCC_WARN_UNDECLARED_SELECTOR = YES; 325 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 326 | GCC_WARN_UNUSED_FUNCTION = YES; 327 | GCC_WARN_UNUSED_VARIABLE = YES; 328 | IPHONEOS_DEPLOYMENT_TARGET = 8.1; 329 | MTL_ENABLE_DEBUG_INFO = NO; 330 | SDKROOT = iphoneos; 331 | TARGETED_DEVICE_FAMILY = "1,2"; 332 | VALIDATE_PRODUCT = YES; 333 | }; 334 | name = Release; 335 | }; 336 | 89004F6819DD8BF800AAFC0E /* Debug */ = { 337 | isa = XCBuildConfiguration; 338 | baseConfigurationReference = 59E48B8EABE2FB87937D9B79 /* Pods-Tester.debug.xcconfig */; 339 | buildSettings = { 340 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 341 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 342 | DEVELOPMENT_TEAM = ""; 343 | INFOPLIST_FILE = Tester/Info.plist; 344 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 345 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 346 | PRODUCT_NAME = "$(TARGET_NAME)"; 347 | SWIFT_VERSION = 5.0; 348 | }; 349 | name = Debug; 350 | }; 351 | 89004F6919DD8BF800AAFC0E /* Release */ = { 352 | isa = XCBuildConfiguration; 353 | baseConfigurationReference = E5E549358438FD964B637E92 /* Pods-Tester.release.xcconfig */; 354 | buildSettings = { 355 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 356 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 357 | DEVELOPMENT_TEAM = ""; 358 | INFOPLIST_FILE = Tester/Info.plist; 359 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 360 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 361 | PRODUCT_NAME = "$(TARGET_NAME)"; 362 | SWIFT_VERSION = 5.0; 363 | }; 364 | name = Release; 365 | }; 366 | /* End XCBuildConfiguration section */ 367 | 368 | /* Begin XCConfigurationList section */ 369 | 89004F4319DD8BF800AAFC0E /* Build configuration list for PBXProject "Tester" */ = { 370 | isa = XCConfigurationList; 371 | buildConfigurations = ( 372 | 89004F6519DD8BF800AAFC0E /* Debug */, 373 | 89004F6619DD8BF800AAFC0E /* Release */, 374 | ); 375 | defaultConfigurationIsVisible = 0; 376 | defaultConfigurationName = Release; 377 | }; 378 | 89004F6719DD8BF800AAFC0E /* Build configuration list for PBXNativeTarget "Tester" */ = { 379 | isa = XCConfigurationList; 380 | buildConfigurations = ( 381 | 89004F6819DD8BF800AAFC0E /* Debug */, 382 | 89004F6919DD8BF800AAFC0E /* Release */, 383 | ); 384 | defaultConfigurationIsVisible = 0; 385 | defaultConfigurationName = Release; 386 | }; 387 | /* End XCConfigurationList section */ 388 | }; 389 | rootObject = 89004F4019DD8BF800AAFC0E /* Project object */; 390 | } 391 | -------------------------------------------------------------------------------- /Tester.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Tester.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Tester.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Tester.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Tester/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // Tester 4 | // 5 | // Created by Aaron Bratcher on 10/02/2014. 6 | // Copyright (c) 2014 Aaron L. Bratcher. 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: [UIApplication.LaunchOptionsKey: 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 | -------------------------------------------------------------------------------- /Tester/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 20 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /Tester/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 | 25 | 26 | 27 | 28 | 29 | 30 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 85 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 106 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 127 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | -------------------------------------------------------------------------------- /Tester/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "ipad", 35 | "size" : "29x29", 36 | "scale" : "1x" 37 | }, 38 | { 39 | "idiom" : "ipad", 40 | "size" : "29x29", 41 | "scale" : "2x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "40x40", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "40x40", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "76x76", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "76x76", 61 | "scale" : "2x" 62 | } 63 | ], 64 | "info" : { 65 | "version" : 1, 66 | "author" : "xcode" 67 | } 68 | } -------------------------------------------------------------------------------- /Tester/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | com.AaronLBratcher.$(PRODUCT_NAME:rfc1034identifier) 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 | UISupportedInterfaceOrientations~ipad 40 | 41 | UIInterfaceOrientationPortrait 42 | UIInterfaceOrientationPortraitUpsideDown 43 | UIInterfaceOrientationLandscapeLeft 44 | UIInterfaceOrientationLandscapeRight 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /Tester/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // Tester 4 | // 5 | // Created by Aaron Bratcher on 10/02/2014. 6 | // Copyright (c) 2014 Aaron L. Bratcher. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import TableViewHelper 11 | 12 | class ViewController: UIViewController,UITableViewDataSource,UITableViewDelegate { 13 | 14 | @IBOutlet weak var tableView: UITableView! 15 | 16 | var helper:TableViewHelper! 17 | 18 | override func viewDidLoad() { 19 | helper = TableViewHelper(tableView:tableView) 20 | 21 | helper.addCell(section: 0, cell: tableView.dequeueReusableCell(withIdentifier: "S0R0")! as UITableViewCell, name: "S0R0") 22 | helper.addCell(section: 0, cell: tableView.dequeueReusableCell(withIdentifier: "S0R1")! as UITableViewCell, name: "S0R1", isInitiallyHidden: true) 23 | 24 | helper.addCell(section: 1, cell: tableView.dequeueReusableCell(withIdentifier: "S1R0")! as UITableViewCell, name: "S1R0", isInitiallyHidden: true) 25 | 26 | helper.addCell(section: 2, cell: tableView.dequeueReusableCell(withIdentifier: "S2R0")! as UITableViewCell, name: "S2R0") 27 | helper.addCell(section: 2, cell: tableView.dequeueReusableCell(withIdentifier: "S2R1")! as UITableViewCell, name: "S2R1") 28 | helper.addCell(section: 2, cell: tableView.dequeueReusableCell(withIdentifier: "S2R2")! as UITableViewCell, name: "S2R2") 29 | 30 | helper.addCell(section: 3, cell: tableView.dequeueReusableCell(withIdentifier: "S3R0")! as UITableViewCell, name: "S3R0") 31 | } 32 | 33 | func numberOfSections(in tableView: UITableView) -> Int { 34 | helper.hideInitiallyHiddenCells() 35 | 36 | let count = helper.numberOfSections() 37 | return count 38 | } 39 | 40 | func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { 41 | return helper.numberOfRows(inSection: section) 42 | } 43 | 44 | func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat { 45 | if (indexPath as NSIndexPath).section == 0 && (indexPath as NSIndexPath).row == 1 { 46 | return 193 47 | } 48 | 49 | return tableView.rowHeight 50 | } 51 | 52 | func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { 53 | return helper.cellForRow(at: indexPath) 54 | } 55 | 56 | func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { 57 | tableView.deselectRow(at: indexPath, animated: true) 58 | 59 | if let name = helper.cellName(at: indexPath) { 60 | switch name { 61 | case "S0R0": 62 | if !helper.cellIsVisible("S0R1") { 63 | helper?.showCell("S0R1") 64 | } else { 65 | helper?.hideCell("S0R1") 66 | } 67 | 68 | case "S0R1": 69 | helper?.hideCell(name) 70 | 71 | case "S1R0": 72 | helper?.showCell("S2R0") 73 | helper?.showCell("S2R1") 74 | helper?.showCell("S2R2") 75 | helper?.hideCell(name) 76 | 77 | case "S3R0": 78 | break 79 | 80 | default: 81 | helper.hideCell(name) 82 | helper.showCell("S1R0") 83 | } 84 | 85 | if name != "S0R0" { 86 | helper?.hideCell("S0R1") 87 | } 88 | } 89 | } 90 | 91 | 92 | @IBAction func showHideCell(_ sender: AnyObject) { 93 | let button = sender as! UIButton 94 | let label = button.titleLabel! 95 | let title = label.text! 96 | 97 | if helper.cellIsVisible(title) { 98 | helper.hideCell(title) 99 | } else { 100 | helper.showCell(title) 101 | } 102 | } 103 | 104 | } 105 | 106 | -------------------------------------------------------------------------------- /changeLog.txt: -------------------------------------------------------------------------------- 1 | 2.1: 2 | - Add isInitiallyHidden property to addCell method 3 | - Change method names to be more swifty 4 | - Add changeLog.txt 5 | - Update README.md 6 | 7 | 2.2: 8 | - Update to Swift 5 --------------------------------------------------------------------------------