├── .gitignore ├── .travis.yml ├── Example ├── ExpandableTableViewController.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ ├── xcshareddata │ │ └── xcschemes │ │ │ └── ExpandableTableViewController-Example.xcscheme │ └── xcuserdata │ │ └── a14129.xcuserdatad │ │ └── xcschemes │ │ └── xcschememanagement.plist ├── ExpandableTableViewController.xcworkspace │ ├── contents.xcworkspacedata │ └── xcuserdata │ │ └── a14129.xcuserdatad │ │ ├── UserInterfaceState.xcuserstate │ │ └── xcdebugger │ │ └── Breakpoints_v2.xcbkptlist ├── ExpandableTableViewController │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── LaunchScreen.xib │ │ └── Main.storyboard │ ├── DemoCells │ │ ├── BirthdateTableViewCell.swift │ │ ├── CommonTableViewCell.swift │ │ ├── DatePickerTableViewCell.swift │ │ ├── DescriptionTableViewCell.swift │ │ ├── ListTableViewCell.swift │ │ └── TitleTableViewCell.swift │ ├── DemoTableViewController.swift │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ └── Info.plist ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── ExpandableTableViewController.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ ├── project.pbxproj │ │ └── xcuserdata │ │ │ └── a14129.xcuserdatad │ │ │ └── xcschemes │ │ │ ├── ExpandableTableViewController.xcscheme │ │ │ ├── Pods-ExpandableTableViewController_Example.xcscheme │ │ │ ├── Pods-ExpandableTableViewController_Tests.xcscheme │ │ │ └── xcschememanagement.plist │ └── Target Support Files │ │ ├── ExpandableTableViewController │ │ ├── ExpandableTableViewController-dummy.m │ │ ├── ExpandableTableViewController-prefix.pch │ │ ├── ExpandableTableViewController-umbrella.h │ │ ├── ExpandableTableViewController.modulemap │ │ ├── ExpandableTableViewController.xcconfig │ │ └── Info.plist │ │ ├── Pods-ExpandableTableViewController_Example │ │ ├── Info.plist │ │ ├── Pods-ExpandableTableViewController_Example-acknowledgements.markdown │ │ ├── Pods-ExpandableTableViewController_Example-acknowledgements.plist │ │ ├── Pods-ExpandableTableViewController_Example-dummy.m │ │ ├── Pods-ExpandableTableViewController_Example-frameworks.sh │ │ ├── Pods-ExpandableTableViewController_Example-resources.sh │ │ ├── Pods-ExpandableTableViewController_Example-umbrella.h │ │ ├── Pods-ExpandableTableViewController_Example.debug.xcconfig │ │ ├── Pods-ExpandableTableViewController_Example.modulemap │ │ └── Pods-ExpandableTableViewController_Example.release.xcconfig │ │ └── Pods-ExpandableTableViewController_Tests │ │ ├── Info.plist │ │ ├── Pods-ExpandableTableViewController_Tests-acknowledgements.markdown │ │ ├── Pods-ExpandableTableViewController_Tests-acknowledgements.plist │ │ ├── Pods-ExpandableTableViewController_Tests-dummy.m │ │ ├── Pods-ExpandableTableViewController_Tests-frameworks.sh │ │ ├── Pods-ExpandableTableViewController_Tests-resources.sh │ │ ├── Pods-ExpandableTableViewController_Tests-umbrella.h │ │ ├── Pods-ExpandableTableViewController_Tests.debug.xcconfig │ │ ├── Pods-ExpandableTableViewController_Tests.modulemap │ │ └── Pods-ExpandableTableViewController_Tests.release.xcconfig └── Tests │ ├── Info.plist │ └── Tests.swift ├── ExpandableTableViewController.podspec ├── ExpandableTableViewController ├── 1.0 │ └── ExpandableTableViewController.podspec ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ ├── ArrayExtension.swift │ ├── ExpandableTableViewController.swift │ └── ExpandableTableViewDelegate.swift ├── LICENSE ├── Preview ├── ExpandableTableView.png ├── Image1.png ├── Image2.png └── preview.gif ├── README.md └── _Pods.xcodeproj /.gitignore: -------------------------------------------------------------------------------- 1 | # Created by https://www.gitignore.io 2 | 3 | ### Swift ### 4 | # Xcode 5 | # 6 | build/ 7 | *.pbxuser 8 | !default.pbxuser 9 | *.mode1v3 10 | !default.mode1v3 11 | *.mode2v3 12 | !default.mode2v3 13 | *.perspectivev3 14 | !default.perspectivev3 15 | xcuserdata 16 | *.xccheckout 17 | *.moved-aside 18 | DerivedData 19 | *.hmap 20 | *.ipa 21 | *.xcuserstate 22 | 23 | # CocoaPods 24 | # 25 | # We recommend against adding the Pods directory to your .gitignore. However 26 | # you should judge for yourself, the pros and cons are mentioned at: 27 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 28 | # 29 | Pods/ 30 | 31 | # AppCode 32 | .idea 33 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * http://www.objc.io/issue-6/travis-ci.html 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | osx_image: xcode7.3 6 | language: objective-c 7 | # cache: cocoapods 8 | # podfile: Example/Podfile 9 | # before_install: 10 | # - gem install cocoapods # Since Travis is not always on latest version 11 | # - pod install --project-directory=Example 12 | script: 13 | - set -o pipefail && xcodebuild test -workspace Example/ExpandableTableViewController.xcworkspace -scheme ExpandableTableViewController-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty 14 | - pod lib lint 15 | -------------------------------------------------------------------------------- /Example/ExpandableTableViewController.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 2138D4554E0DBA8A7ABE6780 /* Pods_ExpandableTableViewController_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1736E678E117BF953681772D /* Pods_ExpandableTableViewController_Tests.framework */; }; 11 | 5F0B2BE71E280339B587543E /* Pods_ExpandableTableViewController_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 11D132D6BBF6201815AC9249 /* Pods_ExpandableTableViewController_Example.framework */; }; 12 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; 13 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; }; 14 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; 15 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; 16 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; 17 | 6BD12DBF1D2D0D87008964B5 /* BirthdateTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6BD12DB81D2D0D87008964B5 /* BirthdateTableViewCell.swift */; }; 18 | 6BD12DC01D2D0D87008964B5 /* CommonTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6BD12DB91D2D0D87008964B5 /* CommonTableViewCell.swift */; }; 19 | 6BD12DC11D2D0D87008964B5 /* DatePickerTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6BD12DBA1D2D0D87008964B5 /* DatePickerTableViewCell.swift */; }; 20 | 6BD12DC21D2D0D87008964B5 /* DescriptionTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6BD12DBB1D2D0D87008964B5 /* DescriptionTableViewCell.swift */; }; 21 | 6BD12DC31D2D0D87008964B5 /* ListTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6BD12DBC1D2D0D87008964B5 /* ListTableViewCell.swift */; }; 22 | 6BD12DC41D2D0D87008964B5 /* TitleTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6BD12DBD1D2D0D87008964B5 /* TitleTableViewCell.swift */; }; 23 | 6BD12DC51D2D0D87008964B5 /* DemoTableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6BD12DBE1D2D0D87008964B5 /* DemoTableViewController.swift */; }; 24 | /* End PBXBuildFile section */ 25 | 26 | /* Begin PBXContainerItemProxy section */ 27 | 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { 28 | isa = PBXContainerItemProxy; 29 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */; 30 | proxyType = 1; 31 | remoteGlobalIDString = 607FACCF1AFB9204008FA782; 32 | remoteInfo = ExpandableTableViewController; 33 | }; 34 | /* End PBXContainerItemProxy section */ 35 | 36 | /* Begin PBXFileReference section */ 37 | 05030B6F61B39FA333272397 /* ExpandableTableViewController.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = ExpandableTableViewController.podspec; path = ../ExpandableTableViewController.podspec; sourceTree = ""; }; 38 | 11D132D6BBF6201815AC9249 /* Pods_ExpandableTableViewController_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ExpandableTableViewController_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 39 | 152A0476701A48875C94ABF1 /* Pods-ExpandableTableViewController_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ExpandableTableViewController_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-ExpandableTableViewController_Example/Pods-ExpandableTableViewController_Example.release.xcconfig"; sourceTree = ""; }; 40 | 1736E678E117BF953681772D /* Pods_ExpandableTableViewController_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ExpandableTableViewController_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 41 | 36F1B40E28E67A5855F6DB89 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 42 | 456A422FEA64A89BE9478037 /* Pods-ExpandableTableViewController_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ExpandableTableViewController_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-ExpandableTableViewController_Example/Pods-ExpandableTableViewController_Example.debug.xcconfig"; sourceTree = ""; }; 43 | 607FACD01AFB9204008FA782 /* ExpandableTableViewController_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ExpandableTableViewController_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 44 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 45 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 46 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 47 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 48 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 49 | 607FACE51AFB9204008FA782 /* ExpandableTableViewController_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ExpandableTableViewController_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 50 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 51 | 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; 52 | 6BD12DB81D2D0D87008964B5 /* BirthdateTableViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BirthdateTableViewCell.swift; sourceTree = ""; }; 53 | 6BD12DB91D2D0D87008964B5 /* CommonTableViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CommonTableViewCell.swift; sourceTree = ""; }; 54 | 6BD12DBA1D2D0D87008964B5 /* DatePickerTableViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatePickerTableViewCell.swift; sourceTree = ""; }; 55 | 6BD12DBB1D2D0D87008964B5 /* DescriptionTableViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DescriptionTableViewCell.swift; sourceTree = ""; }; 56 | 6BD12DBC1D2D0D87008964B5 /* ListTableViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ListTableViewCell.swift; sourceTree = ""; }; 57 | 6BD12DBD1D2D0D87008964B5 /* TitleTableViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TitleTableViewCell.swift; sourceTree = ""; }; 58 | 6BD12DBE1D2D0D87008964B5 /* DemoTableViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DemoTableViewController.swift; sourceTree = ""; }; 59 | 9FFA756D29D544FA0A572B5D /* Pods-ExpandableTableViewController_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ExpandableTableViewController_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-ExpandableTableViewController_Tests/Pods-ExpandableTableViewController_Tests.release.xcconfig"; sourceTree = ""; }; 60 | A69B58297B751449E185FF56 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 61 | C9FAAD9C7D84218D31D37A08 /* Pods-ExpandableTableViewController_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ExpandableTableViewController_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-ExpandableTableViewController_Tests/Pods-ExpandableTableViewController_Tests.debug.xcconfig"; sourceTree = ""; }; 62 | /* End PBXFileReference section */ 63 | 64 | /* Begin PBXFrameworksBuildPhase section */ 65 | 607FACCD1AFB9204008FA782 /* Frameworks */ = { 66 | isa = PBXFrameworksBuildPhase; 67 | buildActionMask = 2147483647; 68 | files = ( 69 | 5F0B2BE71E280339B587543E /* Pods_ExpandableTableViewController_Example.framework in Frameworks */, 70 | ); 71 | runOnlyForDeploymentPostprocessing = 0; 72 | }; 73 | 607FACE21AFB9204008FA782 /* Frameworks */ = { 74 | isa = PBXFrameworksBuildPhase; 75 | buildActionMask = 2147483647; 76 | files = ( 77 | 2138D4554E0DBA8A7ABE6780 /* Pods_ExpandableTableViewController_Tests.framework in Frameworks */, 78 | ); 79 | runOnlyForDeploymentPostprocessing = 0; 80 | }; 81 | /* End PBXFrameworksBuildPhase section */ 82 | 83 | /* Begin PBXGroup section */ 84 | 607FACC71AFB9204008FA782 = { 85 | isa = PBXGroup; 86 | children = ( 87 | 607FACF51AFB993E008FA782 /* Podspec Metadata */, 88 | 607FACD21AFB9204008FA782 /* Example for ExpandableTableViewController */, 89 | 607FACE81AFB9204008FA782 /* Tests */, 90 | 607FACD11AFB9204008FA782 /* Products */, 91 | 8C16E87929C331C642701A1A /* Pods */, 92 | D9DF17DB49055B77B18B3D4B /* Frameworks */, 93 | ); 94 | sourceTree = ""; 95 | }; 96 | 607FACD11AFB9204008FA782 /* Products */ = { 97 | isa = PBXGroup; 98 | children = ( 99 | 607FACD01AFB9204008FA782 /* ExpandableTableViewController_Example.app */, 100 | 607FACE51AFB9204008FA782 /* ExpandableTableViewController_Tests.xctest */, 101 | ); 102 | name = Products; 103 | sourceTree = ""; 104 | }; 105 | 607FACD21AFB9204008FA782 /* Example for ExpandableTableViewController */ = { 106 | isa = PBXGroup; 107 | children = ( 108 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */, 109 | 6BD12DB71D2D0D87008964B5 /* DemoCells */, 110 | 6BD12DBE1D2D0D87008964B5 /* DemoTableViewController.swift */, 111 | 607FACD91AFB9204008FA782 /* Main.storyboard */, 112 | 607FACDC1AFB9204008FA782 /* Images.xcassets */, 113 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, 114 | 607FACD31AFB9204008FA782 /* Supporting Files */, 115 | ); 116 | name = "Example for ExpandableTableViewController"; 117 | path = ExpandableTableViewController; 118 | sourceTree = ""; 119 | }; 120 | 607FACD31AFB9204008FA782 /* Supporting Files */ = { 121 | isa = PBXGroup; 122 | children = ( 123 | 607FACD41AFB9204008FA782 /* Info.plist */, 124 | ); 125 | name = "Supporting Files"; 126 | sourceTree = ""; 127 | }; 128 | 607FACE81AFB9204008FA782 /* Tests */ = { 129 | isa = PBXGroup; 130 | children = ( 131 | 607FACEB1AFB9204008FA782 /* Tests.swift */, 132 | 607FACE91AFB9204008FA782 /* Supporting Files */, 133 | ); 134 | path = Tests; 135 | sourceTree = ""; 136 | }; 137 | 607FACE91AFB9204008FA782 /* Supporting Files */ = { 138 | isa = PBXGroup; 139 | children = ( 140 | 607FACEA1AFB9204008FA782 /* Info.plist */, 141 | ); 142 | name = "Supporting Files"; 143 | sourceTree = ""; 144 | }; 145 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { 146 | isa = PBXGroup; 147 | children = ( 148 | 05030B6F61B39FA333272397 /* ExpandableTableViewController.podspec */, 149 | 36F1B40E28E67A5855F6DB89 /* README.md */, 150 | A69B58297B751449E185FF56 /* LICENSE */, 151 | ); 152 | name = "Podspec Metadata"; 153 | sourceTree = ""; 154 | }; 155 | 6BD12DB71D2D0D87008964B5 /* DemoCells */ = { 156 | isa = PBXGroup; 157 | children = ( 158 | 6BD12DB81D2D0D87008964B5 /* BirthdateTableViewCell.swift */, 159 | 6BD12DB91D2D0D87008964B5 /* CommonTableViewCell.swift */, 160 | 6BD12DBA1D2D0D87008964B5 /* DatePickerTableViewCell.swift */, 161 | 6BD12DBB1D2D0D87008964B5 /* DescriptionTableViewCell.swift */, 162 | 6BD12DBC1D2D0D87008964B5 /* ListTableViewCell.swift */, 163 | 6BD12DBD1D2D0D87008964B5 /* TitleTableViewCell.swift */, 164 | ); 165 | path = DemoCells; 166 | sourceTree = ""; 167 | }; 168 | 8C16E87929C331C642701A1A /* Pods */ = { 169 | isa = PBXGroup; 170 | children = ( 171 | 456A422FEA64A89BE9478037 /* Pods-ExpandableTableViewController_Example.debug.xcconfig */, 172 | 152A0476701A48875C94ABF1 /* Pods-ExpandableTableViewController_Example.release.xcconfig */, 173 | C9FAAD9C7D84218D31D37A08 /* Pods-ExpandableTableViewController_Tests.debug.xcconfig */, 174 | 9FFA756D29D544FA0A572B5D /* Pods-ExpandableTableViewController_Tests.release.xcconfig */, 175 | ); 176 | name = Pods; 177 | sourceTree = ""; 178 | }; 179 | D9DF17DB49055B77B18B3D4B /* Frameworks */ = { 180 | isa = PBXGroup; 181 | children = ( 182 | 11D132D6BBF6201815AC9249 /* Pods_ExpandableTableViewController_Example.framework */, 183 | 1736E678E117BF953681772D /* Pods_ExpandableTableViewController_Tests.framework */, 184 | ); 185 | name = Frameworks; 186 | sourceTree = ""; 187 | }; 188 | /* End PBXGroup section */ 189 | 190 | /* Begin PBXNativeTarget section */ 191 | 607FACCF1AFB9204008FA782 /* ExpandableTableViewController_Example */ = { 192 | isa = PBXNativeTarget; 193 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "ExpandableTableViewController_Example" */; 194 | buildPhases = ( 195 | 93CC2A4069FAE5004099C467 /* [CP] Check Pods Manifest.lock */, 196 | 607FACCC1AFB9204008FA782 /* Sources */, 197 | 607FACCD1AFB9204008FA782 /* Frameworks */, 198 | 607FACCE1AFB9204008FA782 /* Resources */, 199 | 80F3E61EC41E37948D77CC8A /* [CP] Embed Pods Frameworks */, 200 | 87AD020AEC51166D64C1F19E /* [CP] Copy Pods Resources */, 201 | ); 202 | buildRules = ( 203 | ); 204 | dependencies = ( 205 | ); 206 | name = ExpandableTableViewController_Example; 207 | productName = ExpandableTableViewController; 208 | productReference = 607FACD01AFB9204008FA782 /* ExpandableTableViewController_Example.app */; 209 | productType = "com.apple.product-type.application"; 210 | }; 211 | 607FACE41AFB9204008FA782 /* ExpandableTableViewController_Tests */ = { 212 | isa = PBXNativeTarget; 213 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "ExpandableTableViewController_Tests" */; 214 | buildPhases = ( 215 | F2A8332C99630657D9806F56 /* [CP] Check Pods Manifest.lock */, 216 | 607FACE11AFB9204008FA782 /* Sources */, 217 | 607FACE21AFB9204008FA782 /* Frameworks */, 218 | 607FACE31AFB9204008FA782 /* Resources */, 219 | D1D63CE80D3761C6BE0E3DBF /* [CP] Embed Pods Frameworks */, 220 | A72C208A8E2E6686F0A34408 /* [CP] Copy Pods Resources */, 221 | ); 222 | buildRules = ( 223 | ); 224 | dependencies = ( 225 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */, 226 | ); 227 | name = ExpandableTableViewController_Tests; 228 | productName = Tests; 229 | productReference = 607FACE51AFB9204008FA782 /* ExpandableTableViewController_Tests.xctest */; 230 | productType = "com.apple.product-type.bundle.unit-test"; 231 | }; 232 | /* End PBXNativeTarget section */ 233 | 234 | /* Begin PBXProject section */ 235 | 607FACC81AFB9204008FA782 /* Project object */ = { 236 | isa = PBXProject; 237 | attributes = { 238 | LastSwiftUpdateCheck = 0720; 239 | LastUpgradeCheck = 0810; 240 | ORGANIZATIONNAME = CocoaPods; 241 | TargetAttributes = { 242 | 607FACCF1AFB9204008FA782 = { 243 | CreatedOnToolsVersion = 6.3.1; 244 | LastSwiftMigration = 0810; 245 | }; 246 | 607FACE41AFB9204008FA782 = { 247 | CreatedOnToolsVersion = 6.3.1; 248 | LastSwiftMigration = 0810; 249 | TestTargetID = 607FACCF1AFB9204008FA782; 250 | }; 251 | }; 252 | }; 253 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "ExpandableTableViewController" */; 254 | compatibilityVersion = "Xcode 3.2"; 255 | developmentRegion = English; 256 | hasScannedForEncodings = 0; 257 | knownRegions = ( 258 | en, 259 | Base, 260 | ); 261 | mainGroup = 607FACC71AFB9204008FA782; 262 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */; 263 | projectDirPath = ""; 264 | projectRoot = ""; 265 | targets = ( 266 | 607FACCF1AFB9204008FA782 /* ExpandableTableViewController_Example */, 267 | 607FACE41AFB9204008FA782 /* ExpandableTableViewController_Tests */, 268 | ); 269 | }; 270 | /* End PBXProject section */ 271 | 272 | /* Begin PBXResourcesBuildPhase section */ 273 | 607FACCE1AFB9204008FA782 /* Resources */ = { 274 | isa = PBXResourcesBuildPhase; 275 | buildActionMask = 2147483647; 276 | files = ( 277 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */, 278 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, 279 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, 280 | ); 281 | runOnlyForDeploymentPostprocessing = 0; 282 | }; 283 | 607FACE31AFB9204008FA782 /* Resources */ = { 284 | isa = PBXResourcesBuildPhase; 285 | buildActionMask = 2147483647; 286 | files = ( 287 | ); 288 | runOnlyForDeploymentPostprocessing = 0; 289 | }; 290 | /* End PBXResourcesBuildPhase section */ 291 | 292 | /* Begin PBXShellScriptBuildPhase section */ 293 | 80F3E61EC41E37948D77CC8A /* [CP] Embed Pods Frameworks */ = { 294 | isa = PBXShellScriptBuildPhase; 295 | buildActionMask = 2147483647; 296 | files = ( 297 | ); 298 | inputPaths = ( 299 | ); 300 | name = "[CP] Embed Pods Frameworks"; 301 | outputPaths = ( 302 | ); 303 | runOnlyForDeploymentPostprocessing = 0; 304 | shellPath = /bin/sh; 305 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ExpandableTableViewController_Example/Pods-ExpandableTableViewController_Example-frameworks.sh\"\n"; 306 | showEnvVarsInLog = 0; 307 | }; 308 | 87AD020AEC51166D64C1F19E /* [CP] Copy Pods Resources */ = { 309 | isa = PBXShellScriptBuildPhase; 310 | buildActionMask = 2147483647; 311 | files = ( 312 | ); 313 | inputPaths = ( 314 | ); 315 | name = "[CP] Copy Pods Resources"; 316 | outputPaths = ( 317 | ); 318 | runOnlyForDeploymentPostprocessing = 0; 319 | shellPath = /bin/sh; 320 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ExpandableTableViewController_Example/Pods-ExpandableTableViewController_Example-resources.sh\"\n"; 321 | showEnvVarsInLog = 0; 322 | }; 323 | 93CC2A4069FAE5004099C467 /* [CP] Check Pods Manifest.lock */ = { 324 | isa = PBXShellScriptBuildPhase; 325 | buildActionMask = 2147483647; 326 | files = ( 327 | ); 328 | inputPaths = ( 329 | ); 330 | name = "[CP] Check Pods Manifest.lock"; 331 | outputPaths = ( 332 | ); 333 | runOnlyForDeploymentPostprocessing = 0; 334 | shellPath = /bin/sh; 335 | shellScript = "diff \"${PODS_ROOT}/../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"; 336 | showEnvVarsInLog = 0; 337 | }; 338 | A72C208A8E2E6686F0A34408 /* [CP] Copy Pods Resources */ = { 339 | isa = PBXShellScriptBuildPhase; 340 | buildActionMask = 2147483647; 341 | files = ( 342 | ); 343 | inputPaths = ( 344 | ); 345 | name = "[CP] Copy Pods Resources"; 346 | outputPaths = ( 347 | ); 348 | runOnlyForDeploymentPostprocessing = 0; 349 | shellPath = /bin/sh; 350 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ExpandableTableViewController_Tests/Pods-ExpandableTableViewController_Tests-resources.sh\"\n"; 351 | showEnvVarsInLog = 0; 352 | }; 353 | D1D63CE80D3761C6BE0E3DBF /* [CP] Embed Pods Frameworks */ = { 354 | isa = PBXShellScriptBuildPhase; 355 | buildActionMask = 2147483647; 356 | files = ( 357 | ); 358 | inputPaths = ( 359 | ); 360 | name = "[CP] Embed Pods Frameworks"; 361 | outputPaths = ( 362 | ); 363 | runOnlyForDeploymentPostprocessing = 0; 364 | shellPath = /bin/sh; 365 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ExpandableTableViewController_Tests/Pods-ExpandableTableViewController_Tests-frameworks.sh\"\n"; 366 | showEnvVarsInLog = 0; 367 | }; 368 | F2A8332C99630657D9806F56 /* [CP] Check Pods Manifest.lock */ = { 369 | isa = PBXShellScriptBuildPhase; 370 | buildActionMask = 2147483647; 371 | files = ( 372 | ); 373 | inputPaths = ( 374 | ); 375 | name = "[CP] Check Pods Manifest.lock"; 376 | outputPaths = ( 377 | ); 378 | runOnlyForDeploymentPostprocessing = 0; 379 | shellPath = /bin/sh; 380 | shellScript = "diff \"${PODS_ROOT}/../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"; 381 | showEnvVarsInLog = 0; 382 | }; 383 | /* End PBXShellScriptBuildPhase section */ 384 | 385 | /* Begin PBXSourcesBuildPhase section */ 386 | 607FACCC1AFB9204008FA782 /* Sources */ = { 387 | isa = PBXSourcesBuildPhase; 388 | buildActionMask = 2147483647; 389 | files = ( 390 | 6BD12DC41D2D0D87008964B5 /* TitleTableViewCell.swift in Sources */, 391 | 6BD12DC01D2D0D87008964B5 /* CommonTableViewCell.swift in Sources */, 392 | 6BD12DC21D2D0D87008964B5 /* DescriptionTableViewCell.swift in Sources */, 393 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, 394 | 6BD12DC51D2D0D87008964B5 /* DemoTableViewController.swift in Sources */, 395 | 6BD12DBF1D2D0D87008964B5 /* BirthdateTableViewCell.swift in Sources */, 396 | 6BD12DC11D2D0D87008964B5 /* DatePickerTableViewCell.swift in Sources */, 397 | 6BD12DC31D2D0D87008964B5 /* ListTableViewCell.swift in Sources */, 398 | ); 399 | runOnlyForDeploymentPostprocessing = 0; 400 | }; 401 | 607FACE11AFB9204008FA782 /* Sources */ = { 402 | isa = PBXSourcesBuildPhase; 403 | buildActionMask = 2147483647; 404 | files = ( 405 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, 406 | ); 407 | runOnlyForDeploymentPostprocessing = 0; 408 | }; 409 | /* End PBXSourcesBuildPhase section */ 410 | 411 | /* Begin PBXTargetDependency section */ 412 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { 413 | isa = PBXTargetDependency; 414 | target = 607FACCF1AFB9204008FA782 /* ExpandableTableViewController_Example */; 415 | targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; 416 | }; 417 | /* End PBXTargetDependency section */ 418 | 419 | /* Begin PBXVariantGroup section */ 420 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = { 421 | isa = PBXVariantGroup; 422 | children = ( 423 | 607FACDA1AFB9204008FA782 /* Base */, 424 | ); 425 | name = Main.storyboard; 426 | sourceTree = ""; 427 | }; 428 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { 429 | isa = PBXVariantGroup; 430 | children = ( 431 | 607FACDF1AFB9204008FA782 /* Base */, 432 | ); 433 | name = LaunchScreen.xib; 434 | sourceTree = ""; 435 | }; 436 | /* End PBXVariantGroup section */ 437 | 438 | /* Begin XCBuildConfiguration section */ 439 | 607FACED1AFB9204008FA782 /* Debug */ = { 440 | isa = XCBuildConfiguration; 441 | buildSettings = { 442 | ALWAYS_SEARCH_USER_PATHS = NO; 443 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 444 | CLANG_CXX_LIBRARY = "libc++"; 445 | CLANG_ENABLE_MODULES = YES; 446 | CLANG_ENABLE_OBJC_ARC = YES; 447 | CLANG_WARN_BOOL_CONVERSION = YES; 448 | CLANG_WARN_CONSTANT_CONVERSION = YES; 449 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 450 | CLANG_WARN_EMPTY_BODY = YES; 451 | CLANG_WARN_ENUM_CONVERSION = YES; 452 | CLANG_WARN_INFINITE_RECURSION = YES; 453 | CLANG_WARN_INT_CONVERSION = YES; 454 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 455 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 456 | CLANG_WARN_UNREACHABLE_CODE = YES; 457 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 458 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 459 | COPY_PHASE_STRIP = NO; 460 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 461 | ENABLE_STRICT_OBJC_MSGSEND = YES; 462 | ENABLE_TESTABILITY = YES; 463 | GCC_C_LANGUAGE_STANDARD = gnu99; 464 | GCC_DYNAMIC_NO_PIC = NO; 465 | GCC_NO_COMMON_BLOCKS = YES; 466 | GCC_OPTIMIZATION_LEVEL = 0; 467 | GCC_PREPROCESSOR_DEFINITIONS = ( 468 | "DEBUG=1", 469 | "$(inherited)", 470 | ); 471 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 472 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 473 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 474 | GCC_WARN_UNDECLARED_SELECTOR = YES; 475 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 476 | GCC_WARN_UNUSED_FUNCTION = YES; 477 | GCC_WARN_UNUSED_VARIABLE = YES; 478 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 479 | MTL_ENABLE_DEBUG_INFO = YES; 480 | ONLY_ACTIVE_ARCH = YES; 481 | SDKROOT = iphoneos; 482 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 483 | }; 484 | name = Debug; 485 | }; 486 | 607FACEE1AFB9204008FA782 /* Release */ = { 487 | isa = XCBuildConfiguration; 488 | buildSettings = { 489 | ALWAYS_SEARCH_USER_PATHS = NO; 490 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 491 | CLANG_CXX_LIBRARY = "libc++"; 492 | CLANG_ENABLE_MODULES = YES; 493 | CLANG_ENABLE_OBJC_ARC = YES; 494 | CLANG_WARN_BOOL_CONVERSION = YES; 495 | CLANG_WARN_CONSTANT_CONVERSION = YES; 496 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 497 | CLANG_WARN_EMPTY_BODY = YES; 498 | CLANG_WARN_ENUM_CONVERSION = YES; 499 | CLANG_WARN_INFINITE_RECURSION = YES; 500 | CLANG_WARN_INT_CONVERSION = YES; 501 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 502 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 503 | CLANG_WARN_UNREACHABLE_CODE = YES; 504 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 505 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 506 | COPY_PHASE_STRIP = NO; 507 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 508 | ENABLE_NS_ASSERTIONS = NO; 509 | ENABLE_STRICT_OBJC_MSGSEND = YES; 510 | GCC_C_LANGUAGE_STANDARD = gnu99; 511 | GCC_NO_COMMON_BLOCKS = YES; 512 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 513 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 514 | GCC_WARN_UNDECLARED_SELECTOR = YES; 515 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 516 | GCC_WARN_UNUSED_FUNCTION = YES; 517 | GCC_WARN_UNUSED_VARIABLE = YES; 518 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 519 | MTL_ENABLE_DEBUG_INFO = NO; 520 | SDKROOT = iphoneos; 521 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 522 | VALIDATE_PRODUCT = YES; 523 | }; 524 | name = Release; 525 | }; 526 | 607FACF01AFB9204008FA782 /* Debug */ = { 527 | isa = XCBuildConfiguration; 528 | baseConfigurationReference = 456A422FEA64A89BE9478037 /* Pods-ExpandableTableViewController_Example.debug.xcconfig */; 529 | buildSettings = { 530 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 531 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 532 | INFOPLIST_FILE = ExpandableTableViewController/Info.plist; 533 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 534 | MODULE_NAME = ExampleApp; 535 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 536 | PRODUCT_NAME = "$(TARGET_NAME)"; 537 | SWIFT_VERSION = 3.0; 538 | }; 539 | name = Debug; 540 | }; 541 | 607FACF11AFB9204008FA782 /* Release */ = { 542 | isa = XCBuildConfiguration; 543 | baseConfigurationReference = 152A0476701A48875C94ABF1 /* Pods-ExpandableTableViewController_Example.release.xcconfig */; 544 | buildSettings = { 545 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 546 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 547 | INFOPLIST_FILE = ExpandableTableViewController/Info.plist; 548 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 549 | MODULE_NAME = ExampleApp; 550 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; 551 | PRODUCT_NAME = "$(TARGET_NAME)"; 552 | SWIFT_VERSION = 3.0; 553 | }; 554 | name = Release; 555 | }; 556 | 607FACF31AFB9204008FA782 /* Debug */ = { 557 | isa = XCBuildConfiguration; 558 | baseConfigurationReference = C9FAAD9C7D84218D31D37A08 /* Pods-ExpandableTableViewController_Tests.debug.xcconfig */; 559 | buildSettings = { 560 | FRAMEWORK_SEARCH_PATHS = "$(inherited)"; 561 | GCC_PREPROCESSOR_DEFINITIONS = ( 562 | "DEBUG=1", 563 | "$(inherited)", 564 | ); 565 | INFOPLIST_FILE = Tests/Info.plist; 566 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 567 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 568 | PRODUCT_NAME = "$(TARGET_NAME)"; 569 | SWIFT_VERSION = 3.0; 570 | }; 571 | name = Debug; 572 | }; 573 | 607FACF41AFB9204008FA782 /* Release */ = { 574 | isa = XCBuildConfiguration; 575 | baseConfigurationReference = 9FFA756D29D544FA0A572B5D /* Pods-ExpandableTableViewController_Tests.release.xcconfig */; 576 | buildSettings = { 577 | FRAMEWORK_SEARCH_PATHS = "$(inherited)"; 578 | INFOPLIST_FILE = Tests/Info.plist; 579 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 580 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; 581 | PRODUCT_NAME = "$(TARGET_NAME)"; 582 | SWIFT_VERSION = 3.0; 583 | }; 584 | name = Release; 585 | }; 586 | /* End XCBuildConfiguration section */ 587 | 588 | /* Begin XCConfigurationList section */ 589 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "ExpandableTableViewController" */ = { 590 | isa = XCConfigurationList; 591 | buildConfigurations = ( 592 | 607FACED1AFB9204008FA782 /* Debug */, 593 | 607FACEE1AFB9204008FA782 /* Release */, 594 | ); 595 | defaultConfigurationIsVisible = 0; 596 | defaultConfigurationName = Release; 597 | }; 598 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "ExpandableTableViewController_Example" */ = { 599 | isa = XCConfigurationList; 600 | buildConfigurations = ( 601 | 607FACF01AFB9204008FA782 /* Debug */, 602 | 607FACF11AFB9204008FA782 /* Release */, 603 | ); 604 | defaultConfigurationIsVisible = 0; 605 | defaultConfigurationName = Release; 606 | }; 607 | 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "ExpandableTableViewController_Tests" */ = { 608 | isa = XCConfigurationList; 609 | buildConfigurations = ( 610 | 607FACF31AFB9204008FA782 /* Debug */, 611 | 607FACF41AFB9204008FA782 /* Release */, 612 | ); 613 | defaultConfigurationIsVisible = 0; 614 | defaultConfigurationName = Release; 615 | }; 616 | /* End XCConfigurationList section */ 617 | }; 618 | rootObject = 607FACC81AFB9204008FA782 /* Project object */; 619 | } 620 | -------------------------------------------------------------------------------- /Example/ExpandableTableViewController.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/ExpandableTableViewController.xcodeproj/xcshareddata/xcschemes/ExpandableTableViewController-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 47 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 65 | 66 | 67 | 68 | 78 | 80 | 86 | 87 | 88 | 89 | 90 | 91 | 97 | 99 | 105 | 106 | 107 | 108 | 110 | 111 | 114 | 115 | 116 | -------------------------------------------------------------------------------- /Example/ExpandableTableViewController.xcodeproj/xcuserdata/a14129.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SuppressBuildableAutocreation 6 | 7 | 607FACCF1AFB9204008FA782 8 | 9 | primary 10 | 11 | 12 | 607FACE41AFB9204008FA782 13 | 14 | primary 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /Example/ExpandableTableViewController.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/ExpandableTableViewController.xcworkspace/xcuserdata/a14129.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enricmacias/ExpandableTableViewController/40b45e317082a0768fc402be227f5eb7f05d2c06/Example/ExpandableTableViewController.xcworkspace/xcuserdata/a14129.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /Example/ExpandableTableViewController.xcworkspace/xcuserdata/a14129.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /Example/ExpandableTableViewController/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // ExpandableTableViewController 4 | // 5 | // Created by Enric Macias Lopez on 07/06/2016. 6 | // Copyright (c) 2016 Enric Macias Lopez. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | 17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { 18 | // Override point for customization after application launch. 19 | return true 20 | } 21 | 22 | func applicationWillResignActive(_ application: UIApplication) { 23 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 24 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 25 | } 26 | 27 | func applicationDidEnterBackground(_ application: UIApplication) { 28 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 30 | } 31 | 32 | func applicationWillEnterForeground(_ application: UIApplication) { 33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | func applicationDidBecomeActive(_ application: UIApplication) { 37 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 38 | } 39 | 40 | func applicationWillTerminate(_ application: UIApplication) { 41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 42 | } 43 | 44 | 45 | } 46 | 47 | -------------------------------------------------------------------------------- /Example/ExpandableTableViewController/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 | -------------------------------------------------------------------------------- /Example/ExpandableTableViewController/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 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 52 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 115 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | -------------------------------------------------------------------------------- /Example/ExpandableTableViewController/DemoCells/BirthdateTableViewCell.swift: -------------------------------------------------------------------------------- 1 | // 2 | // BirthdateTableViewCell.swift 3 | // DemoExpandableTableViewController 4 | // 5 | // Created by Enric Macias Lopez on 8/25/15. 6 | // Copyright (c) 2015 Enric Macias Lopez. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class BirthdateTableViewCell: UITableViewCell { 12 | 13 | // MARK: Properties 14 | 15 | @IBOutlet weak var birthdateLabel: UILabel! 16 | 17 | // MARK: Lifecycle 18 | 19 | override func awakeFromNib() { 20 | super.awakeFromNib() 21 | // Initialization code 22 | } 23 | 24 | override func setSelected(_ selected: Bool, animated: Bool) { 25 | super.setSelected(selected, animated: animated) 26 | 27 | // Configure the view for the selected state 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /Example/ExpandableTableViewController/DemoCells/CommonTableViewCell.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CommonTableViewCell.swift 3 | // DemoExpandableTableViewController 4 | // 5 | // Created by Enric Macias Lopez on 8/25/15. 6 | // Copyright (c) 2015 Enric Macias Lopez. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class CommonTableViewCell: UITableViewCell { 12 | 13 | // MARK: Properties 14 | 15 | @IBOutlet weak var newIconImageView: UIImageView! 16 | @IBOutlet weak var arrowIndicatorImageView: UIImageView! 17 | 18 | // MARK: Lifecycle 19 | 20 | override func awakeFromNib() { 21 | super.awakeFromNib() 22 | // Initialization code 23 | } 24 | 25 | override func setSelected(_ selected: Bool, animated: Bool) { 26 | super.setSelected(selected, animated: animated) 27 | 28 | // Configure the view for the selected state 29 | } 30 | 31 | // MARK: Animations 32 | 33 | func openArrow(){ 34 | UIView.animate(withDuration: 0.25, animations: { 35 | self.arrowIndicatorImageView.transform = CGAffineTransform(rotationAngle: (CGFloat(M_PI) / 180.0)*0.0); 36 | }) 37 | } 38 | 39 | func closeArrow(){ 40 | UIView.animate(withDuration: 0.25, animations: { 41 | self.arrowIndicatorImageView.transform = CGAffineTransform(rotationAngle: (CGFloat(M_PI) / 180.0)*180.0); 42 | }) 43 | } 44 | 45 | func showSeparator(){ 46 | self.separatorInset = UIEdgeInsetsMake(0, self.frame.width, 0, 0); 47 | } 48 | 49 | func hideSeparator(){ 50 | self.separatorInset = UIEdgeInsets.zero; 51 | } 52 | 53 | } 54 | -------------------------------------------------------------------------------- /Example/ExpandableTableViewController/DemoCells/DatePickerTableViewCell.swift: -------------------------------------------------------------------------------- 1 | // 2 | // DatePickerTableViewCell.swift 3 | // DemoExpandableTableViewController 4 | // 5 | // Created by Enric Macias Lopez on 8/25/15. 6 | // Copyright (c) 2015 Enric Macias Lopez. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class DatePickerTableViewCell: UITableViewCell { 12 | 13 | // MARK: Properties 14 | 15 | @IBOutlet weak var datePicker: UIDatePicker! 16 | 17 | // MARK: Lifecycle 18 | 19 | override func awakeFromNib() { 20 | super.awakeFromNib() 21 | // Initialization code 22 | } 23 | 24 | override func setSelected(_ selected: Bool, animated: Bool) { 25 | super.setSelected(selected, animated: animated) 26 | 27 | // Configure the view for the selected state 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /Example/ExpandableTableViewController/DemoCells/DescriptionTableViewCell.swift: -------------------------------------------------------------------------------- 1 | // 2 | // DescriptionTableViewCell.swift 3 | // DemoExpandableTableViewController 4 | // 5 | // Created by Enric Macias Lopez on 8/25/15. 6 | // Copyright (c) 2015 Enric Macias Lopez. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class DescriptionTableViewCell: UITableViewCell { 12 | 13 | // MARK: Properties 14 | 15 | @IBOutlet weak var descriptionLabel: UILabel! 16 | 17 | // MARK: Lifecycle 18 | 19 | override func awakeFromNib() { 20 | super.awakeFromNib() 21 | // Initialization code 22 | } 23 | 24 | override func setSelected(_ selected: Bool, animated: Bool) { 25 | super.setSelected(selected, animated: animated) 26 | 27 | // Configure the view for the selected state 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /Example/ExpandableTableViewController/DemoCells/ListTableViewCell.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ListTableViewCell.swift 3 | // DemoExpandableTableViewController 4 | // 5 | // Created by Enric Macias Lopez on 8/25/15. 6 | // Copyright (c) 2015 Enric Macias Lopez. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class ListTableViewCell: UITableViewCell { 12 | 13 | // MARK: Properties 14 | 15 | @IBOutlet weak var listTextLabel: UILabel! 16 | 17 | // MARK: Lifecycle 18 | 19 | override func awakeFromNib() { 20 | super.awakeFromNib() 21 | // Initialization code 22 | } 23 | 24 | override func setSelected(_ selected: Bool, animated: Bool) { 25 | super.setSelected(selected, animated: animated) 26 | 27 | // Configure the view for the selected state 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /Example/ExpandableTableViewController/DemoCells/TitleTableViewCell.swift: -------------------------------------------------------------------------------- 1 | // 2 | // TitleTableViewCell.swift 3 | // DemoExpandableTableViewController 4 | // 5 | // Created by Enric Macias Lopez on 8/25/15. 6 | // Copyright (c) 2015 Enric Macias Lopez. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | class TitleTableViewCell: CommonTableViewCell { 12 | 13 | // MARK: Properties 14 | 15 | @IBOutlet weak var dateLabel: UILabel! 16 | @IBOutlet weak var titleLabel: UILabel! 17 | 18 | // MARK: Lifecycle 19 | 20 | override func awakeFromNib() { 21 | super.awakeFromNib() 22 | // Initialization code 23 | } 24 | 25 | override func setSelected(_ selected: Bool, animated: Bool) { 26 | super.setSelected(selected, animated: animated) 27 | 28 | // Configure the view for the selected state 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /Example/ExpandableTableViewController/DemoTableViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // ExpandableTableViewController 4 | // 5 | // Created by enric.macias.lopez on 08/21/2015. 6 | // Copyright (c) 2015 enric.macias.lopez. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import ExpandableTableViewController 11 | 12 | enum TableViewRows: Int { 13 | case text = 0, datePicker, list 14 | } 15 | 16 | class DemoTableViewController: ExpandableTableViewController, ExpandableTableViewDelegate { 17 | 18 | // MARK: - Properties 19 | lazy var dateFormatter: DateFormatter = { 20 | var dateFormatter = DateFormatter() 21 | dateFormatter.dateFormat = "yyyy-MM-dd" 22 | return dateFormatter 23 | }() 24 | 25 | // MARK: - Lifecycle 26 | 27 | override func viewDidLoad() { 28 | super.viewDidLoad() 29 | // Do any additional setup after loading the view, typically from a nib. 30 | 31 | self.expandableTableView.expandableDelegate = self 32 | } 33 | 34 | override func didReceiveMemoryWarning() { 35 | super.didReceiveMemoryWarning() 36 | // Dispose of any resources that can be recreated. 37 | } 38 | 39 | // MARK: - Init 40 | 41 | override func tableView(_: UITableView, willDisplay cell: UITableViewCell, forRowAt indexPath: IndexPath) { 42 | 43 | if cell.responds(to: #selector(setter: UIView.preservesSuperviewLayoutMargins)){ 44 | cell.preservesSuperviewLayoutMargins = false 45 | } 46 | 47 | if cell.responds(to: #selector(setter: UIView.layoutMargins)){ 48 | cell.layoutMargins = UIEdgeInsets.zero 49 | } 50 | } 51 | 52 | // MARK: - Actions 53 | 54 | @IBAction func onDatePickerValueChanged(_ sender: UIDatePicker){ 55 | // Find this picker cell 56 | let position : CGPoint = sender.convert(sender.frame.origin, to: tableView) 57 | let pickerCellIndexPath : IndexPath = tableView.indexPathForRow(at: position)! 58 | 59 | // Creates the index path for the value text 60 | let valueCellIndexPath = IndexPath(row: pickerCellIndexPath.row - 1, section: pickerCellIndexPath.section) 61 | 62 | // Gets the cell we are looking for 63 | let birthdateCell : BirthdateTableViewCell = tableView.cellForRow(at: valueCellIndexPath) as! BirthdateTableViewCell 64 | 65 | birthdateCell.birthdateLabel.text = dateFormatter.string(from: sender.date) 66 | } 67 | 68 | // MARK: - Expandable Table View Controller Delegate 69 | 70 | // MARK: - Rows 71 | func expandableTableView(_ expandableTableView: ExpandableTableView, numberOfRowsInSection section: Int) -> Int { 72 | return 3 73 | } 74 | 75 | func expandableTableView(_ expandableTableView: ExpandableTableView, cellForRowAtExpandableIndexPath expandableIndexPath: ExpandableIndexPath) -> UITableViewCell { 76 | var cell: UITableViewCell! 77 | 78 | switch(expandableIndexPath.row){ 79 | case TableViewRows.text.rawValue: 80 | let titleCell = expandableTableView.dequeueReusableCellWithIdentifier("TitleCell", forIndexPath: expandableIndexPath) as! TitleTableViewCell 81 | titleCell.dateLabel.text = dateFormatter.string(from: Date()) 82 | titleCell.titleLabel.text = "Today News" 83 | cell = titleCell 84 | case TableViewRows.datePicker.rawValue: 85 | cell = expandableTableView.dequeueReusableCellWithIdentifier("BirthdateCell", forIndexPath: expandableIndexPath) as UITableViewCell 86 | case TableViewRows.list.rawValue: 87 | cell = expandableTableView.dequeueReusableCellWithIdentifier("ListTitleCell", forIndexPath: expandableIndexPath) as UITableViewCell 88 | default: 89 | cell = UITableViewCell() 90 | } 91 | 92 | return cell 93 | } 94 | 95 | func expandableTableView(_ expandableTableView: ExpandableTableView, heightForRowAtExpandableIndexPath expandableIndexPath: ExpandableIndexPath) -> CGFloat { 96 | return 60.0 97 | } 98 | 99 | func expandableTableView(_ expandableTableView: ExpandableTableView, estimatedHeightForRowAtExpandableIndexPath expandableIndexPath: ExpandableIndexPath) -> CGFloat { 100 | return 60.0 101 | } 102 | 103 | func expandableTableView(_ expandableTableView: ExpandableTableView, didSelectRowAtExpandableIndexPath expandableIndexPath: ExpandableIndexPath) { 104 | switch(expandableIndexPath.row){ 105 | case TableViewRows.text.rawValue: 106 | if let cell = expandableTableView.cellForRowAtIndexPath(expandableIndexPath) as? CommonTableViewCell{ 107 | if expandableTableView.isCellExpandedAtExpandableIndexPath(expandableIndexPath){ 108 | cell.showSeparator() 109 | }else{ 110 | cell.hideSeparator() 111 | } 112 | } 113 | case TableViewRows.datePicker.rawValue: 114 | break 115 | case TableViewRows.list.rawValue: 116 | break 117 | default: 118 | break 119 | } 120 | 121 | expandableTableView.deselectRowAtExpandableIndexPath(expandableIndexPath, animated: true) 122 | } 123 | 124 | // MARK: - SubRows 125 | func expandableTableView(_ expandableTableView: ExpandableTableView, numberOfSubRowsInRowAtExpandableIndexPath expandableIndexPath: ExpandableIndexPath) -> Int { 126 | switch(expandableIndexPath.row){ 127 | case TableViewRows.text.rawValue, TableViewRows.datePicker.rawValue: 128 | return 1 129 | case TableViewRows.list.rawValue: 130 | return 3 131 | default: 132 | return 0 133 | } 134 | } 135 | 136 | func expandableTableView(_ expandableTableView: ExpandableTableView, subCellForRowAtExpandableIndexPath expandableIndexPath: ExpandableIndexPath) -> UITableViewCell { 137 | var cell: UITableViewCell! 138 | 139 | switch(expandableIndexPath.row){ 140 | case TableViewRows.text.rawValue: 141 | let descriptionCell = expandableTableView.dequeueReusableCellWithIdentifier("DescriptionCell", forIndexPath: expandableIndexPath) as! DescriptionTableViewCell 142 | descriptionCell.descriptionLabel.text = "News is packaged information about current events happening somewhere else; or, alternatively, news is that which the news industry sells. News moves through many different media, based on word of mouth, printing, postal systems, broadcasting, and electronic communication. Common topics for news reports include war, politics, and business, as well as athletic contests, quirky or unusual events, and the doings of celebrities. Government proclamations, concerning royal ceremonies, laws, taxes, public health, and criminals, have been dubbed news since ancient times. Humans exhibit a nearly universal desire to learn and share news from elsewhere, which they satisfy by traveling and talking to each other. Technological and social developments, often driven by government communication and espionage networks, have increased the speed with which news can spread, as well as influenced its content. The genre of news as we know it today is closely associated with the newspaper, which originated in China as a court bulletin and spread, with paper and printing press, to Europe. The development of the electric telegraph in the mid-19th century revolutionized news by enabling nearly instantaneous transmissions, and by empowering a cartel of news agencies which consolidated the world news system. In the 20th century, the style of news and its impact on national populations expanded considerably with constant live broadcasting of radio and television, and finally, with the popularization of the internet." 143 | cell = descriptionCell 144 | case TableViewRows.datePicker.rawValue: 145 | cell = expandableTableView.dequeueReusableCellWithIdentifier("DatePickerCell", forIndexPath: expandableIndexPath) as UITableViewCell 146 | case TableViewRows.list.rawValue: 147 | let listTextCell = expandableTableView.dequeueReusableCellWithIdentifier("ListTextCell", forIndexPath: expandableIndexPath) as! ListTableViewCell 148 | listTextCell.listTextLabel.text = "Item"+String(expandableIndexPath.subRow) 149 | cell = listTextCell 150 | default: 151 | cell = UITableViewCell() 152 | } 153 | 154 | return cell 155 | } 156 | 157 | func expandableTableView(_ expandableTableView: ExpandableTableView, heightForSubRowAtExpandableIndexPath expandableIndexPath: ExpandableIndexPath) -> CGFloat { 158 | switch(expandableIndexPath.row){ 159 | case TableViewRows.text.rawValue: 160 | return UITableViewAutomaticDimension 161 | case TableViewRows.datePicker.rawValue: 162 | return 163.0 163 | case TableViewRows.list.rawValue: 164 | return 44.0 165 | default: 166 | return 0 167 | } 168 | } 169 | 170 | func expandableTableView(_ expandableTableView: ExpandableTableView, estimatedHeightForSubRowAtExpandableIndexPath expandableIndexPath: ExpandableIndexPath) -> CGFloat { 171 | switch(expandableIndexPath.row){ 172 | case TableViewRows.text.rawValue: 173 | return 100.0 174 | case TableViewRows.datePicker.rawValue: 175 | return 163.0 176 | case TableViewRows.list.rawValue: 177 | return 44.0 178 | default: 179 | return 0 180 | } 181 | } 182 | 183 | func expandableTableView(_ expandableTableView: ExpandableTableView, didSelectSubRowAtExpandableIndexPath expandableIndexPath: ExpandableIndexPath){ 184 | 185 | } 186 | 187 | } 188 | 189 | -------------------------------------------------------------------------------- /Example/ExpandableTableViewController/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 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /Example/ExpandableTableViewController/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | target 'ExpandableTableViewController_Example' do 4 | pod 'ExpandableTableViewController', :path => '../' 5 | 6 | target 'ExpandableTableViewController_Tests' do 7 | inherit! :search_paths 8 | 9 | 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - ExpandableTableViewController (2.1) 3 | 4 | DEPENDENCIES: 5 | - ExpandableTableViewController (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | ExpandableTableViewController: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | ExpandableTableViewController: 18a5699ff3fed252ac41ac52ccaf54aaa20cad25 13 | 14 | PODFILE CHECKSUM: 182f932c545c98f34f7fa888836f035774e1576a 15 | 16 | COCOAPODS: 1.2.0 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/ExpandableTableViewController.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ExpandableTableViewController", 3 | "version": "2.1", 4 | "summary": "Swift library to easily show, hide and customize table view cells as an expandable list of items.", 5 | "description": "Swift library to easily show, hide and customize table view cells as an expandable list of items, long text or pickers.", 6 | "homepage": "https://github.com/enricmacias/ExpandableTableViewController", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "Enric Macias Lopez": "enric_maciaslopez@gmail.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/enricmacias/ExpandableTableViewController.git", 16 | "tag": "2.1" 17 | }, 18 | "platforms": { 19 | "ios": "8.0" 20 | }, 21 | "source_files": "ExpandableTableViewController/Classes/**/*" 22 | } 23 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - ExpandableTableViewController (2.1) 3 | 4 | DEPENDENCIES: 5 | - ExpandableTableViewController (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | ExpandableTableViewController: 9 | :path: ../ 10 | 11 | SPEC CHECKSUMS: 12 | ExpandableTableViewController: 18a5699ff3fed252ac41ac52ccaf54aaa20cad25 13 | 14 | PODFILE CHECKSUM: 182f932c545c98f34f7fa888836f035774e1576a 15 | 16 | COCOAPODS: 1.2.0 17 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 02EF5C4D401BA266C2BBB27DE057826D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */; }; 11 | 057BFA578BCA6A01100124B92014709F /* Pods-ExpandableTableViewController_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 1FCD9854B4E5B32E1ED0DB8D9E5C7EBF /* Pods-ExpandableTableViewController_Example-dummy.m */; }; 12 | 0F340DF040D6B903CB11B3A2A9255F3A /* ExpandableTableViewController-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = C051EE08790BFDD2F675108239B82C9C /* ExpandableTableViewController-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 13 | 0FA58B83C15D4AFF0E8A2420B15E054C /* Pods-ExpandableTableViewController_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = D17363A6256BF8E40016A504BC27C1DB /* Pods-ExpandableTableViewController_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 14 | 1774E0A48F667A53E4E34D5BFD5E3796 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */; }; 15 | 46E37FFC0300EE2CEDCA76A9A5E6BD37 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */; }; 16 | 5CA80D7B59E12D189F34A3A7FA26F0AD /* Pods-ExpandableTableViewController_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = A967976D35AF0FC23AAD37AAC6BAF9D0 /* Pods-ExpandableTableViewController_Tests-dummy.m */; }; 17 | 81C591F39A450FB62978113301EBFC9A /* ExpandableTableViewDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 15D9EA0249B99929698C3E4D403B5216 /* ExpandableTableViewDelegate.swift */; }; 18 | CB619977C8143E25727283FCAE7FFFE2 /* ExpandableTableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E9DD87D6204B69F74520477228EFBCA1 /* ExpandableTableViewController.swift */; }; 19 | D57DC7789608F8FEFD3AEB91A247D136 /* Pods-ExpandableTableViewController_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 2731A634E85122E61667E4640A8ABC9C /* Pods-ExpandableTableViewController_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 20 | E70A1F6D69105829DDF3C31F644F60E1 /* ArrayExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3F556F81024DCCFDCD1BC89BF6929303 /* ArrayExtension.swift */; }; 21 | EAA64AA3B1F7FDE8E4B302A20B620C3E /* ExpandableTableViewController-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = CCD20CF1FF4792C0CE6D443796AAD517 /* ExpandableTableViewController-dummy.m */; }; 22 | /* End PBXBuildFile section */ 23 | 24 | /* Begin PBXContainerItemProxy section */ 25 | 7DFBAC5C70B339A9BA8B8CAC4F0BD3A1 /* PBXContainerItemProxy */ = { 26 | isa = PBXContainerItemProxy; 27 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 28 | proxyType = 1; 29 | remoteGlobalIDString = 96AFA871D25A87F6FCCFED071D32EBC8; 30 | remoteInfo = ExpandableTableViewController; 31 | }; 32 | /* End PBXContainerItemProxy section */ 33 | 34 | /* Begin PBXFileReference section */ 35 | 05B693FAE2F9EA614B18A6886191EEC6 /* ExpandableTableViewController-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ExpandableTableViewController-prefix.pch"; sourceTree = ""; }; 36 | 08EDA1A0F0DD2C42AF0301DE3A2B4858 /* Pods-ExpandableTableViewController_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-ExpandableTableViewController_Tests-acknowledgements.markdown"; sourceTree = ""; }; 37 | 14096D92D77EC79363012B5301770E58 /* Pods_ExpandableTableViewController_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_ExpandableTableViewController_Tests.framework; path = "Pods-ExpandableTableViewController_Tests.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 38 | 14D8F2891751E8B547A90D2FEEA31E9B /* Pods-ExpandableTableViewController_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-ExpandableTableViewController_Tests-acknowledgements.plist"; sourceTree = ""; }; 39 | 15D9EA0249B99929698C3E4D403B5216 /* ExpandableTableViewDelegate.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = ExpandableTableViewDelegate.swift; sourceTree = ""; }; 40 | 1FCD9854B4E5B32E1ED0DB8D9E5C7EBF /* Pods-ExpandableTableViewController_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-ExpandableTableViewController_Example-dummy.m"; sourceTree = ""; }; 41 | 223CF067B08249EFA182D06A147F9A54 /* Pods-ExpandableTableViewController_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ExpandableTableViewController_Example-frameworks.sh"; sourceTree = ""; }; 42 | 2731A634E85122E61667E4640A8ABC9C /* Pods-ExpandableTableViewController_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-ExpandableTableViewController_Tests-umbrella.h"; sourceTree = ""; }; 43 | 369B1EC4976FDB376500730ADBD93150 /* ExpandableTableViewController.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = ExpandableTableViewController.framework; path = ExpandableTableViewController.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 44 | 3DBEADC4907DB69DF8A5A05A42F4D638 /* Pods-ExpandableTableViewController_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ExpandableTableViewController_Tests.release.xcconfig"; sourceTree = ""; }; 45 | 3F556F81024DCCFDCD1BC89BF6929303 /* ArrayExtension.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = ArrayExtension.swift; sourceTree = ""; }; 46 | 3FB6FA158B8BE097E55CA4C9DFEE2833 /* Pods_ExpandableTableViewController_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_ExpandableTableViewController_Example.framework; path = "Pods-ExpandableTableViewController_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 47 | 407915F12593128EDA6CC7E3BA783BA1 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 48 | 51DD480B8E00F07B84A8353F34221DE3 /* Pods-ExpandableTableViewController_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-ExpandableTableViewController_Example-acknowledgements.markdown"; sourceTree = ""; }; 49 | 5A7213FA73F940CB541E1985B1DC66AA /* Pods-ExpandableTableViewController_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-ExpandableTableViewController_Example-acknowledgements.plist"; sourceTree = ""; }; 50 | 5D10F9C5A71C8F4E724A0F8C0115D44A /* Pods-ExpandableTableViewController_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ExpandableTableViewController_Tests-frameworks.sh"; sourceTree = ""; }; 51 | 64B381627F7463D8CAC1ED0EE6F58F75 /* ExpandableTableViewController.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = ExpandableTableViewController.modulemap; sourceTree = ""; }; 52 | 6AA80E5E3C71992E0A9CA40DBD47DEF2 /* Pods-ExpandableTableViewController_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ExpandableTableViewController_Example-resources.sh"; sourceTree = ""; }; 53 | 7CDC9260A397B9B692891C194F522D78 /* Pods-ExpandableTableViewController_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-ExpandableTableViewController_Example.modulemap"; sourceTree = ""; }; 54 | 7DCCC26642164BBE4795D2EB5F95BACF /* Pods-ExpandableTableViewController_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ExpandableTableViewController_Example.release.xcconfig"; sourceTree = ""; }; 55 | 82CCF143E97CC81E9EC1BF572CC967D0 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 56 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 57 | A967976D35AF0FC23AAD37AAC6BAF9D0 /* Pods-ExpandableTableViewController_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-ExpandableTableViewController_Tests-dummy.m"; sourceTree = ""; }; 58 | A9F1860D33685004983D78DAECD7425D /* Pods-ExpandableTableViewController_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ExpandableTableViewController_Example.debug.xcconfig"; sourceTree = ""; }; 59 | AA5ABC8909800B4458C60F8DE67AE5DE /* Pods-ExpandableTableViewController_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-ExpandableTableViewController_Tests.modulemap"; sourceTree = ""; }; 60 | BBEADDA31CA39FF71CFD9B9C7923002B /* Pods-ExpandableTableViewController_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-ExpandableTableViewController_Tests.debug.xcconfig"; sourceTree = ""; }; 61 | BCB69F6876A6BD735DEDD1B5EC3CC557 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 62 | C051EE08790BFDD2F675108239B82C9C /* ExpandableTableViewController-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ExpandableTableViewController-umbrella.h"; sourceTree = ""; }; 63 | CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 64 | CCD20CF1FF4792C0CE6D443796AAD517 /* ExpandableTableViewController-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "ExpandableTableViewController-dummy.m"; sourceTree = ""; }; 65 | D17363A6256BF8E40016A504BC27C1DB /* Pods-ExpandableTableViewController_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-ExpandableTableViewController_Example-umbrella.h"; sourceTree = ""; }; 66 | E4012E988A6DC489485C7B3C47021731 /* Pods-ExpandableTableViewController_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-ExpandableTableViewController_Tests-resources.sh"; sourceTree = ""; }; 67 | E9DD87D6204B69F74520477228EFBCA1 /* ExpandableTableViewController.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = ExpandableTableViewController.swift; sourceTree = ""; }; 68 | EB93600F8FBC8131618C8A13DC0F4AA1 /* ExpandableTableViewController.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = ExpandableTableViewController.xcconfig; sourceTree = ""; }; 69 | /* End PBXFileReference section */ 70 | 71 | /* Begin PBXFrameworksBuildPhase section */ 72 | 6E08A1266C73A1A2D2B3D3CB0F3551F6 /* Frameworks */ = { 73 | isa = PBXFrameworksBuildPhase; 74 | buildActionMask = 2147483647; 75 | files = ( 76 | 46E37FFC0300EE2CEDCA76A9A5E6BD37 /* Foundation.framework in Frameworks */, 77 | ); 78 | runOnlyForDeploymentPostprocessing = 0; 79 | }; 80 | 8CC2E685C6128C5EF70FF478950A046F /* Frameworks */ = { 81 | isa = PBXFrameworksBuildPhase; 82 | buildActionMask = 2147483647; 83 | files = ( 84 | 02EF5C4D401BA266C2BBB27DE057826D /* Foundation.framework in Frameworks */, 85 | ); 86 | runOnlyForDeploymentPostprocessing = 0; 87 | }; 88 | B4A55A7F044762B94B7F29A4EDFF2322 /* Frameworks */ = { 89 | isa = PBXFrameworksBuildPhase; 90 | buildActionMask = 2147483647; 91 | files = ( 92 | 1774E0A48F667A53E4E34D5BFD5E3796 /* Foundation.framework in Frameworks */, 93 | ); 94 | runOnlyForDeploymentPostprocessing = 0; 95 | }; 96 | /* End PBXFrameworksBuildPhase section */ 97 | 98 | /* Begin PBXGroup section */ 99 | 1160F058A4A4BE598D6B8EC0001875B5 /* Development Pods */ = { 100 | isa = PBXGroup; 101 | children = ( 102 | DCA3A18C3FCD399C52CC4D455B9C7907 /* ExpandableTableViewController */, 103 | ); 104 | name = "Development Pods"; 105 | sourceTree = ""; 106 | }; 107 | 2631B310B0114894FF2DE5BC6EAF7B1C /* ExpandableTableViewController */ = { 108 | isa = PBXGroup; 109 | children = ( 110 | E4F3A7C860F119B2DF92DF1EAE315953 /* Classes */, 111 | ); 112 | name = ExpandableTableViewController; 113 | path = ExpandableTableViewController; 114 | sourceTree = ""; 115 | }; 116 | 40B89D423365F30135B5D748D4A5F393 /* Products */ = { 117 | isa = PBXGroup; 118 | children = ( 119 | 369B1EC4976FDB376500730ADBD93150 /* ExpandableTableViewController.framework */, 120 | 3FB6FA158B8BE097E55CA4C9DFEE2833 /* Pods_ExpandableTableViewController_Example.framework */, 121 | 14096D92D77EC79363012B5301770E58 /* Pods_ExpandableTableViewController_Tests.framework */, 122 | ); 123 | name = Products; 124 | sourceTree = ""; 125 | }; 126 | 506A3EAB87F7D2076A42E4524F8FCBCE /* Targets Support Files */ = { 127 | isa = PBXGroup; 128 | children = ( 129 | 5E7B0D98B7326E5377E6AE263D18264B /* Pods-ExpandableTableViewController_Example */, 130 | 9EAE2D96169B9A2F8A60E30895CF505B /* Pods-ExpandableTableViewController_Tests */, 131 | ); 132 | name = "Targets Support Files"; 133 | sourceTree = ""; 134 | }; 135 | 5E7B0D98B7326E5377E6AE263D18264B /* Pods-ExpandableTableViewController_Example */ = { 136 | isa = PBXGroup; 137 | children = ( 138 | BCB69F6876A6BD735DEDD1B5EC3CC557 /* Info.plist */, 139 | 7CDC9260A397B9B692891C194F522D78 /* Pods-ExpandableTableViewController_Example.modulemap */, 140 | 51DD480B8E00F07B84A8353F34221DE3 /* Pods-ExpandableTableViewController_Example-acknowledgements.markdown */, 141 | 5A7213FA73F940CB541E1985B1DC66AA /* Pods-ExpandableTableViewController_Example-acknowledgements.plist */, 142 | 1FCD9854B4E5B32E1ED0DB8D9E5C7EBF /* Pods-ExpandableTableViewController_Example-dummy.m */, 143 | 223CF067B08249EFA182D06A147F9A54 /* Pods-ExpandableTableViewController_Example-frameworks.sh */, 144 | 6AA80E5E3C71992E0A9CA40DBD47DEF2 /* Pods-ExpandableTableViewController_Example-resources.sh */, 145 | D17363A6256BF8E40016A504BC27C1DB /* Pods-ExpandableTableViewController_Example-umbrella.h */, 146 | A9F1860D33685004983D78DAECD7425D /* Pods-ExpandableTableViewController_Example.debug.xcconfig */, 147 | 7DCCC26642164BBE4795D2EB5F95BACF /* Pods-ExpandableTableViewController_Example.release.xcconfig */, 148 | ); 149 | name = "Pods-ExpandableTableViewController_Example"; 150 | path = "Target Support Files/Pods-ExpandableTableViewController_Example"; 151 | sourceTree = ""; 152 | }; 153 | 7531C8F8DE19F1AA3C8A7AC97A91DC29 /* iOS */ = { 154 | isa = PBXGroup; 155 | children = ( 156 | CBB3DE36805AF21409EC968A9691732F /* Foundation.framework */, 157 | ); 158 | name = iOS; 159 | sourceTree = ""; 160 | }; 161 | 7DB346D0F39D3F0E887471402A8071AB = { 162 | isa = PBXGroup; 163 | children = ( 164 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 165 | 1160F058A4A4BE598D6B8EC0001875B5 /* Development Pods */, 166 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 167 | 40B89D423365F30135B5D748D4A5F393 /* Products */, 168 | 506A3EAB87F7D2076A42E4524F8FCBCE /* Targets Support Files */, 169 | ); 170 | sourceTree = ""; 171 | }; 172 | 9EAE2D96169B9A2F8A60E30895CF505B /* Pods-ExpandableTableViewController_Tests */ = { 173 | isa = PBXGroup; 174 | children = ( 175 | 82CCF143E97CC81E9EC1BF572CC967D0 /* Info.plist */, 176 | AA5ABC8909800B4458C60F8DE67AE5DE /* Pods-ExpandableTableViewController_Tests.modulemap */, 177 | 08EDA1A0F0DD2C42AF0301DE3A2B4858 /* Pods-ExpandableTableViewController_Tests-acknowledgements.markdown */, 178 | 14D8F2891751E8B547A90D2FEEA31E9B /* Pods-ExpandableTableViewController_Tests-acknowledgements.plist */, 179 | A967976D35AF0FC23AAD37AAC6BAF9D0 /* Pods-ExpandableTableViewController_Tests-dummy.m */, 180 | 5D10F9C5A71C8F4E724A0F8C0115D44A /* Pods-ExpandableTableViewController_Tests-frameworks.sh */, 181 | E4012E988A6DC489485C7B3C47021731 /* Pods-ExpandableTableViewController_Tests-resources.sh */, 182 | 2731A634E85122E61667E4640A8ABC9C /* Pods-ExpandableTableViewController_Tests-umbrella.h */, 183 | BBEADDA31CA39FF71CFD9B9C7923002B /* Pods-ExpandableTableViewController_Tests.debug.xcconfig */, 184 | 3DBEADC4907DB69DF8A5A05A42F4D638 /* Pods-ExpandableTableViewController_Tests.release.xcconfig */, 185 | ); 186 | name = "Pods-ExpandableTableViewController_Tests"; 187 | path = "Target Support Files/Pods-ExpandableTableViewController_Tests"; 188 | sourceTree = ""; 189 | }; 190 | A4D468D1EAB369EDBB594AB2C585AF2C /* Support Files */ = { 191 | isa = PBXGroup; 192 | children = ( 193 | 64B381627F7463D8CAC1ED0EE6F58F75 /* ExpandableTableViewController.modulemap */, 194 | EB93600F8FBC8131618C8A13DC0F4AA1 /* ExpandableTableViewController.xcconfig */, 195 | CCD20CF1FF4792C0CE6D443796AAD517 /* ExpandableTableViewController-dummy.m */, 196 | 05B693FAE2F9EA614B18A6886191EEC6 /* ExpandableTableViewController-prefix.pch */, 197 | C051EE08790BFDD2F675108239B82C9C /* ExpandableTableViewController-umbrella.h */, 198 | 407915F12593128EDA6CC7E3BA783BA1 /* Info.plist */, 199 | ); 200 | name = "Support Files"; 201 | path = "Example/Pods/Target Support Files/ExpandableTableViewController"; 202 | sourceTree = ""; 203 | }; 204 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 205 | isa = PBXGroup; 206 | children = ( 207 | 7531C8F8DE19F1AA3C8A7AC97A91DC29 /* iOS */, 208 | ); 209 | name = Frameworks; 210 | sourceTree = ""; 211 | }; 212 | DCA3A18C3FCD399C52CC4D455B9C7907 /* ExpandableTableViewController */ = { 213 | isa = PBXGroup; 214 | children = ( 215 | 2631B310B0114894FF2DE5BC6EAF7B1C /* ExpandableTableViewController */, 216 | A4D468D1EAB369EDBB594AB2C585AF2C /* Support Files */, 217 | ); 218 | name = ExpandableTableViewController; 219 | path = ../..; 220 | sourceTree = ""; 221 | }; 222 | E4F3A7C860F119B2DF92DF1EAE315953 /* Classes */ = { 223 | isa = PBXGroup; 224 | children = ( 225 | 3F556F81024DCCFDCD1BC89BF6929303 /* ArrayExtension.swift */, 226 | E9DD87D6204B69F74520477228EFBCA1 /* ExpandableTableViewController.swift */, 227 | 15D9EA0249B99929698C3E4D403B5216 /* ExpandableTableViewDelegate.swift */, 228 | ); 229 | name = Classes; 230 | path = Classes; 231 | sourceTree = ""; 232 | }; 233 | /* End PBXGroup section */ 234 | 235 | /* Begin PBXHeadersBuildPhase section */ 236 | 878BDB083286618B62C82093CD87D941 /* Headers */ = { 237 | isa = PBXHeadersBuildPhase; 238 | buildActionMask = 2147483647; 239 | files = ( 240 | 0FA58B83C15D4AFF0E8A2420B15E054C /* Pods-ExpandableTableViewController_Example-umbrella.h in Headers */, 241 | ); 242 | runOnlyForDeploymentPostprocessing = 0; 243 | }; 244 | 92170386E1CA95B2C3621D23E52316E7 /* Headers */ = { 245 | isa = PBXHeadersBuildPhase; 246 | buildActionMask = 2147483647; 247 | files = ( 248 | 0F340DF040D6B903CB11B3A2A9255F3A /* ExpandableTableViewController-umbrella.h in Headers */, 249 | ); 250 | runOnlyForDeploymentPostprocessing = 0; 251 | }; 252 | DA168B3C8F053E7411925CEBA35F21EB /* Headers */ = { 253 | isa = PBXHeadersBuildPhase; 254 | buildActionMask = 2147483647; 255 | files = ( 256 | D57DC7789608F8FEFD3AEB91A247D136 /* Pods-ExpandableTableViewController_Tests-umbrella.h in Headers */, 257 | ); 258 | runOnlyForDeploymentPostprocessing = 0; 259 | }; 260 | /* End PBXHeadersBuildPhase section */ 261 | 262 | /* Begin PBXNativeTarget section */ 263 | 96AFA871D25A87F6FCCFED071D32EBC8 /* ExpandableTableViewController */ = { 264 | isa = PBXNativeTarget; 265 | buildConfigurationList = 00E21423372BB0FB91C82EE1C1C60B08 /* Build configuration list for PBXNativeTarget "ExpandableTableViewController" */; 266 | buildPhases = ( 267 | 86889CDD8930C625872A93CADDC4895B /* Sources */, 268 | 6E08A1266C73A1A2D2B3D3CB0F3551F6 /* Frameworks */, 269 | 92170386E1CA95B2C3621D23E52316E7 /* Headers */, 270 | ); 271 | buildRules = ( 272 | ); 273 | dependencies = ( 274 | ); 275 | name = ExpandableTableViewController; 276 | productName = ExpandableTableViewController; 277 | productReference = 369B1EC4976FDB376500730ADBD93150 /* ExpandableTableViewController.framework */; 278 | productType = "com.apple.product-type.framework"; 279 | }; 280 | C5E03FB5A8422D3640380C43FF6E9B0C /* Pods-ExpandableTableViewController_Example */ = { 281 | isa = PBXNativeTarget; 282 | buildConfigurationList = E62B31AD86CED31F72037AD41613A958 /* Build configuration list for PBXNativeTarget "Pods-ExpandableTableViewController_Example" */; 283 | buildPhases = ( 284 | F6625C1068A541E79CA100B922680BBB /* Sources */, 285 | B4A55A7F044762B94B7F29A4EDFF2322 /* Frameworks */, 286 | 878BDB083286618B62C82093CD87D941 /* Headers */, 287 | ); 288 | buildRules = ( 289 | ); 290 | dependencies = ( 291 | 5C66B1F75EC317FF252F466A1173878A /* PBXTargetDependency */, 292 | ); 293 | name = "Pods-ExpandableTableViewController_Example"; 294 | productName = "Pods-ExpandableTableViewController_Example"; 295 | productReference = 3FB6FA158B8BE097E55CA4C9DFEE2833 /* Pods_ExpandableTableViewController_Example.framework */; 296 | productType = "com.apple.product-type.framework"; 297 | }; 298 | E95A69B3BAB10FDEA0892A6F879E5617 /* Pods-ExpandableTableViewController_Tests */ = { 299 | isa = PBXNativeTarget; 300 | buildConfigurationList = 8B2DAD524C080B68F2BF01A03F4E872B /* Build configuration list for PBXNativeTarget "Pods-ExpandableTableViewController_Tests" */; 301 | buildPhases = ( 302 | 0BB5EED8B978EFA3DD9D248D2BD05235 /* Sources */, 303 | 8CC2E685C6128C5EF70FF478950A046F /* Frameworks */, 304 | DA168B3C8F053E7411925CEBA35F21EB /* Headers */, 305 | ); 306 | buildRules = ( 307 | ); 308 | dependencies = ( 309 | ); 310 | name = "Pods-ExpandableTableViewController_Tests"; 311 | productName = "Pods-ExpandableTableViewController_Tests"; 312 | productReference = 14096D92D77EC79363012B5301770E58 /* Pods_ExpandableTableViewController_Tests.framework */; 313 | productType = "com.apple.product-type.framework"; 314 | }; 315 | /* End PBXNativeTarget section */ 316 | 317 | /* Begin PBXProject section */ 318 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 319 | isa = PBXProject; 320 | attributes = { 321 | LastSwiftUpdateCheck = 0730; 322 | LastUpgradeCheck = 0700; 323 | }; 324 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 325 | compatibilityVersion = "Xcode 3.2"; 326 | developmentRegion = English; 327 | hasScannedForEncodings = 0; 328 | knownRegions = ( 329 | en, 330 | ); 331 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 332 | productRefGroup = 40B89D423365F30135B5D748D4A5F393 /* Products */; 333 | projectDirPath = ""; 334 | projectRoot = ""; 335 | targets = ( 336 | 96AFA871D25A87F6FCCFED071D32EBC8 /* ExpandableTableViewController */, 337 | C5E03FB5A8422D3640380C43FF6E9B0C /* Pods-ExpandableTableViewController_Example */, 338 | E95A69B3BAB10FDEA0892A6F879E5617 /* Pods-ExpandableTableViewController_Tests */, 339 | ); 340 | }; 341 | /* End PBXProject section */ 342 | 343 | /* Begin PBXSourcesBuildPhase section */ 344 | 0BB5EED8B978EFA3DD9D248D2BD05235 /* Sources */ = { 345 | isa = PBXSourcesBuildPhase; 346 | buildActionMask = 2147483647; 347 | files = ( 348 | 5CA80D7B59E12D189F34A3A7FA26F0AD /* Pods-ExpandableTableViewController_Tests-dummy.m in Sources */, 349 | ); 350 | runOnlyForDeploymentPostprocessing = 0; 351 | }; 352 | 86889CDD8930C625872A93CADDC4895B /* Sources */ = { 353 | isa = PBXSourcesBuildPhase; 354 | buildActionMask = 2147483647; 355 | files = ( 356 | E70A1F6D69105829DDF3C31F644F60E1 /* ArrayExtension.swift in Sources */, 357 | EAA64AA3B1F7FDE8E4B302A20B620C3E /* ExpandableTableViewController-dummy.m in Sources */, 358 | CB619977C8143E25727283FCAE7FFFE2 /* ExpandableTableViewController.swift in Sources */, 359 | 81C591F39A450FB62978113301EBFC9A /* ExpandableTableViewDelegate.swift in Sources */, 360 | ); 361 | runOnlyForDeploymentPostprocessing = 0; 362 | }; 363 | F6625C1068A541E79CA100B922680BBB /* Sources */ = { 364 | isa = PBXSourcesBuildPhase; 365 | buildActionMask = 2147483647; 366 | files = ( 367 | 057BFA578BCA6A01100124B92014709F /* Pods-ExpandableTableViewController_Example-dummy.m in Sources */, 368 | ); 369 | runOnlyForDeploymentPostprocessing = 0; 370 | }; 371 | /* End PBXSourcesBuildPhase section */ 372 | 373 | /* Begin PBXTargetDependency section */ 374 | 5C66B1F75EC317FF252F466A1173878A /* PBXTargetDependency */ = { 375 | isa = PBXTargetDependency; 376 | name = ExpandableTableViewController; 377 | target = 96AFA871D25A87F6FCCFED071D32EBC8 /* ExpandableTableViewController */; 378 | targetProxy = 7DFBAC5C70B339A9BA8B8CAC4F0BD3A1 /* PBXContainerItemProxy */; 379 | }; 380 | /* End PBXTargetDependency section */ 381 | 382 | /* Begin XCBuildConfiguration section */ 383 | 015A368F878AC3E2CEAE21DDE8026304 /* Debug */ = { 384 | isa = XCBuildConfiguration; 385 | buildSettings = { 386 | ALWAYS_SEARCH_USER_PATHS = NO; 387 | CLANG_ANALYZER_NONNULL = YES; 388 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 389 | CLANG_CXX_LIBRARY = "libc++"; 390 | CLANG_ENABLE_MODULES = YES; 391 | CLANG_ENABLE_OBJC_ARC = YES; 392 | CLANG_WARN_BOOL_CONVERSION = YES; 393 | CLANG_WARN_CONSTANT_CONVERSION = YES; 394 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 395 | CLANG_WARN_EMPTY_BODY = YES; 396 | CLANG_WARN_ENUM_CONVERSION = YES; 397 | CLANG_WARN_INT_CONVERSION = YES; 398 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 399 | CLANG_WARN_UNREACHABLE_CODE = YES; 400 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 401 | CODE_SIGNING_REQUIRED = NO; 402 | COPY_PHASE_STRIP = NO; 403 | ENABLE_TESTABILITY = YES; 404 | GCC_C_LANGUAGE_STANDARD = gnu99; 405 | GCC_DYNAMIC_NO_PIC = NO; 406 | GCC_OPTIMIZATION_LEVEL = 0; 407 | GCC_PREPROCESSOR_DEFINITIONS = ( 408 | "POD_CONFIGURATION_DEBUG=1", 409 | "DEBUG=1", 410 | "$(inherited)", 411 | ); 412 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 413 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 414 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 415 | GCC_WARN_UNDECLARED_SELECTOR = YES; 416 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 417 | GCC_WARN_UNUSED_FUNCTION = YES; 418 | GCC_WARN_UNUSED_VARIABLE = YES; 419 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 420 | ONLY_ACTIVE_ARCH = YES; 421 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 422 | STRIP_INSTALLED_PRODUCT = NO; 423 | SYMROOT = "${SRCROOT}/../build"; 424 | }; 425 | name = Debug; 426 | }; 427 | 182D78E49999C05BA58A88B9934749D6 /* Debug */ = { 428 | isa = XCBuildConfiguration; 429 | baseConfigurationReference = EB93600F8FBC8131618C8A13DC0F4AA1 /* ExpandableTableViewController.xcconfig */; 430 | buildSettings = { 431 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 432 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 433 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 434 | CURRENT_PROJECT_VERSION = 1; 435 | DEBUG_INFORMATION_FORMAT = dwarf; 436 | DEFINES_MODULE = YES; 437 | DYLIB_COMPATIBILITY_VERSION = 1; 438 | DYLIB_CURRENT_VERSION = 1; 439 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 440 | ENABLE_STRICT_OBJC_MSGSEND = YES; 441 | GCC_NO_COMMON_BLOCKS = YES; 442 | GCC_PREFIX_HEADER = "Target Support Files/ExpandableTableViewController/ExpandableTableViewController-prefix.pch"; 443 | INFOPLIST_FILE = "Target Support Files/ExpandableTableViewController/Info.plist"; 444 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 445 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 446 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 447 | MODULEMAP_FILE = "Target Support Files/ExpandableTableViewController/ExpandableTableViewController.modulemap"; 448 | MTL_ENABLE_DEBUG_INFO = YES; 449 | PRODUCT_NAME = ExpandableTableViewController; 450 | SDKROOT = iphoneos; 451 | SKIP_INSTALL = YES; 452 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 453 | SWIFT_VERSION = 3.0; 454 | TARGETED_DEVICE_FAMILY = "1,2"; 455 | VERSIONING_SYSTEM = "apple-generic"; 456 | VERSION_INFO_PREFIX = ""; 457 | }; 458 | name = Debug; 459 | }; 460 | 2984BD9D23442F9D6D3A2896A43EF213 /* Release */ = { 461 | isa = XCBuildConfiguration; 462 | baseConfigurationReference = 7DCCC26642164BBE4795D2EB5F95BACF /* Pods-ExpandableTableViewController_Example.release.xcconfig */; 463 | buildSettings = { 464 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 465 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 466 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 467 | CURRENT_PROJECT_VERSION = 1; 468 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 469 | DEFINES_MODULE = YES; 470 | DYLIB_COMPATIBILITY_VERSION = 1; 471 | DYLIB_CURRENT_VERSION = 1; 472 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 473 | ENABLE_STRICT_OBJC_MSGSEND = YES; 474 | GCC_NO_COMMON_BLOCKS = YES; 475 | INFOPLIST_FILE = "Target Support Files/Pods-ExpandableTableViewController_Example/Info.plist"; 476 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 477 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 478 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 479 | MACH_O_TYPE = staticlib; 480 | MODULEMAP_FILE = "Target Support Files/Pods-ExpandableTableViewController_Example/Pods-ExpandableTableViewController_Example.modulemap"; 481 | MTL_ENABLE_DEBUG_INFO = NO; 482 | OTHER_LDFLAGS = ""; 483 | OTHER_LIBTOOLFLAGS = ""; 484 | PODS_ROOT = "$(SRCROOT)"; 485 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 486 | PRODUCT_NAME = Pods_ExpandableTableViewController_Example; 487 | SDKROOT = iphoneos; 488 | SKIP_INSTALL = YES; 489 | TARGETED_DEVICE_FAMILY = "1,2"; 490 | VERSIONING_SYSTEM = "apple-generic"; 491 | VERSION_INFO_PREFIX = ""; 492 | }; 493 | name = Release; 494 | }; 495 | 2DF36205E467FB333DED884246B7E0B2 /* Debug */ = { 496 | isa = XCBuildConfiguration; 497 | baseConfigurationReference = BBEADDA31CA39FF71CFD9B9C7923002B /* Pods-ExpandableTableViewController_Tests.debug.xcconfig */; 498 | buildSettings = { 499 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 500 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 501 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 502 | CURRENT_PROJECT_VERSION = 1; 503 | DEBUG_INFORMATION_FORMAT = dwarf; 504 | DEFINES_MODULE = YES; 505 | DYLIB_COMPATIBILITY_VERSION = 1; 506 | DYLIB_CURRENT_VERSION = 1; 507 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 508 | ENABLE_STRICT_OBJC_MSGSEND = YES; 509 | GCC_NO_COMMON_BLOCKS = YES; 510 | INFOPLIST_FILE = "Target Support Files/Pods-ExpandableTableViewController_Tests/Info.plist"; 511 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 512 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 513 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 514 | MACH_O_TYPE = staticlib; 515 | MODULEMAP_FILE = "Target Support Files/Pods-ExpandableTableViewController_Tests/Pods-ExpandableTableViewController_Tests.modulemap"; 516 | MTL_ENABLE_DEBUG_INFO = YES; 517 | OTHER_LDFLAGS = ""; 518 | OTHER_LIBTOOLFLAGS = ""; 519 | PODS_ROOT = "$(SRCROOT)"; 520 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 521 | PRODUCT_NAME = Pods_ExpandableTableViewController_Tests; 522 | SDKROOT = iphoneos; 523 | SKIP_INSTALL = YES; 524 | TARGETED_DEVICE_FAMILY = "1,2"; 525 | VERSIONING_SYSTEM = "apple-generic"; 526 | VERSION_INFO_PREFIX = ""; 527 | }; 528 | name = Debug; 529 | }; 530 | 44CDBB6D11DE06DB64D6268622BDC47E /* Release */ = { 531 | isa = XCBuildConfiguration; 532 | buildSettings = { 533 | ALWAYS_SEARCH_USER_PATHS = NO; 534 | CLANG_ANALYZER_NONNULL = YES; 535 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 536 | CLANG_CXX_LIBRARY = "libc++"; 537 | CLANG_ENABLE_MODULES = YES; 538 | CLANG_ENABLE_OBJC_ARC = YES; 539 | CLANG_WARN_BOOL_CONVERSION = YES; 540 | CLANG_WARN_CONSTANT_CONVERSION = YES; 541 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 542 | CLANG_WARN_EMPTY_BODY = YES; 543 | CLANG_WARN_ENUM_CONVERSION = YES; 544 | CLANG_WARN_INT_CONVERSION = YES; 545 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 546 | CLANG_WARN_UNREACHABLE_CODE = YES; 547 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 548 | CODE_SIGNING_REQUIRED = NO; 549 | COPY_PHASE_STRIP = YES; 550 | ENABLE_NS_ASSERTIONS = NO; 551 | GCC_C_LANGUAGE_STANDARD = gnu99; 552 | GCC_PREPROCESSOR_DEFINITIONS = ( 553 | "POD_CONFIGURATION_RELEASE=1", 554 | "$(inherited)", 555 | ); 556 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 557 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 558 | GCC_WARN_UNDECLARED_SELECTOR = YES; 559 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 560 | GCC_WARN_UNUSED_FUNCTION = YES; 561 | GCC_WARN_UNUSED_VARIABLE = YES; 562 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 563 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 564 | STRIP_INSTALLED_PRODUCT = NO; 565 | SYMROOT = "${SRCROOT}/../build"; 566 | VALIDATE_PRODUCT = YES; 567 | }; 568 | name = Release; 569 | }; 570 | 6C496893D5ECADB8DD33D027F40E314E /* Release */ = { 571 | isa = XCBuildConfiguration; 572 | baseConfigurationReference = 3DBEADC4907DB69DF8A5A05A42F4D638 /* Pods-ExpandableTableViewController_Tests.release.xcconfig */; 573 | buildSettings = { 574 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 575 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 576 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 577 | CURRENT_PROJECT_VERSION = 1; 578 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 579 | DEFINES_MODULE = YES; 580 | DYLIB_COMPATIBILITY_VERSION = 1; 581 | DYLIB_CURRENT_VERSION = 1; 582 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 583 | ENABLE_STRICT_OBJC_MSGSEND = YES; 584 | GCC_NO_COMMON_BLOCKS = YES; 585 | INFOPLIST_FILE = "Target Support Files/Pods-ExpandableTableViewController_Tests/Info.plist"; 586 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 587 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 588 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 589 | MACH_O_TYPE = staticlib; 590 | MODULEMAP_FILE = "Target Support Files/Pods-ExpandableTableViewController_Tests/Pods-ExpandableTableViewController_Tests.modulemap"; 591 | MTL_ENABLE_DEBUG_INFO = NO; 592 | OTHER_LDFLAGS = ""; 593 | OTHER_LIBTOOLFLAGS = ""; 594 | PODS_ROOT = "$(SRCROOT)"; 595 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 596 | PRODUCT_NAME = Pods_ExpandableTableViewController_Tests; 597 | SDKROOT = iphoneos; 598 | SKIP_INSTALL = YES; 599 | TARGETED_DEVICE_FAMILY = "1,2"; 600 | VERSIONING_SYSTEM = "apple-generic"; 601 | VERSION_INFO_PREFIX = ""; 602 | }; 603 | name = Release; 604 | }; 605 | 999FC8EEB22855A859F0A0B18DB29D31 /* Release */ = { 606 | isa = XCBuildConfiguration; 607 | baseConfigurationReference = EB93600F8FBC8131618C8A13DC0F4AA1 /* ExpandableTableViewController.xcconfig */; 608 | buildSettings = { 609 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 610 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 611 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 612 | CURRENT_PROJECT_VERSION = 1; 613 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 614 | DEFINES_MODULE = YES; 615 | DYLIB_COMPATIBILITY_VERSION = 1; 616 | DYLIB_CURRENT_VERSION = 1; 617 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 618 | ENABLE_STRICT_OBJC_MSGSEND = YES; 619 | GCC_NO_COMMON_BLOCKS = YES; 620 | GCC_PREFIX_HEADER = "Target Support Files/ExpandableTableViewController/ExpandableTableViewController-prefix.pch"; 621 | INFOPLIST_FILE = "Target Support Files/ExpandableTableViewController/Info.plist"; 622 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 623 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 624 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 625 | MODULEMAP_FILE = "Target Support Files/ExpandableTableViewController/ExpandableTableViewController.modulemap"; 626 | MTL_ENABLE_DEBUG_INFO = NO; 627 | PRODUCT_NAME = ExpandableTableViewController; 628 | SDKROOT = iphoneos; 629 | SKIP_INSTALL = YES; 630 | SWIFT_VERSION = 3.0; 631 | TARGETED_DEVICE_FAMILY = "1,2"; 632 | VERSIONING_SYSTEM = "apple-generic"; 633 | VERSION_INFO_PREFIX = ""; 634 | }; 635 | name = Release; 636 | }; 637 | A562123E8A4B4DED9E370701E4C0CAFF /* Debug */ = { 638 | isa = XCBuildConfiguration; 639 | baseConfigurationReference = A9F1860D33685004983D78DAECD7425D /* Pods-ExpandableTableViewController_Example.debug.xcconfig */; 640 | buildSettings = { 641 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 642 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 643 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 644 | CURRENT_PROJECT_VERSION = 1; 645 | DEBUG_INFORMATION_FORMAT = dwarf; 646 | DEFINES_MODULE = YES; 647 | DYLIB_COMPATIBILITY_VERSION = 1; 648 | DYLIB_CURRENT_VERSION = 1; 649 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 650 | ENABLE_STRICT_OBJC_MSGSEND = YES; 651 | GCC_NO_COMMON_BLOCKS = YES; 652 | INFOPLIST_FILE = "Target Support Files/Pods-ExpandableTableViewController_Example/Info.plist"; 653 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 654 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 655 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 656 | MACH_O_TYPE = staticlib; 657 | MODULEMAP_FILE = "Target Support Files/Pods-ExpandableTableViewController_Example/Pods-ExpandableTableViewController_Example.modulemap"; 658 | MTL_ENABLE_DEBUG_INFO = YES; 659 | OTHER_LDFLAGS = ""; 660 | OTHER_LIBTOOLFLAGS = ""; 661 | PODS_ROOT = "$(SRCROOT)"; 662 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 663 | PRODUCT_NAME = Pods_ExpandableTableViewController_Example; 664 | SDKROOT = iphoneos; 665 | SKIP_INSTALL = YES; 666 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 667 | TARGETED_DEVICE_FAMILY = "1,2"; 668 | VERSIONING_SYSTEM = "apple-generic"; 669 | VERSION_INFO_PREFIX = ""; 670 | }; 671 | name = Debug; 672 | }; 673 | /* End XCBuildConfiguration section */ 674 | 675 | /* Begin XCConfigurationList section */ 676 | 00E21423372BB0FB91C82EE1C1C60B08 /* Build configuration list for PBXNativeTarget "ExpandableTableViewController" */ = { 677 | isa = XCConfigurationList; 678 | buildConfigurations = ( 679 | 182D78E49999C05BA58A88B9934749D6 /* Debug */, 680 | 999FC8EEB22855A859F0A0B18DB29D31 /* Release */, 681 | ); 682 | defaultConfigurationIsVisible = 0; 683 | defaultConfigurationName = Release; 684 | }; 685 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 686 | isa = XCConfigurationList; 687 | buildConfigurations = ( 688 | 015A368F878AC3E2CEAE21DDE8026304 /* Debug */, 689 | 44CDBB6D11DE06DB64D6268622BDC47E /* Release */, 690 | ); 691 | defaultConfigurationIsVisible = 0; 692 | defaultConfigurationName = Release; 693 | }; 694 | 8B2DAD524C080B68F2BF01A03F4E872B /* Build configuration list for PBXNativeTarget "Pods-ExpandableTableViewController_Tests" */ = { 695 | isa = XCConfigurationList; 696 | buildConfigurations = ( 697 | 2DF36205E467FB333DED884246B7E0B2 /* Debug */, 698 | 6C496893D5ECADB8DD33D027F40E314E /* Release */, 699 | ); 700 | defaultConfigurationIsVisible = 0; 701 | defaultConfigurationName = Release; 702 | }; 703 | E62B31AD86CED31F72037AD41613A958 /* Build configuration list for PBXNativeTarget "Pods-ExpandableTableViewController_Example" */ = { 704 | isa = XCConfigurationList; 705 | buildConfigurations = ( 706 | A562123E8A4B4DED9E370701E4C0CAFF /* Debug */, 707 | 2984BD9D23442F9D6D3A2896A43EF213 /* Release */, 708 | ); 709 | defaultConfigurationIsVisible = 0; 710 | defaultConfigurationName = Release; 711 | }; 712 | /* End XCConfigurationList section */ 713 | }; 714 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 715 | } 716 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/a14129.xcuserdatad/xcschemes/ExpandableTableViewController.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 34 | 35 | 45 | 46 | 52 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 66 | 67 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/a14129.xcuserdatad/xcschemes/Pods-ExpandableTableViewController_Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 34 | 35 | 45 | 46 | 52 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 66 | 67 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/a14129.xcuserdatad/xcschemes/Pods-ExpandableTableViewController_Tests.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 34 | 35 | 45 | 46 | 52 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 66 | 67 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/xcuserdata/a14129.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | ExpandableTableViewController.xcscheme 8 | 9 | isShown 10 | 11 | 12 | Pods-ExpandableTableViewController_Example.xcscheme 13 | 14 | isShown 15 | 16 | 17 | Pods-ExpandableTableViewController_Tests.xcscheme 18 | 19 | isShown 20 | 21 | 22 | 23 | SuppressBuildableAutocreation 24 | 25 | 96AFA871D25A87F6FCCFED071D32EBC8 26 | 27 | primary 28 | 29 | 30 | C5E03FB5A8422D3640380C43FF6E9B0C 31 | 32 | primary 33 | 34 | 35 | E95A69B3BAB10FDEA0892A6F879E5617 36 | 37 | primary 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ExpandableTableViewController/ExpandableTableViewController-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_ExpandableTableViewController : NSObject 3 | @end 4 | @implementation PodsDummy_ExpandableTableViewController 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ExpandableTableViewController/ExpandableTableViewController-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ExpandableTableViewController/ExpandableTableViewController-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 ExpandableTableViewControllerVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char ExpandableTableViewControllerVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ExpandableTableViewController/ExpandableTableViewController.modulemap: -------------------------------------------------------------------------------- 1 | framework module ExpandableTableViewController { 2 | umbrella header "ExpandableTableViewController-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ExpandableTableViewController/ExpandableTableViewController.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/ExpandableTableViewController 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ExpandableTableViewController/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.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandableTableViewController_Example/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandableTableViewController_Example/Pods-ExpandableTableViewController_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## ExpandableTableViewController 5 | 6 | Copyright (c) 2016 Enric Macias Lopez 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | 26 | Generated by CocoaPods - https://cocoapods.org 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandableTableViewController_Example/Pods-ExpandableTableViewController_Example-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Copyright (c) 2016 Enric Macias Lopez <enric_maciaslopez@cyberagent.co.jp> 18 | 19 | Permission is hereby granted, free of charge, to any person obtaining a copy 20 | of this software and associated documentation files (the "Software"), to deal 21 | in the Software without restriction, including without limitation the rights 22 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 23 | copies of the Software, and to permit persons to whom the Software is 24 | furnished to do so, subject to the following conditions: 25 | 26 | The above copyright notice and this permission notice shall be included in 27 | all copies or substantial portions of the Software. 28 | 29 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 30 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 31 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 32 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 33 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 34 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 35 | THE SOFTWARE. 36 | 37 | License 38 | MIT 39 | Title 40 | ExpandableTableViewController 41 | Type 42 | PSGroupSpecifier 43 | 44 | 45 | FooterText 46 | Generated by CocoaPods - https://cocoapods.org 47 | Title 48 | 49 | Type 50 | PSGroupSpecifier 51 | 52 | 53 | StringsTable 54 | Acknowledgements 55 | Title 56 | Acknowledgements 57 | 58 | 59 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandableTableViewController_Example/Pods-ExpandableTableViewController_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_ExpandableTableViewController_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_ExpandableTableViewController_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandableTableViewController_Example/Pods-ExpandableTableViewController_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 63 | 64 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 65 | code_sign_cmd="$code_sign_cmd &" 66 | fi 67 | echo "$code_sign_cmd" 68 | eval "$code_sign_cmd" 69 | fi 70 | } 71 | 72 | # Strip invalid architectures 73 | strip_invalid_archs() { 74 | binary="$1" 75 | # Get architectures for current file 76 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 77 | stripped="" 78 | for arch in $archs; do 79 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 80 | # Strip non-valid architectures in-place 81 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 82 | stripped="$stripped $arch" 83 | fi 84 | done 85 | if [[ "$stripped" ]]; then 86 | echo "Stripped $binary of architectures:$stripped" 87 | fi 88 | } 89 | 90 | 91 | if [[ "$CONFIGURATION" == "Debug" ]]; then 92 | install_framework "$BUILT_PRODUCTS_DIR/ExpandableTableViewController/ExpandableTableViewController.framework" 93 | fi 94 | if [[ "$CONFIGURATION" == "Release" ]]; then 95 | install_framework "$BUILT_PRODUCTS_DIR/ExpandableTableViewController/ExpandableTableViewController.framework" 96 | fi 97 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 98 | wait 99 | fi 100 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandableTableViewController_Example/Pods-ExpandableTableViewController_Example-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | case "${TARGETED_DEVICE_FAMILY}" in 12 | 1,2) 13 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 14 | ;; 15 | 1) 16 | TARGET_DEVICE_ARGS="--target-device iphone" 17 | ;; 18 | 2) 19 | TARGET_DEVICE_ARGS="--target-device ipad" 20 | ;; 21 | 3) 22 | TARGET_DEVICE_ARGS="--target-device tv" 23 | ;; 24 | *) 25 | TARGET_DEVICE_ARGS="--target-device mac" 26 | ;; 27 | esac 28 | 29 | install_resource() 30 | { 31 | if [[ "$1" = /* ]] ; then 32 | RESOURCE_PATH="$1" 33 | else 34 | RESOURCE_PATH="${PODS_ROOT}/$1" 35 | fi 36 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 37 | cat << EOM 38 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 39 | EOM 40 | exit 1 41 | fi 42 | case $RESOURCE_PATH in 43 | *.storyboard) 44 | 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}" 45 | 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} 46 | ;; 47 | *.xib) 48 | 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}" 49 | 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} 50 | ;; 51 | *.framework) 52 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 53 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 54 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 55 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 56 | ;; 57 | *.xcdatamodel) 58 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 59 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 60 | ;; 61 | *.xcdatamodeld) 62 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 63 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 64 | ;; 65 | *.xcmappingmodel) 66 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 67 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 68 | ;; 69 | *.xcassets) 70 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 71 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 72 | ;; 73 | *) 74 | echo "$RESOURCE_PATH" 75 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 76 | ;; 77 | esac 78 | } 79 | 80 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 81 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 82 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 83 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 84 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 85 | fi 86 | rm -f "$RESOURCES_TO_COPY" 87 | 88 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 89 | then 90 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 91 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 92 | while read line; do 93 | if [[ $line != "${PODS_ROOT}*" ]]; then 94 | XCASSET_FILES+=("$line") 95 | fi 96 | done <<<"$OTHER_XCASSETS" 97 | 98 | 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}" 99 | fi 100 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandableTableViewController_Example/Pods-ExpandableTableViewController_Example-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_ExpandableTableViewController_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_ExpandableTableViewController_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandableTableViewController_Example/Pods-ExpandableTableViewController_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/ExpandableTableViewController" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/ExpandableTableViewController/ExpandableTableViewController.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "ExpandableTableViewController" 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_ROOT = ${SRCROOT}/Pods 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandableTableViewController_Example/Pods-ExpandableTableViewController_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_ExpandableTableViewController_Example { 2 | umbrella header "Pods-ExpandableTableViewController_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandableTableViewController_Example/Pods-ExpandableTableViewController_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/ExpandableTableViewController" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/ExpandableTableViewController/ExpandableTableViewController.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "ExpandableTableViewController" 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_ROOT = ${SRCROOT}/Pods 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandableTableViewController_Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandableTableViewController_Tests/Pods-ExpandableTableViewController_Tests-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | Generated by CocoaPods - https://cocoapods.org 4 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandableTableViewController_Tests/Pods-ExpandableTableViewController_Tests-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 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandableTableViewController_Tests/Pods-ExpandableTableViewController_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_ExpandableTableViewController_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_ExpandableTableViewController_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandableTableViewController_Tests/Pods-ExpandableTableViewController_Tests-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 63 | 64 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 65 | code_sign_cmd="$code_sign_cmd &" 66 | fi 67 | echo "$code_sign_cmd" 68 | eval "$code_sign_cmd" 69 | fi 70 | } 71 | 72 | # Strip invalid architectures 73 | strip_invalid_archs() { 74 | binary="$1" 75 | # Get architectures for current file 76 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 77 | stripped="" 78 | for arch in $archs; do 79 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 80 | # Strip non-valid architectures in-place 81 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 82 | stripped="$stripped $arch" 83 | fi 84 | done 85 | if [[ "$stripped" ]]; then 86 | echo "Stripped $binary of architectures:$stripped" 87 | fi 88 | } 89 | 90 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 91 | wait 92 | fi 93 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandableTableViewController_Tests/Pods-ExpandableTableViewController_Tests-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | case "${TARGETED_DEVICE_FAMILY}" in 12 | 1,2) 13 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 14 | ;; 15 | 1) 16 | TARGET_DEVICE_ARGS="--target-device iphone" 17 | ;; 18 | 2) 19 | TARGET_DEVICE_ARGS="--target-device ipad" 20 | ;; 21 | 3) 22 | TARGET_DEVICE_ARGS="--target-device tv" 23 | ;; 24 | *) 25 | TARGET_DEVICE_ARGS="--target-device mac" 26 | ;; 27 | esac 28 | 29 | install_resource() 30 | { 31 | if [[ "$1" = /* ]] ; then 32 | RESOURCE_PATH="$1" 33 | else 34 | RESOURCE_PATH="${PODS_ROOT}/$1" 35 | fi 36 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 37 | cat << EOM 38 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 39 | EOM 40 | exit 1 41 | fi 42 | case $RESOURCE_PATH in 43 | *.storyboard) 44 | 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}" 45 | 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} 46 | ;; 47 | *.xib) 48 | 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}" 49 | 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} 50 | ;; 51 | *.framework) 52 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 53 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 54 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 55 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 56 | ;; 57 | *.xcdatamodel) 58 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 59 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 60 | ;; 61 | *.xcdatamodeld) 62 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 63 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 64 | ;; 65 | *.xcmappingmodel) 66 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 67 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 68 | ;; 69 | *.xcassets) 70 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 71 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 72 | ;; 73 | *) 74 | echo "$RESOURCE_PATH" 75 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 76 | ;; 77 | esac 78 | } 79 | 80 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 81 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 82 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 83 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 84 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 85 | fi 86 | rm -f "$RESOURCES_TO_COPY" 87 | 88 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 89 | then 90 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 91 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 92 | while read line; do 93 | if [[ $line != "${PODS_ROOT}*" ]]; then 94 | XCASSET_FILES+=("$line") 95 | fi 96 | done <<<"$OTHER_XCASSETS" 97 | 98 | 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}" 99 | fi 100 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandableTableViewController_Tests/Pods-ExpandableTableViewController_Tests-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_ExpandableTableViewController_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_ExpandableTableViewController_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandableTableViewController_Tests/Pods-ExpandableTableViewController_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/ExpandableTableViewController" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/ExpandableTableViewController/ExpandableTableViewController.framework/Headers" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT}/Pods 8 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandableTableViewController_Tests/Pods-ExpandableTableViewController_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_ExpandableTableViewController_Tests { 2 | umbrella header "Pods-ExpandableTableViewController_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ExpandableTableViewController_Tests/Pods-ExpandableTableViewController_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/ExpandableTableViewController" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/ExpandableTableViewController/ExpandableTableViewController.framework/Headers" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT}/Pods 8 | -------------------------------------------------------------------------------- /Example/Tests/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 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /Example/Tests/Tests.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import XCTest 3 | import ExpandableTableViewController 4 | 5 | class Tests: XCTestCase { 6 | 7 | override func setUp() { 8 | super.setUp() 9 | // Put setup code here. This method is called before the invocation of each test method in the class. 10 | } 11 | 12 | override func tearDown() { 13 | // Put teardown code here. This method is called after the invocation of each test method in the class. 14 | super.tearDown() 15 | } 16 | 17 | func testExample() { 18 | // This is an example of a functional test case. 19 | XCTAssert(true, "Pass") 20 | } 21 | 22 | func testPerformanceExample() { 23 | // This is an example of a performance test case. 24 | self.measure() { 25 | // Put the code you want to measure the time of here. 26 | } 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /ExpandableTableViewController.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = 'ExpandableTableViewController' 3 | s.version = '2.1' 4 | s.summary = 'Swift library to easily show, hide and customize table view cells as an expandable list of items.' 5 | 6 | s.description = <<-DESC 7 | Swift library to easily show, hide and customize table view cells as an expandable list of items, long text or pickers. 8 | DESC 9 | 10 | s.homepage = 'https://github.com/enricmacias/ExpandableTableViewController' 11 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 12 | s.license = { :type => 'MIT', :file => 'LICENSE' } 13 | s.author = { 'Enric Macias Lopez' => 'enric_maciaslopez@gmail.com' } 14 | s.source = { :git => 'https://github.com/enricmacias/ExpandableTableViewController.git', :tag => s.version.to_s } 15 | 16 | s.ios.deployment_target = '8.0' 17 | 18 | s.source_files = 'ExpandableTableViewController/Classes/**/*' 19 | end 20 | -------------------------------------------------------------------------------- /ExpandableTableViewController/1.0/ExpandableTableViewController.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = 'ExpandableTableViewController' 3 | s.version = '1.0' 4 | s.summary = 'Swift library to easily show, hide and customize table view cells as an expandable list of items.' 5 | 6 | s.description = <<-DESC 7 | Swift library to easily show, hide and customize table view cells as an expandable list of items, long text or pickers. 8 | DESC 9 | 10 | s.homepage = 'https://github.com/enricmacias/ExpandableTableViewController' 11 | # s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2' 12 | s.license = { :type => 'MIT', :file => 'LICENSE' } 13 | s.author = { 'Enric Macias Lopez' => 'enric_maciaslopez@gmail.com' } 14 | s.source = { :git => 'https://github.com/enricmacias/ExpandableTableViewController.git', :tag => s.version.to_s } 15 | 16 | s.ios.deployment_target = '8.0' 17 | 18 | s.source_files = 'ExpandableTableViewController/Classes/**/*' 19 | end -------------------------------------------------------------------------------- /ExpandableTableViewController/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enricmacias/ExpandableTableViewController/40b45e317082a0768fc402be227f5eb7f05d2c06/ExpandableTableViewController/Assets/.gitkeep -------------------------------------------------------------------------------- /ExpandableTableViewController/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enricmacias/ExpandableTableViewController/40b45e317082a0768fc402be227f5eb7f05d2c06/ExpandableTableViewController/Classes/.gitkeep -------------------------------------------------------------------------------- /ExpandableTableViewController/Classes/ArrayExtension.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ArrayExtension.swift 3 | // 4 | // Created by Enric Macias Lopez on 6/25/15. 5 | // 6 | 7 | extension Array { 8 | 9 | // Safely lookup an index that might be out of bounds, 10 | // returning nil if it does not exist 11 | func get(_ index: Int) -> Element? { 12 | if 0 <= index && index < count { 13 | return self[index] 14 | } else { 15 | return nil 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /ExpandableTableViewController/Classes/ExpandableTableViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ExpandableTableViewController.swift 3 | // 4 | // Created by Enric Macias Lopez on 6/25/15. 5 | // 6 | 7 | import UIKit 8 | 9 | enum ExpandableCellType: Int { 10 | case mainCell, subCell 11 | } 12 | 13 | public struct ExpandableIndexPath{ 14 | public var section = 0 15 | public var row = 0 16 | public var subRow = 0 17 | 18 | init(forSection aSection: Int, forRow aRow: Int, forSubRow aSubRow: Int) { 19 | section = aSection 20 | row = aRow 21 | subRow = aSubRow 22 | } 23 | 24 | func string() ->String{ 25 | return String(section)+String(row)+String(subRow) 26 | } 27 | } 28 | 29 | open class ExpandableTableView: UITableView { 30 | 31 | open weak var parentViewController: ExpandableTableViewController! = nil 32 | open var expandableDelegate: ExpandableTableViewDelegate! 33 | 34 | open func cellForRowAtIndexPath(_ expandableIndexPath: ExpandableIndexPath) -> UITableViewCell?{ 35 | return parentViewController.indexedCells[expandableIndexPath.string()] 36 | } 37 | 38 | open func dequeueReusableCellWithIdentifier(_ identifier: String, forIndexPath expandableIndexPath: ExpandableIndexPath) -> UITableViewCell{ 39 | return self.dequeueReusableCell(withIdentifier: identifier, for: parentViewController.indexPathForExpandableIndexPath(expandableIndexPath)) 40 | } 41 | 42 | open func isCellExpandedAtExpandableIndexPath(_ expandableIndexPath:ExpandableIndexPath) -> Bool{ 43 | let indexPath = parentViewController.indexPathForExpandableIndexPath(expandableIndexPath) 44 | 45 | if parentViewController.cellsTypeArray.get(indexPath.row) == .mainCell{ 46 | let newIndexPath: IndexPath = IndexPath(row: indexPath.row + 1, section: indexPath.section) 47 | 48 | if parentViewController.cellsTypeArray.get(newIndexPath.row) == .subCell{ 49 | return true 50 | } 51 | else{ 52 | return false 53 | } 54 | } 55 | 56 | return false 57 | } 58 | 59 | open func deselectRowAtExpandableIndexPath(_ expandableIndexPath: ExpandableIndexPath, animated: Bool){ 60 | self.deselectRow(at: parentViewController.indexPathForExpandableIndexPath(expandableIndexPath), animated: animated) 61 | } 62 | } 63 | 64 | open class ExpandableTableViewController: UITableViewController { 65 | 66 | // MARK: Properties 67 | fileprivate var cellsTypeArray: [ExpandableCellType] = [] 68 | fileprivate var indexedCells: Dictionary = [:] 69 | 70 | @IBOutlet open var expandableTableView: ExpandableTableView! 71 | 72 | // MARK: - Lifecycle 73 | 74 | override open func viewDidLoad() { 75 | super.viewDidLoad() 76 | 77 | expandableTableView.parentViewController = self 78 | } 79 | 80 | override open func didReceiveMemoryWarning() { 81 | super.didReceiveMemoryWarning() 82 | // Dispose of any resources that can be recreated. 83 | } 84 | 85 | // MARK: - Init 86 | 87 | fileprivate func initExpandableTableViewWithNumberOfRows(_ numOfRows : Int){ 88 | if numOfRows > 0 { 89 | for _ in 0...(numOfRows - 1){ 90 | cellsTypeArray.append(.mainCell) 91 | } 92 | } 93 | } 94 | 95 | // MARK: - Public methods 96 | 97 | open func unexpandAllCells(){ 98 | for (index,cellType) in cellsTypeArray.enumerated(){ 99 | if cellType == .mainCell{ 100 | let indexPath = IndexPath(row: index, section: 0) 101 | let nextIndexPath: IndexPath = IndexPath(row: indexPath.row + 1, section: indexPath.section) 102 | 103 | if cellsTypeArray.get(nextIndexPath.row) == .subCell{ 104 | tableView(tableView, didSelectRowAt: indexPath) 105 | unexpandAllCells() 106 | break 107 | } 108 | } 109 | } 110 | } 111 | 112 | // MARK: - Private methods 113 | 114 | fileprivate func expandableIndexPathForIndexPath(_ indexPath: IndexPath) -> ExpandableIndexPath{ 115 | 116 | return ExpandableIndexPath(forSection: indexPath.section, forRow: rowIndexForRow(indexPath.row), forSubRow: subrowIndexForRow(indexPath.row)) 117 | } 118 | 119 | fileprivate func indexPathForExpandableIndexPath(_ expandableIndexPath: ExpandableIndexPath) -> IndexPath{ 120 | var index = 0 121 | var mainCellIndex = -1 122 | var subCellIndex = -1 123 | 124 | for cellType in cellsTypeArray{ 125 | if cellType == .mainCell{ 126 | mainCellIndex = mainCellIndex + 1 127 | subCellIndex = -1 128 | } 129 | else if cellType == .subCell{ 130 | subCellIndex = subCellIndex + 1 131 | } 132 | 133 | if (mainCellIndex == expandableIndexPath.row) && (subCellIndex == expandableIndexPath.subRow){ 134 | return IndexPath(row: index, section: 0) 135 | } 136 | 137 | index = index + 1 138 | } 139 | 140 | return IndexPath(row: -1, section: -1) 141 | } 142 | 143 | fileprivate func rowIndexForRow(_ row: Int) -> Int{ 144 | var rowIndex : Int = row 145 | 146 | // Finds the mother row 147 | var found : Bool = false 148 | while !found{ 149 | if cellsTypeArray.get(rowIndex) == .mainCell{ 150 | found = true 151 | } 152 | else{ 153 | rowIndex = rowIndex - 1 154 | } 155 | } 156 | 157 | // Creates a correct index for the user's datasource 158 | for index in stride(from: rowIndex, through: 0, by: -1) { 159 | // We substract 1 for each subcell 160 | if cellsTypeArray.get(index) == .subCell{ 161 | rowIndex = rowIndex - 1 162 | } 163 | } 164 | 165 | return rowIndex 166 | } 167 | 168 | fileprivate func subrowIndexForRow(_ row: Int) -> Int{ 169 | var rowIndex : Int = row 170 | 171 | var subrowIndex = -1 172 | while cellsTypeArray.get(rowIndex) == .subCell{ 173 | subrowIndex = subrowIndex + 1 174 | rowIndex = rowIndex - 1 175 | } 176 | 177 | return subrowIndex 178 | } 179 | 180 | fileprivate func numberOfMainCells() -> Int{ 181 | var numberOfMainCells = 0 182 | 183 | for cellType in cellsTypeArray{ 184 | if cellType == .mainCell{ 185 | numberOfMainCells = numberOfMainCells + 1 186 | } 187 | } 188 | 189 | return numberOfMainCells 190 | } 191 | 192 | fileprivate func expandCellAtIndexPath(_ indexPath: IndexPath, tableView:UITableView){ 193 | var newIndexPath: IndexPath = IndexPath(row: indexPath.row + 1, section: indexPath.section) 194 | let expandableIndexPath = expandableIndexPathForIndexPath(indexPath) 195 | var tableViewContentOffset = self.tableView.contentOffset 196 | var indexesArray: [IndexPath] = [] 197 | 198 | let numberOfSubCells = expandableTableView.expandableDelegate.expandableTableView(expandableTableView, numberOfSubRowsInRowAtExpandableIndexPath: expandableIndexPath) 199 | var heightForNewRows: CGFloat = 0.0 200 | 201 | if numberOfSubCells == 0 { 202 | return 203 | } 204 | 205 | for _ in 0...(numberOfSubCells - 1){ 206 | indexesArray.append((newIndexPath as NSIndexPath).copy() as! IndexPath) 207 | self.cellsTypeArray.insert(.subCell, at: newIndexPath.row) 208 | newIndexPath = IndexPath(row: newIndexPath.row + 1, section: indexPath.section) 209 | 210 | heightForNewRows = heightForNewRows + self.tableView(tableView, heightForRowAt: newIndexPath) 211 | } 212 | 213 | tableView.beginUpdates() 214 | tableView.insertRows(at: indexesArray, with: UITableViewRowAnimation.middle) 215 | tableView.endUpdates() 216 | 217 | // Avoids an old-fashioned scrolling to the top when inserting cells and the table view is scrolled. 218 | if tableViewContentOffset.y > 0{ 219 | tableViewContentOffset.y = tableViewContentOffset.y + heightForNewRows 220 | self.tableView.setContentOffset(tableViewContentOffset, animated: true) 221 | } 222 | } 223 | 224 | fileprivate func unexpandCellAtIndexPath(_ indexPath: IndexPath, tableView:UITableView){ 225 | var newIndexPath: IndexPath = IndexPath(row: indexPath.row + 1, section: indexPath.section) 226 | let expandableIndexPath = expandableIndexPathForIndexPath(indexPath) 227 | var tableViewContentOffset = self.tableView.contentOffset 228 | var indexesArray: [IndexPath] = [] 229 | 230 | let numberOfSubCells = expandableTableView.expandableDelegate.expandableTableView(expandableTableView, numberOfSubRowsInRowAtExpandableIndexPath: expandableIndexPath) 231 | var heightForNewRows: CGFloat = 0.0 232 | for _ in 0...(numberOfSubCells - 1){ 233 | indexesArray.append((newIndexPath as NSIndexPath).copy() as! IndexPath) 234 | self.cellsTypeArray.remove(at: indexPath.row + 1) 235 | newIndexPath = IndexPath(row: newIndexPath.row + 1, section: indexPath.section) 236 | 237 | heightForNewRows = heightForNewRows + self.tableView(tableView, heightForRowAt: newIndexPath) 238 | } 239 | 240 | tableView.beginUpdates() 241 | tableView.deleteRows(at: indexesArray, with: UITableViewRowAnimation.middle) 242 | tableView.endUpdates() 243 | 244 | // Avoids an old-fashioned scrolling to the top when deleting cells and the table view is scrolled. 245 | if tableViewContentOffset.y > 0{ 246 | tableViewContentOffset.y = tableViewContentOffset.y - heightForNewRows 247 | self.tableView.setContentOffset(tableViewContentOffset, animated: true) 248 | } 249 | } 250 | 251 | // MARK: - Table view data source 252 | 253 | override open func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { 254 | let numOfRows = expandableTableView.expandableDelegate.expandableTableView(expandableTableView, numberOfRowsInSection: section) 255 | 256 | if numOfRows != numberOfMainCells(){ 257 | cellsTypeArray = [] 258 | self.initExpandableTableViewWithNumberOfRows(numOfRows) 259 | } 260 | 261 | return cellsTypeArray.count 262 | } 263 | 264 | override open func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { 265 | var cell: UITableViewCell = UITableViewCell() 266 | let expandableIndexPath = expandableIndexPathForIndexPath(indexPath) 267 | 268 | if cellsTypeArray.get(indexPath.row) == .mainCell { 269 | cell = expandableTableView.expandableDelegate.expandableTableView(expandableTableView, cellForRowAtExpandableIndexPath: expandableIndexPath) 270 | } 271 | else if cellsTypeArray.get(indexPath.row) == .subCell { 272 | cell = expandableTableView.expandableDelegate.expandableTableView(expandableTableView, subCellForRowAtExpandableIndexPath: expandableIndexPath) 273 | } 274 | 275 | //print(indexPath) 276 | //print(cell) 277 | 278 | indexedCells[expandableIndexPath.string()] = cell 279 | 280 | return cell 281 | } 282 | 283 | override open func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat { 284 | let expandableIndexPath = expandableIndexPathForIndexPath(indexPath) 285 | 286 | if cellsTypeArray.get(indexPath.row) == .mainCell { 287 | return expandableTableView.expandableDelegate.expandableTableView(expandableTableView, heightForRowAtExpandableIndexPath: expandableIndexPath) 288 | } 289 | else if cellsTypeArray.get(indexPath.row) == .subCell { 290 | return expandableTableView.expandableDelegate.expandableTableView(expandableTableView, heightForSubRowAtExpandableIndexPath: expandableIndexPath) 291 | } 292 | 293 | return super.tableView(tableView, heightForRowAt: indexPath) 294 | } 295 | 296 | override open func tableView(_ tableView: UITableView, estimatedHeightForRowAt indexPath: IndexPath) -> CGFloat { 297 | let expandableIndexPath = expandableIndexPathForIndexPath(indexPath) 298 | 299 | if cellsTypeArray.get(indexPath.row) == .mainCell { 300 | return expandableTableView.expandableDelegate.expandableTableView(expandableTableView, estimatedHeightForRowAtExpandableIndexPath: expandableIndexPath) 301 | } 302 | else if cellsTypeArray.get(indexPath.row) == .subCell { 303 | return expandableTableView.expandableDelegate.expandableTableView(expandableTableView, estimatedHeightForSubRowAtExpandableIndexPath: expandableIndexPath) 304 | } 305 | 306 | return super.tableView(tableView, estimatedHeightForRowAt: indexPath) 307 | } 308 | 309 | // MARK: - Table view delegate 310 | 311 | override open func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { 312 | let expandableIndexPath = expandableIndexPathForIndexPath(indexPath) 313 | 314 | if cellsTypeArray.get(indexPath.row) == .mainCell{ 315 | let newIndexPath: IndexPath = IndexPath(row: indexPath.row + 1, section: indexPath.section) 316 | 317 | if cellsTypeArray.get(newIndexPath.row) != .subCell{ 318 | expandCellAtIndexPath(indexPath, tableView: tableView) 319 | } 320 | else{ 321 | unexpandCellAtIndexPath(indexPath, tableView: tableView) 322 | } 323 | 324 | expandableTableView.expandableDelegate.expandableTableView(expandableTableView, didSelectRowAtExpandableIndexPath: expandableIndexPath) 325 | } 326 | else if cellsTypeArray.get(indexPath.row) == .subCell { 327 | expandableTableView.expandableDelegate.expandableTableView(expandableTableView, didSelectSubRowAtExpandableIndexPath: expandableIndexPath) 328 | } 329 | } 330 | } 331 | -------------------------------------------------------------------------------- /ExpandableTableViewController/Classes/ExpandableTableViewDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ExpandableTableViewDatasource.swift 3 | // DemoExpandableTableViewController 4 | // 5 | // Created by Enric Macias Lopez on 8/25/15. 6 | // Copyright (c) 2015 Enric Macias Lopez. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | public protocol ExpandableTableViewDelegate { 12 | 13 | // Rows 14 | func expandableTableView(_ expandableTableView: ExpandableTableView, numberOfRowsInSection section: Int) -> Int 15 | func expandableTableView(_ expandableTableView: ExpandableTableView, cellForRowAtExpandableIndexPath expandableIndexPath: ExpandableIndexPath) -> UITableViewCell 16 | func expandableTableView(_ expandableTableView: ExpandableTableView, heightForRowAtExpandableIndexPath expandableIndexPath: ExpandableIndexPath) -> CGFloat 17 | func expandableTableView(_ expandableTableView: ExpandableTableView, estimatedHeightForRowAtExpandableIndexPath expandableIndexPath: ExpandableIndexPath) -> CGFloat 18 | func expandableTableView(_ expandableTableView: ExpandableTableView, didSelectRowAtExpandableIndexPath expandableIndexPath: ExpandableIndexPath) 19 | 20 | // SubRows 21 | func expandableTableView(_ expandableTableView: ExpandableTableView, numberOfSubRowsInRowAtExpandableIndexPath expandableIndexPath: ExpandableIndexPath) -> Int 22 | func expandableTableView(_ expandableTableView: ExpandableTableView, subCellForRowAtExpandableIndexPath expandableIndexPath: ExpandableIndexPath) -> UITableViewCell 23 | func expandableTableView(_ expandableTableView: ExpandableTableView, heightForSubRowAtExpandableIndexPath expandableIndexPath: ExpandableIndexPath) -> CGFloat 24 | func expandableTableView(_ expandableTableView: ExpandableTableView, estimatedHeightForSubRowAtExpandableIndexPath expandableIndexPath: ExpandableIndexPath) -> CGFloat 25 | func expandableTableView(_ expandableTableView: ExpandableTableView, didSelectSubRowAtExpandableIndexPath expandableIndexPath: ExpandableIndexPath) 26 | } 27 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2016 Enric Macias Lopez 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /Preview/ExpandableTableView.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enricmacias/ExpandableTableViewController/40b45e317082a0768fc402be227f5eb7f05d2c06/Preview/ExpandableTableView.png -------------------------------------------------------------------------------- /Preview/Image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enricmacias/ExpandableTableViewController/40b45e317082a0768fc402be227f5eb7f05d2c06/Preview/Image1.png -------------------------------------------------------------------------------- /Preview/Image2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enricmacias/ExpandableTableViewController/40b45e317082a0768fc402be227f5eb7f05d2c06/Preview/Image2.png -------------------------------------------------------------------------------- /Preview/preview.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/enricmacias/ExpandableTableViewController/40b45e317082a0768fc402be227f5eb7f05d2c06/Preview/preview.gif -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ExpandableTableViewController 2 | 3 | [![Version](https://img.shields.io/cocoapods/v/ExpandableTableViewController.svg?style=flat)](http://cocoapods.org/pods/ExpandableTableViewController) 4 | [![License](https://img.shields.io/cocoapods/l/ExpandableTableViewController.svg?style=flat)](http://cocoapods.org/pods/ExpandableTableViewController) 5 | [![Platform](https://img.shields.io/cocoapods/p/ExpandableTableViewController.svg?style=flat)](http://cocoapods.org/pods/ExpandableTableViewController) 6 | 7 | ## Description 8 | 9 | Swift library to easily show, hide and customize table view cells as an expandable list of items. 10 | 11 | ![alt tag](https://raw.github.com/enricmacias/ExpandableTableViewController/master/Preview/preview.gif) 12 | 13 | ## Requirements 14 | 15 | - iOS 8.0 16 | - UIKit 17 | 18 | ## In detail 19 | 20 | An ExpandableTableView is a normal UITableView, but with subrows under its rows. 21 | If a normal UITableView has sections and rows, an ExpandableTableView has sections, rows and subrows. 22 | 23 | 24 | 25 | ## Usage 26 | 27 | 1.Implement your UITableViewController class with the ExpandableTableViewController class and ExpandableTableViewDelegate protocol. 28 | 29 | ```swift 30 | class DemoTableViewController: ExpandableTableViewController, ExpandableTableViewDelegate { 31 | ... 32 | } 33 | ``` 34 | 35 | 2.In your Storyboard, set the UITableView object with the ExpandableTableView class. 36 | 37 | 38 | 39 | 3.In your Storyboard, connect the IBOutlet expandableTableView with your current UITableView object. 40 | 41 | 42 | 43 | 4.Set the expandableDatasource and expandableDelegate properties to self in your viewDidLoad() 44 | 45 | ```swift 46 | override func viewDidLoad() { 47 | super.viewDidLoad() 48 | 49 | self.expandableTableView.expandableDelegate = self 50 | } 51 | ``` 52 | 53 | 5.Add and implement the ExpandableTableViewDelegate required methods: 54 | 55 | ```swift 56 | // Rows 57 | func expandableTableView(expandableTableView: ExpandableTableView, numberOfRowsInSection section: Int) -> Int 58 | func expandableTableView(expandableTableView: ExpandableTableView, cellForRowAtExpandableIndexPath expandableIndexPath: ExpandableIndexPath) -> UITableViewCell 59 | func expandableTableView(expandableTableView: ExpandableTableView, heightForRowAtExpandableIndexPath expandableIndexPath: ExpandableIndexPath) -> CGFloat 60 | func expandableTableView(expandableTableView: ExpandableTableView, estimatedHeightForRowAtExpandableIndexPath expandableIndexPath: ExpandableIndexPath) -> CGFloat 61 | func expandableTableView(expandableTableView: ExpandableTableView, didSelectRowAtExpandableIndexPath expandableIndexPath: ExpandableIndexPath) 62 | 63 | // Subrows 64 | func expandableTableView(expandableTableView: ExpandableTableView, numberOfSubRowsInRowAtExpandableIndexPath expandableIndexPath: ExpandableIndexPath) -> Int 65 | func expandableTableView(expandableTableView: ExpandableTableView, subCellForRowAtExpandableIndexPath expandableIndexPath: ExpandableIndexPath) -> UITableViewCell 66 | func expandableTableView(expandableTableView: ExpandableTableView, heightForSubRowAtExpandableIndexPath expandableIndexPath: ExpandableIndexPath) -> CGFloat 67 | func expandableTableView(expandableTableView: ExpandableTableView, estimatedHeightForSubRowAtExpandableIndexPath expandableIndexPath: ExpandableIndexPath) -> CGFloat 68 | func expandableTableView(expandableTableView: ExpandableTableView, didSelectSubRowAtExpandableIndexPath expandableIndexPath: ExpandableIndexPath) 69 | ``` 70 | 71 | *Use the "dequeueReusableCellWithIdentifier(identifier:, expandableIndexPath:)" method from the expandableTableView property to deque cells with the given ExpandableIndexPath. 72 | ```swift 73 | func expandableTableView(expandableTableView: ExpandableTableView, cellForRowAtExpandableIndexPath expandableIndexPath: ExpandableIndexPath) -> UITableViewCell 74 | { 75 | let cell = expandableTableView.dequeueReusableCellWithIdentifier("CellIdentifier", forIndexPath: expandableIndexPath) 76 | 77 | return cell 78 | } 79 | ``` 80 | 81 | #### Useful methods 82 | ```swift 83 | //////////// * ExpandableTableView Methods * //////////// 84 | // Returns the cell at the ExpandableIndexPath given. 85 | public func cellForRowAtIndexPath(expandableIndexPath: ExpandableIndexPath) -> UITableViewCell? 86 | 87 | // Deques a cell a the ExpandableIndexPath given. 88 | public func dequeueReusableCellWithIdentifier(identifier: String, forIndexPath expandableIndexPath: ExpandableIndexPath) -> UITableViewCell 89 | 90 | // Shows if the ExpandableIndexPath provided is an expanded cell or not. 91 | public func isCellExpandedAtExpandableIndexPath(expandableIndexPath:ExpandableIndexPath) -> Bool 92 | 93 | // Deselects the cell at the ExpandableIndexPath given. 94 | public func deselectRowAtExpandableIndexPath(expandableIndexPath: ExpandableIndexPath, animated: Bool) 95 | 96 | //////////// * ExpandableTableViewController Methods * //////////// 97 | // Unexpands all the expanded cells at once. 98 | public func unexpandAllCells() 99 | ``` 100 | 101 | ## Installation 102 | 103 | #### Cocoapods 104 | 105 | ```ruby 106 | pod "ExpandableTableViewController" 107 | ``` 108 | 109 | #### Manually 110 | 111 | Import the following files into your project: 112 | 113 | ExpandableTableViewController/ExpandableTableViewController/Classes folder: 114 | ```ruby 115 | ExpandableTableViewController.swift 116 | ExpandableTableViewDelegate.swift 117 | ArrayExtension.swift 118 | ``` 119 | 120 | ## Author 121 | 122 | enric.macias.lopez, enric.macias.lopez@gmail.com 123 | 124 | ## License 125 | 126 | ExpandableTableViewController is available under the MIT license. See the LICENSE file for more info. 127 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj --------------------------------------------------------------------------------