├── demo.gif
├── demo2.gif
├── ExpandableTableView
├── ExpandableTableView
│ ├── down.png
│ ├── up.png
│ ├── SubTableCellTableViewCell.swift
│ ├── ExpandableCellTableViewCell.swift
│ ├── ViewController.swift
│ ├── Assets.xcassets
│ │ └── AppIcon.appiconset
│ │ │ └── Contents.json
│ ├── Base.lproj
│ │ ├── Main.storyboard
│ │ └── LaunchScreen.storyboard
│ ├── Info.plist
│ ├── AppDelegate.swift
│ ├── ExpandableTableViewViewController.xib
│ ├── ExpandableCellTableViewCell.xib
│ ├── SubTableCellTableViewCell.xib
│ └── ExpandableTableViewViewController.swift
├── ExpandableTableView.xcodeproj
│ ├── xcuserdata
│ │ └── Soubhi.xcuserdatad
│ │ │ ├── xcdebugger
│ │ │ └── Breakpoints_v2.xcbkptlist
│ │ │ └── xcschemes
│ │ │ ├── xcschememanagement.plist
│ │ │ └── ExpandableTableView.xcscheme
│ ├── project.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcuserdata
│ │ │ └── Soubhi.xcuserdatad
│ │ │ └── UserInterfaceState.xcuserstate
│ └── project.pbxproj
├── ExpandableTableViewTests
│ ├── Info.plist
│ └── ExpandableTableViewTests.swift
└── ExpandableTableViewUITests
│ ├── Info.plist
│ └── ExpandableTableViewUITests.swift
├── LICENSE
├── .gitignore
└── README.md
/demo.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SubhiH/ExpandableTableView/HEAD/demo.gif
--------------------------------------------------------------------------------
/demo2.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SubhiH/ExpandableTableView/HEAD/demo2.gif
--------------------------------------------------------------------------------
/ExpandableTableView/ExpandableTableView/down.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SubhiH/ExpandableTableView/HEAD/ExpandableTableView/ExpandableTableView/down.png
--------------------------------------------------------------------------------
/ExpandableTableView/ExpandableTableView/up.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SubhiH/ExpandableTableView/HEAD/ExpandableTableView/ExpandableTableView/up.png
--------------------------------------------------------------------------------
/ExpandableTableView/ExpandableTableView.xcodeproj/xcuserdata/Soubhi.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
--------------------------------------------------------------------------------
/ExpandableTableView/ExpandableTableView.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ExpandableTableView/ExpandableTableView.xcodeproj/project.xcworkspace/xcuserdata/Soubhi.xcuserdatad/UserInterfaceState.xcuserstate:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SubhiH/ExpandableTableView/HEAD/ExpandableTableView/ExpandableTableView.xcodeproj/project.xcworkspace/xcuserdata/Soubhi.xcuserdatad/UserInterfaceState.xcuserstate
--------------------------------------------------------------------------------
/ExpandableTableView/ExpandableTableView/SubTableCellTableViewCell.swift:
--------------------------------------------------------------------------------
1 | //
2 | // SubTableCellTableViewCell.swift
3 | // ExpandableTableView
4 | //
5 | // Created by Soubhi Hadri on 26/07/16.
6 | // Copyright © 2016 Soubhi Hadri. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class SubTableCellTableViewCell: UITableViewCell {
12 |
13 | override func awakeFromNib() {
14 | super.awakeFromNib()
15 | // Initialization code
16 | }
17 |
18 | override func setSelected(selected: Bool, animated: Bool) {
19 | super.setSelected(selected, animated: animated)
20 |
21 | // Configure the view for the selected state
22 | }
23 |
24 | }
25 |
--------------------------------------------------------------------------------
/ExpandableTableView/ExpandableTableView/ExpandableCellTableViewCell.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ExpandableCellTableViewCell.swift
3 | // ExpandableTableView
4 | //
5 | // Created by Soubhi Hadri on 26/07/16.
6 | // Copyright © 2016 Soubhi Hadri. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class ExpandableCellTableViewCell: UITableViewCell {
12 |
13 | @IBOutlet weak var directionImageView: UIImageView!
14 | override func awakeFromNib() {
15 | super.awakeFromNib()
16 | // Initialization code
17 | }
18 |
19 | override func setSelected(selected: Bool, animated: Bool) {
20 | super.setSelected(selected, animated: animated)
21 |
22 | // Configure the view for the selected state
23 | }
24 |
25 | }
26 |
--------------------------------------------------------------------------------
/ExpandableTableView/ExpandableTableViewTests/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 |
--------------------------------------------------------------------------------
/ExpandableTableView/ExpandableTableViewUITests/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 |
--------------------------------------------------------------------------------
/ExpandableTableView/ExpandableTableView.xcodeproj/xcuserdata/Soubhi.xcuserdatad/xcschemes/xcschememanagement.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SchemeUserState
6 |
7 | ExpandableTableView.xcscheme
8 |
9 | orderHint
10 | 0
11 |
12 |
13 | SuppressBuildableAutocreation
14 |
15 | 6390C4FE1D47BCE30044D91B
16 |
17 | primary
18 |
19 |
20 | 6390C5121D47BCE30044D91B
21 |
22 | primary
23 |
24 |
25 | 6390C51D1D47BCE30044D91B
26 |
27 | primary
28 |
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/ExpandableTableView/ExpandableTableView/ViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.swift
3 | // ExpandableTableView
4 | //
5 | // Created by Soubhi Hadri on 26/07/16.
6 | // Copyright © 2016 Soubhi Hadri. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class ViewController: UIViewController {
12 |
13 | override func viewDidLoad() {
14 | super.viewDidLoad()
15 |
16 | var timer = NSTimer.scheduledTimerWithTimeInterval(0.4, target: self, selector: "goToExpandableTableView", userInfo: nil, repeats: false)
17 |
18 |
19 | }
20 |
21 | func goToExpandableTableView() {
22 | let expandableTable:ExpandableTableViewViewController=ExpandableTableViewViewController();
23 |
24 | self.presentViewController(expandableTable, animated: true, completion: nil);
25 | }
26 |
27 | override func didReceiveMemoryWarning() {
28 | super.didReceiveMemoryWarning()
29 | // Dispose of any resources that can be recreated.
30 | }
31 |
32 |
33 | }
34 |
35 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 Soubhi Hadri
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/ExpandableTableView/ExpandableTableViewTests/ExpandableTableViewTests.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ExpandableTableViewTests.swift
3 | // ExpandableTableViewTests
4 | //
5 | // Created by Soubhi Hadri on 26/07/16.
6 | // Copyright © 2016 Soubhi Hadri. All rights reserved.
7 | //
8 |
9 | import XCTest
10 | @testable import ExpandableTableView
11 |
12 | class ExpandableTableViewTests: XCTestCase {
13 |
14 | override func setUp() {
15 | super.setUp()
16 | // Put setup code here. This method is called before the invocation of each test method in the class.
17 | }
18 |
19 | override func tearDown() {
20 | // Put teardown code here. This method is called after the invocation of each test method in the class.
21 | super.tearDown()
22 | }
23 |
24 | func testExample() {
25 | // This is an example of a functional test case.
26 | // Use XCTAssert and related functions to verify your tests produce the correct results.
27 | }
28 |
29 | func testPerformanceExample() {
30 | // This is an example of a performance test case.
31 | self.measureBlock {
32 | // Put the code you want to measure the time of here.
33 | }
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/ExpandableTableView/ExpandableTableView/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "29x29",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "ipad",
35 | "size" : "29x29",
36 | "scale" : "1x"
37 | },
38 | {
39 | "idiom" : "ipad",
40 | "size" : "29x29",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "40x40",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "40x40",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "76x76",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "76x76",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/ExpandableTableView/ExpandableTableViewUITests/ExpandableTableViewUITests.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ExpandableTableViewUITests.swift
3 | // ExpandableTableViewUITests
4 | //
5 | // Created by Soubhi Hadri on 26/07/16.
6 | // Copyright © 2016 Soubhi Hadri. All rights reserved.
7 | //
8 |
9 | import XCTest
10 |
11 | class ExpandableTableViewUITests: XCTestCase {
12 |
13 | override func setUp() {
14 | super.setUp()
15 |
16 | // Put setup code here. This method is called before the invocation of each test method in the class.
17 |
18 | // In UI tests it is usually best to stop immediately when a failure occurs.
19 | continueAfterFailure = false
20 | // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method.
21 | XCUIApplication().launch()
22 |
23 | // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this.
24 | }
25 |
26 | override func tearDown() {
27 | // Put teardown code here. This method is called after the invocation of each test method in the class.
28 | super.tearDown()
29 | }
30 |
31 | func testExample() {
32 | // Use recording to get started writing UI tests.
33 | // Use XCTAssert and related functions to verify your tests produce the correct results.
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Xcode
2 | #
3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
4 |
5 | ## Build generated
6 | build/
7 | DerivedData/
8 |
9 | ## Various settings
10 | *.pbxuser
11 | !default.pbxuser
12 | *.mode1v3
13 | !default.mode1v3
14 | *.mode2v3
15 | !default.mode2v3
16 | *.perspectivev3
17 | !default.perspectivev3
18 | xcuserdata/
19 |
20 | ## Other
21 | *.moved-aside
22 | *.xcuserstate
23 |
24 | ## Obj-C/Swift specific
25 | *.hmap
26 | *.ipa
27 | *.dSYM.zip
28 | *.dSYM
29 |
30 | ## Playgrounds
31 | timeline.xctimeline
32 | playground.xcworkspace
33 |
34 | # Swift Package Manager
35 | #
36 | # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
37 | # Packages/
38 | .build/
39 |
40 | # CocoaPods
41 | #
42 | # We recommend against adding the Pods directory to your .gitignore. However
43 | # you should judge for yourself, the pros and cons are mentioned at:
44 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
45 | #
46 | # Pods/
47 |
48 | # Carthage
49 | #
50 | # Add this line if you want to avoid checking in source code from Carthage dependencies.
51 | # Carthage/Checkouts
52 |
53 | Carthage/Build
54 |
55 | # fastlane
56 | #
57 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
58 | # screenshots whenever they are needed.
59 | # For more information about the recommended setup visit:
60 | # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md
61 |
62 | fastlane/report.xml
63 | fastlane/Preview.html
64 | fastlane/screenshots
65 | fastlane/test_output
66 |
--------------------------------------------------------------------------------
/ExpandableTableView/ExpandableTableView/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 |
--------------------------------------------------------------------------------
/ExpandableTableView/ExpandableTableView/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/ExpandableTableView/ExpandableTableView/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.swift
3 | // ExpandableTableView
4 | //
5 | // Created by Soubhi Hadri on 26/07/16.
6 | // Copyright © 2016 Soubhi Hadri. 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: [NSObject: AnyObject]?) -> 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 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # ExpandableTableView
2 | []() []()
3 |
4 | Expandable TableView in swift (similar to expandable ListView in Android)
5 |
6 |
7 |
8 |
9 | ### How to use:
10 | All you need are exist in ExpandableExample folder.
11 |
12 | 1-To change the **height** for **Main** cells, change the value for:
13 | ```swift
14 | let unselectedCellHeight: CGFloat = 110.0
15 | ```
16 |
17 | 2-To change the **height** for cells in inner TableView, change the value for:
18 | ```swift
19 | let selectedCellHeightForSubTable: CGFloat = 40.0
20 | ```
21 | 3- Use InitializeDataArray function to insert your own data and return it as tuples type:
22 | ```swift
23 | var data:([String],[[String]],[[String]],[[String]])=([String](),[[String]](),[[String]](),[[String]()]);
24 | ```
25 | You can make changes easily to the structure.
26 | for example: if you want to add another column to inner tables, just change the type of data to:
27 |
28 | ```swift
29 | var data:([String],[[String]],[[String]],[[String]],[[String]])=([String](),[[String]](),[[String]](),[[String]()],[[String]]);
30 | ```
31 |
32 | and in cellForRowAtIndexPath function set the value to the 4th label (you should give it tag=4 from IB)
33 | ```swift
34 | (cell.viewWithTag(4) as! UILabel).text = self.data.4[index][indexPath.row-1]
35 | ```
36 |
37 | Kai Engelhardt's answer helped me: http://stackoverflow.com/a/24921181/2670420
38 |
39 |
40 | ### License
41 | The MIT License (MIT)
42 |
43 | Copyright (c) 2016 Soubhi Hadri
44 |
45 | Permission is hereby granted, free of charge, to any person obtaining a copy
46 | of this software and associated documentation files (the "Software"), to deal
47 | in the Software without restriction, including without limitation the rights
48 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
49 | copies of the Software, and to permit persons to whom the Software is
50 | furnished to do so, subject to the following conditions:
51 |
52 | The above copyright notice and this permission notice shall be included in all
53 | copies or substantial portions of the Software.
54 |
55 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
56 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
57 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
58 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
59 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
60 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
61 | SOFTWARE.
62 |
--------------------------------------------------------------------------------
/ExpandableTableView/ExpandableTableView/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/ExpandableTableView/ExpandableTableView/ExpandableTableViewViewController.xib:
--------------------------------------------------------------------------------
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 |
44 |
45 |
--------------------------------------------------------------------------------
/ExpandableTableView/ExpandableTableView.xcodeproj/xcuserdata/Soubhi.xcuserdatad/xcschemes/ExpandableTableView.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
33 |
39 |
40 |
41 |
43 |
49 |
50 |
51 |
52 |
53 |
59 |
60 |
61 |
62 |
63 |
64 |
74 |
76 |
82 |
83 |
84 |
85 |
86 |
87 |
93 |
95 |
101 |
102 |
103 |
104 |
106 |
107 |
110 |
111 |
112 |
--------------------------------------------------------------------------------
/ExpandableTableView/ExpandableTableView/ExpandableCellTableViewCell.xib:
--------------------------------------------------------------------------------
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 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
--------------------------------------------------------------------------------
/ExpandableTableView/ExpandableTableView/SubTableCellTableViewCell.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
25 |
31 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
--------------------------------------------------------------------------------
/ExpandableTableView/ExpandableTableView/ExpandableTableViewViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ExpandableTableViewViewController.swift
3 | // ExpandableTableView
4 | //
5 | // Created by Soubhi Hadri on 26/07/16.
6 | // Copyright © 2016 Soubhi Hadri. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class ExpandableTableViewViewController: UIViewController,UITableViewDataSource,UITableViewDelegate {
12 | @IBOutlet weak var tableView: UITableView!
13 |
14 | var selectedCellIndexPath: NSIndexPath?
15 |
16 | ////Heigh for cell in subTableView
17 | let selectedCellHeightForSubTable: CGFloat = 40.0
18 |
19 | ///Heigh for cell in Main Table in (unselected)
20 | let unselectedCellHeight: CGFloat = 110.0
21 |
22 |
23 | ////Array to save references for SubTables
24 | var subTables:[UITableView] = [UITableView]();
25 |
26 |
27 | ///fake data /// tuples type
28 | var data:([String],[[String]],[[String]],[[String]])=([String](),[[String]](),[[String]](),[[String]()]);
29 |
30 |
31 | override func viewDidLoad() {
32 | super.viewDidLoad()
33 |
34 |
35 | ///Register Nib file for Main Cells
36 | tableView.registerNib(UINib(nibName: "ExpandableCellTableViewCell",bundle: nil), forCellReuseIdentifier: "cell");
37 |
38 |
39 | ////Initialize array with fake data
40 | self.data = self.InitializeDataArray()
41 |
42 | self.tableView.reloadData();
43 | }
44 |
45 | func numberOfSectionsInTableView(tableView: UITableView) -> Int {
46 | return 1;
47 | }
48 |
49 |
50 | func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
51 | ///Main table
52 | if tableView == self.tableView{
53 | return data.0.count;
54 | }else{
55 | if let index = self.subTables.indexOf(tableView) {
56 | return data.1[index].count+1;///+1 for Header cell in subtableView
57 | }
58 | return 0;
59 | }
60 |
61 | }
62 |
63 | func tableView(tableView: UITableView, heightForRowAtIndexPath indexPath: NSIndexPath) -> CGFloat {
64 | if tableView == self.tableView {
65 | if selectedCellIndexPath == indexPath {
66 |
67 | ////unselected Heigh + heigh for every cell in subtable
68 | return unselectedCellHeight+selectedCellHeightForSubTable*CGFloat(self.data.1[indexPath.row].count+1)
69 | }
70 | return unselectedCellHeight
71 | }else{
72 | return selectedCellHeightForSubTable
73 | }
74 | }
75 |
76 | func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
77 | if tableView == self.tableView {
78 | if selectedCellIndexPath != nil && selectedCellIndexPath == indexPath {
79 |
80 | let cell = self.tableView.cellForRowAtIndexPath(indexPath) as! ExpandableCellTableViewCell;
81 |
82 | cell.directionImageView.image = UIImage(named: "down");
83 |
84 | tableView.cellForRowAtIndexPath(indexPath)?.viewWithTag(3)!.hidden = true;
85 | selectedCellIndexPath = nil
86 |
87 |
88 | } else {
89 | selectedCellIndexPath = indexPath
90 |
91 | let cell = self.tableView.cellForRowAtIndexPath(indexPath) as! ExpandableCellTableViewCell;
92 | cell.directionImageView.image = UIImage(named: "up");
93 |
94 | tableView.cellForRowAtIndexPath(indexPath)?.viewWithTag(3)!.hidden = false;
95 | }
96 |
97 |
98 |
99 | tableView.beginUpdates()
100 | tableView.endUpdates()
101 |
102 | if selectedCellIndexPath != nil {
103 | // This ensures, that the cell is fully visible once expanded
104 | tableView.scrollToRowAtIndexPath(indexPath, atScrollPosition: .None, animated: true)
105 |
106 | }
107 | }
108 |
109 | }
110 |
111 |
112 | func tableView(tableView: UITableView, didDeselectRowAtIndexPath indexPath: NSIndexPath) {
113 | if self.tableView.isEqual(tableView){
114 | let cell = self.tableView.cellForRowAtIndexPath(indexPath) as! ExpandableCellTableViewCell;
115 | cell.directionImageView.image = UIImage(named: "down");
116 | cell.viewWithTag(3)!.hidden = true;
117 | }
118 |
119 | }
120 |
121 | func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
122 | var cell:UITableViewCell=UITableViewCell();
123 | if tableView == self.tableView{
124 | cell = tableView.dequeueReusableCellWithIdentifier("cell", forIndexPath: indexPath)
125 | as! ExpandableCellTableViewCell;
126 |
127 | (cell.viewWithTag(1) as! UILabel).text = self.data.0[indexPath.row]
128 |
129 | let subtable = cell.viewWithTag(3) as! UITableView;
130 | subtable.delegate = self;
131 | subtable.dataSource = self;
132 |
133 | subtable.registerNib(UINib(nibName: "SubTableCellTableViewCell",bundle: nil), forCellReuseIdentifier: "sub_cell");
134 |
135 |
136 | self.subTables.append(subtable);
137 |
138 | subtable.reloadData();
139 |
140 | }else{
141 | cell = tableView.dequeueReusableCellWithIdentifier("sub_cell", forIndexPath: indexPath)
142 |
143 | print(indexPath.row)
144 | print(indexPath.section)
145 |
146 | if indexPath.row>0{
147 | if let index = self.subTables.indexOf(tableView) {
148 | (cell.viewWithTag(1) as! UILabel).text = self.data.1[index][indexPath.row-1]
149 | (cell.viewWithTag(2) as! UILabel).text = self.data.2[index][indexPath.row-1]
150 | (cell.viewWithTag(3) as! UILabel).text = self.data.3[index][indexPath.row-1]
151 | }
152 | }
153 |
154 |
155 |
156 | }
157 |
158 | cell.selectionStyle = .None
159 | return cell;
160 | }
161 |
162 |
163 | public func InitializeDataArray()->([String],[[String]],[[String]],[[String]]){
164 |
165 | var mainCells = [String]();
166 | var col1_SubCells = [[String]]();
167 | var col2_SubCells = [[String]]();
168 | var col3_SubCells = [[String]]();
169 |
170 |
171 | ////Expandable Cells Data
172 | mainCells.append("Cell 1");
173 | mainCells.append("Cell 2");
174 | mainCells.append("Cell 3");
175 | mainCells.append("Cell 4");
176 | // mainCells.append("Cell 5");
177 |
178 | ////First Main cell data
179 |
180 | ///First Col////////
181 | var tempArr:[String] = [String]();
182 | tempArr.append("m1_col1_row1")
183 | tempArr.append("m1_col1_row2")
184 | tempArr.append("m1_col1_row3")
185 | tempArr.append("m1_col1_row4")
186 |
187 | col1_SubCells.append(tempArr);
188 |
189 | ///2nd Col
190 | tempArr = [String]();
191 | tempArr.append("m1_col2_row1")
192 | tempArr.append("m1_col2_row2")
193 | tempArr.append("m1_col2_row3")
194 | tempArr.append("m1_col2_row4")
195 |
196 | col2_SubCells.append(tempArr);
197 |
198 | ///3rd Col
199 | tempArr = [String]();
200 | tempArr.append("m1_col3_row1")
201 | tempArr.append("m1_col3_row2")
202 | tempArr.append("m1_col3_row3")
203 | tempArr.append("m1_col3_row4")
204 |
205 | col3_SubCells.append(tempArr);
206 |
207 |
208 | ////2nd Main cell data////////
209 |
210 | ///First Col
211 | tempArr = [String]();
212 | tempArr.append("m2_col1_row1")
213 | tempArr.append("m2_col1_row2")
214 | tempArr.append("m2_col1_row3")
215 | tempArr.append("m2_col1_row4")
216 |
217 | col1_SubCells.append(tempArr);
218 |
219 | ///2nd Col
220 | tempArr = [String]();
221 | tempArr.append("m2_col2_row1")
222 | tempArr.append("m2_col2_row2")
223 | tempArr.append("m2_col2_row3")
224 | tempArr.append("m2_col2_row4")
225 |
226 | col2_SubCells.append(tempArr);
227 |
228 | ///3rd Col
229 | tempArr = [String]();
230 | tempArr.append("m2_col3_row1")
231 | tempArr.append("m2_col3_row2")
232 | tempArr.append("m2_col3_row3")
233 | tempArr.append("m2_col3_row4")
234 |
235 | col3_SubCells.append(tempArr);
236 |
237 |
238 |
239 | ////3rd Main cell data////////
240 |
241 | ///First Col
242 | tempArr = [String]();
243 | tempArr.append("m3_col1_row1")
244 | tempArr.append("m3_col1_row2")
245 | tempArr.append("m3_col1_row3")
246 |
247 | col1_SubCells.append(tempArr);
248 |
249 | ///2nd Col
250 | tempArr = [String]();
251 | tempArr.append("m3_col2_row1")
252 | tempArr.append("m3_col2_row2")
253 | tempArr.append("m3_col2_row3")
254 |
255 | col2_SubCells.append(tempArr);
256 |
257 | ///3rd Col
258 | tempArr = [String]();
259 | tempArr.append("m3_col3_row1")
260 | tempArr.append("m3_col3_row2")
261 | tempArr.append("m3_col3_row3")
262 |
263 | col3_SubCells.append(tempArr);
264 |
265 |
266 | ////4th Main cell data////////
267 |
268 | ///First Col
269 | tempArr = [String]();
270 | tempArr.append("m4_col1_row1")
271 | tempArr.append("m4_col1_row2")
272 | tempArr.append("m4_col1_row3")
273 |
274 | col1_SubCells.append(tempArr);
275 |
276 | ///2nd Col
277 | tempArr = [String]();
278 | tempArr.append("m4_col2_row1")
279 | tempArr.append("m4_col2_row2")
280 | tempArr.append("m4_col2_row3")
281 |
282 | col2_SubCells.append(tempArr);
283 |
284 | ///3rd Col
285 | tempArr = [String]();
286 | tempArr.append("m4_col3_row1")
287 | tempArr.append("m4_col3_row2")
288 | tempArr.append("m4_col3_row3")
289 |
290 | col3_SubCells.append(tempArr);
291 |
292 |
293 |
294 | return (mainCells,col1_SubCells,col2_SubCells,col3_SubCells);
295 | }
296 |
297 |
298 | }
299 |
--------------------------------------------------------------------------------
/ExpandableTableView/ExpandableTableView.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 6390C5031D47BCE30044D91B /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6390C5021D47BCE30044D91B /* AppDelegate.swift */; };
11 | 6390C5051D47BCE30044D91B /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6390C5041D47BCE30044D91B /* ViewController.swift */; };
12 | 6390C5081D47BCE30044D91B /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6390C5061D47BCE30044D91B /* Main.storyboard */; };
13 | 6390C50A1D47BCE30044D91B /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6390C5091D47BCE30044D91B /* Assets.xcassets */; };
14 | 6390C50D1D47BCE30044D91B /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6390C50B1D47BCE30044D91B /* LaunchScreen.storyboard */; };
15 | 6390C5181D47BCE30044D91B /* ExpandableTableViewTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6390C5171D47BCE30044D91B /* ExpandableTableViewTests.swift */; };
16 | 6390C5231D47BCE30044D91B /* ExpandableTableViewUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6390C5221D47BCE30044D91B /* ExpandableTableViewUITests.swift */; };
17 | 6390C5331D47BD7D0044D91B /* ExpandableTableViewViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6390C5311D47BD7D0044D91B /* ExpandableTableViewViewController.swift */; };
18 | 6390C5341D47BD7D0044D91B /* ExpandableTableViewViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6390C5311D47BD7D0044D91B /* ExpandableTableViewViewController.swift */; };
19 | 6390C5351D47BD7D0044D91B /* ExpandableTableViewViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 6390C5321D47BD7D0044D91B /* ExpandableTableViewViewController.xib */; };
20 | 6390C5361D47BD7D0044D91B /* ExpandableTableViewViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 6390C5321D47BD7D0044D91B /* ExpandableTableViewViewController.xib */; };
21 | 6390C5391D47BE270044D91B /* ExpandableCellTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6390C5371D47BE270044D91B /* ExpandableCellTableViewCell.swift */; };
22 | 6390C53A1D47BE270044D91B /* ExpandableCellTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6390C5371D47BE270044D91B /* ExpandableCellTableViewCell.swift */; };
23 | 6390C53B1D47BE270044D91B /* ExpandableCellTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 6390C5381D47BE270044D91B /* ExpandableCellTableViewCell.xib */; };
24 | 6390C53C1D47BE270044D91B /* ExpandableCellTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 6390C5381D47BE270044D91B /* ExpandableCellTableViewCell.xib */; };
25 | 6390C53F1D47BE5E0044D91B /* down.png in Resources */ = {isa = PBXBuildFile; fileRef = 6390C53D1D47BE5E0044D91B /* down.png */; };
26 | 6390C5401D47BE5E0044D91B /* down.png in Resources */ = {isa = PBXBuildFile; fileRef = 6390C53D1D47BE5E0044D91B /* down.png */; };
27 | 6390C5411D47BE5E0044D91B /* up.png in Resources */ = {isa = PBXBuildFile; fileRef = 6390C53E1D47BE5E0044D91B /* up.png */; };
28 | 6390C5421D47BE5E0044D91B /* up.png in Resources */ = {isa = PBXBuildFile; fileRef = 6390C53E1D47BE5E0044D91B /* up.png */; };
29 | 6390C5451D47BEA50044D91B /* SubTableCellTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6390C5431D47BEA50044D91B /* SubTableCellTableViewCell.swift */; };
30 | 6390C5461D47BEA50044D91B /* SubTableCellTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6390C5431D47BEA50044D91B /* SubTableCellTableViewCell.swift */; };
31 | 6390C5471D47BEA50044D91B /* SubTableCellTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 6390C5441D47BEA50044D91B /* SubTableCellTableViewCell.xib */; };
32 | 6390C5481D47BEA50044D91B /* SubTableCellTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 6390C5441D47BEA50044D91B /* SubTableCellTableViewCell.xib */; };
33 | /* End PBXBuildFile section */
34 |
35 | /* Begin PBXContainerItemProxy section */
36 | 6390C5141D47BCE30044D91B /* PBXContainerItemProxy */ = {
37 | isa = PBXContainerItemProxy;
38 | containerPortal = 6390C4F71D47BCE30044D91B /* Project object */;
39 | proxyType = 1;
40 | remoteGlobalIDString = 6390C4FE1D47BCE30044D91B;
41 | remoteInfo = ExpandableTableView;
42 | };
43 | 6390C51F1D47BCE30044D91B /* PBXContainerItemProxy */ = {
44 | isa = PBXContainerItemProxy;
45 | containerPortal = 6390C4F71D47BCE30044D91B /* Project object */;
46 | proxyType = 1;
47 | remoteGlobalIDString = 6390C4FE1D47BCE30044D91B;
48 | remoteInfo = ExpandableTableView;
49 | };
50 | /* End PBXContainerItemProxy section */
51 |
52 | /* Begin PBXFileReference section */
53 | 6390C4FF1D47BCE30044D91B /* ExpandableTableView.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ExpandableTableView.app; sourceTree = BUILT_PRODUCTS_DIR; };
54 | 6390C5021D47BCE30044D91B /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
55 | 6390C5041D47BCE30044D91B /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; };
56 | 6390C5071D47BCE30044D91B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
57 | 6390C5091D47BCE30044D91B /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
58 | 6390C50C1D47BCE30044D91B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
59 | 6390C50E1D47BCE30044D91B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
60 | 6390C5131D47BCE30044D91B /* ExpandableTableViewTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ExpandableTableViewTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
61 | 6390C5171D47BCE30044D91B /* ExpandableTableViewTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ExpandableTableViewTests.swift; sourceTree = ""; };
62 | 6390C5191D47BCE30044D91B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
63 | 6390C51E1D47BCE30044D91B /* ExpandableTableViewUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ExpandableTableViewUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
64 | 6390C5221D47BCE30044D91B /* ExpandableTableViewUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ExpandableTableViewUITests.swift; sourceTree = ""; };
65 | 6390C5241D47BCE30044D91B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
66 | 6390C5311D47BD7D0044D91B /* ExpandableTableViewViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ExpandableTableViewViewController.swift; sourceTree = ""; };
67 | 6390C5321D47BD7D0044D91B /* ExpandableTableViewViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = ExpandableTableViewViewController.xib; sourceTree = ""; };
68 | 6390C5371D47BE270044D91B /* ExpandableCellTableViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ExpandableCellTableViewCell.swift; sourceTree = ""; };
69 | 6390C5381D47BE270044D91B /* ExpandableCellTableViewCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = ExpandableCellTableViewCell.xib; sourceTree = ""; };
70 | 6390C53D1D47BE5E0044D91B /* down.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = down.png; sourceTree = ""; };
71 | 6390C53E1D47BE5E0044D91B /* up.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = up.png; sourceTree = ""; };
72 | 6390C5431D47BEA50044D91B /* SubTableCellTableViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SubTableCellTableViewCell.swift; sourceTree = ""; };
73 | 6390C5441D47BEA50044D91B /* SubTableCellTableViewCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = SubTableCellTableViewCell.xib; sourceTree = ""; };
74 | /* End PBXFileReference section */
75 |
76 | /* Begin PBXFrameworksBuildPhase section */
77 | 6390C4FC1D47BCE30044D91B /* Frameworks */ = {
78 | isa = PBXFrameworksBuildPhase;
79 | buildActionMask = 2147483647;
80 | files = (
81 | );
82 | runOnlyForDeploymentPostprocessing = 0;
83 | };
84 | 6390C5101D47BCE30044D91B /* Frameworks */ = {
85 | isa = PBXFrameworksBuildPhase;
86 | buildActionMask = 2147483647;
87 | files = (
88 | );
89 | runOnlyForDeploymentPostprocessing = 0;
90 | };
91 | 6390C51B1D47BCE30044D91B /* Frameworks */ = {
92 | isa = PBXFrameworksBuildPhase;
93 | buildActionMask = 2147483647;
94 | files = (
95 | );
96 | runOnlyForDeploymentPostprocessing = 0;
97 | };
98 | /* End PBXFrameworksBuildPhase section */
99 |
100 | /* Begin PBXGroup section */
101 | 6390C4F61D47BCE30044D91B = {
102 | isa = PBXGroup;
103 | children = (
104 | 6390C5011D47BCE30044D91B /* ExpandableTableView */,
105 | 6390C5161D47BCE30044D91B /* ExpandableTableViewTests */,
106 | 6390C5211D47BCE30044D91B /* ExpandableTableViewUITests */,
107 | 6390C5001D47BCE30044D91B /* Products */,
108 | );
109 | sourceTree = "";
110 | };
111 | 6390C5001D47BCE30044D91B /* Products */ = {
112 | isa = PBXGroup;
113 | children = (
114 | 6390C4FF1D47BCE30044D91B /* ExpandableTableView.app */,
115 | 6390C5131D47BCE30044D91B /* ExpandableTableViewTests.xctest */,
116 | 6390C51E1D47BCE30044D91B /* ExpandableTableViewUITests.xctest */,
117 | );
118 | name = Products;
119 | sourceTree = "";
120 | };
121 | 6390C5011D47BCE30044D91B /* ExpandableTableView */ = {
122 | isa = PBXGroup;
123 | children = (
124 | 6390C5301D47BCF00044D91B /* ExpandableExample */,
125 | 6390C5021D47BCE30044D91B /* AppDelegate.swift */,
126 | 6390C5041D47BCE30044D91B /* ViewController.swift */,
127 | 6390C5061D47BCE30044D91B /* Main.storyboard */,
128 | 6390C5091D47BCE30044D91B /* Assets.xcassets */,
129 | 6390C50B1D47BCE30044D91B /* LaunchScreen.storyboard */,
130 | 6390C50E1D47BCE30044D91B /* Info.plist */,
131 | );
132 | path = ExpandableTableView;
133 | sourceTree = "";
134 | };
135 | 6390C5161D47BCE30044D91B /* ExpandableTableViewTests */ = {
136 | isa = PBXGroup;
137 | children = (
138 | 6390C5171D47BCE30044D91B /* ExpandableTableViewTests.swift */,
139 | 6390C5191D47BCE30044D91B /* Info.plist */,
140 | );
141 | path = ExpandableTableViewTests;
142 | sourceTree = "";
143 | };
144 | 6390C5211D47BCE30044D91B /* ExpandableTableViewUITests */ = {
145 | isa = PBXGroup;
146 | children = (
147 | 6390C5221D47BCE30044D91B /* ExpandableTableViewUITests.swift */,
148 | 6390C5241D47BCE30044D91B /* Info.plist */,
149 | );
150 | path = ExpandableTableViewUITests;
151 | sourceTree = "";
152 | };
153 | 6390C5301D47BCF00044D91B /* ExpandableExample */ = {
154 | isa = PBXGroup;
155 | children = (
156 | 6390C53D1D47BE5E0044D91B /* down.png */,
157 | 6390C53E1D47BE5E0044D91B /* up.png */,
158 | 6390C5311D47BD7D0044D91B /* ExpandableTableViewViewController.swift */,
159 | 6390C5321D47BD7D0044D91B /* ExpandableTableViewViewController.xib */,
160 | 6390C5371D47BE270044D91B /* ExpandableCellTableViewCell.swift */,
161 | 6390C5381D47BE270044D91B /* ExpandableCellTableViewCell.xib */,
162 | 6390C5431D47BEA50044D91B /* SubTableCellTableViewCell.swift */,
163 | 6390C5441D47BEA50044D91B /* SubTableCellTableViewCell.xib */,
164 | );
165 | name = ExpandableExample;
166 | sourceTree = "";
167 | };
168 | /* End PBXGroup section */
169 |
170 | /* Begin PBXNativeTarget section */
171 | 6390C4FE1D47BCE30044D91B /* ExpandableTableView */ = {
172 | isa = PBXNativeTarget;
173 | buildConfigurationList = 6390C5271D47BCE30044D91B /* Build configuration list for PBXNativeTarget "ExpandableTableView" */;
174 | buildPhases = (
175 | 6390C4FB1D47BCE30044D91B /* Sources */,
176 | 6390C4FC1D47BCE30044D91B /* Frameworks */,
177 | 6390C4FD1D47BCE30044D91B /* Resources */,
178 | );
179 | buildRules = (
180 | );
181 | dependencies = (
182 | );
183 | name = ExpandableTableView;
184 | productName = ExpandableTableView;
185 | productReference = 6390C4FF1D47BCE30044D91B /* ExpandableTableView.app */;
186 | productType = "com.apple.product-type.application";
187 | };
188 | 6390C5121D47BCE30044D91B /* ExpandableTableViewTests */ = {
189 | isa = PBXNativeTarget;
190 | buildConfigurationList = 6390C52A1D47BCE30044D91B /* Build configuration list for PBXNativeTarget "ExpandableTableViewTests" */;
191 | buildPhases = (
192 | 6390C50F1D47BCE30044D91B /* Sources */,
193 | 6390C5101D47BCE30044D91B /* Frameworks */,
194 | 6390C5111D47BCE30044D91B /* Resources */,
195 | );
196 | buildRules = (
197 | );
198 | dependencies = (
199 | 6390C5151D47BCE30044D91B /* PBXTargetDependency */,
200 | );
201 | name = ExpandableTableViewTests;
202 | productName = ExpandableTableViewTests;
203 | productReference = 6390C5131D47BCE30044D91B /* ExpandableTableViewTests.xctest */;
204 | productType = "com.apple.product-type.bundle.unit-test";
205 | };
206 | 6390C51D1D47BCE30044D91B /* ExpandableTableViewUITests */ = {
207 | isa = PBXNativeTarget;
208 | buildConfigurationList = 6390C52D1D47BCE30044D91B /* Build configuration list for PBXNativeTarget "ExpandableTableViewUITests" */;
209 | buildPhases = (
210 | 6390C51A1D47BCE30044D91B /* Sources */,
211 | 6390C51B1D47BCE30044D91B /* Frameworks */,
212 | 6390C51C1D47BCE30044D91B /* Resources */,
213 | );
214 | buildRules = (
215 | );
216 | dependencies = (
217 | 6390C5201D47BCE30044D91B /* PBXTargetDependency */,
218 | );
219 | name = ExpandableTableViewUITests;
220 | productName = ExpandableTableViewUITests;
221 | productReference = 6390C51E1D47BCE30044D91B /* ExpandableTableViewUITests.xctest */;
222 | productType = "com.apple.product-type.bundle.ui-testing";
223 | };
224 | /* End PBXNativeTarget section */
225 |
226 | /* Begin PBXProject section */
227 | 6390C4F71D47BCE30044D91B /* Project object */ = {
228 | isa = PBXProject;
229 | attributes = {
230 | LastSwiftUpdateCheck = 0730;
231 | LastUpgradeCheck = 0730;
232 | ORGANIZATIONNAME = "Soubhi Hadri";
233 | TargetAttributes = {
234 | 6390C4FE1D47BCE30044D91B = {
235 | CreatedOnToolsVersion = 7.3.1;
236 | };
237 | 6390C5121D47BCE30044D91B = {
238 | CreatedOnToolsVersion = 7.3.1;
239 | TestTargetID = 6390C4FE1D47BCE30044D91B;
240 | };
241 | 6390C51D1D47BCE30044D91B = {
242 | CreatedOnToolsVersion = 7.3.1;
243 | TestTargetID = 6390C4FE1D47BCE30044D91B;
244 | };
245 | };
246 | };
247 | buildConfigurationList = 6390C4FA1D47BCE30044D91B /* Build configuration list for PBXProject "ExpandableTableView" */;
248 | compatibilityVersion = "Xcode 3.2";
249 | developmentRegion = English;
250 | hasScannedForEncodings = 0;
251 | knownRegions = (
252 | en,
253 | Base,
254 | );
255 | mainGroup = 6390C4F61D47BCE30044D91B;
256 | productRefGroup = 6390C5001D47BCE30044D91B /* Products */;
257 | projectDirPath = "";
258 | projectRoot = "";
259 | targets = (
260 | 6390C4FE1D47BCE30044D91B /* ExpandableTableView */,
261 | 6390C5121D47BCE30044D91B /* ExpandableTableViewTests */,
262 | 6390C51D1D47BCE30044D91B /* ExpandableTableViewUITests */,
263 | );
264 | };
265 | /* End PBXProject section */
266 |
267 | /* Begin PBXResourcesBuildPhase section */
268 | 6390C4FD1D47BCE30044D91B /* Resources */ = {
269 | isa = PBXResourcesBuildPhase;
270 | buildActionMask = 2147483647;
271 | files = (
272 | 6390C5411D47BE5E0044D91B /* up.png in Resources */,
273 | 6390C5351D47BD7D0044D91B /* ExpandableTableViewViewController.xib in Resources */,
274 | 6390C50D1D47BCE30044D91B /* LaunchScreen.storyboard in Resources */,
275 | 6390C5471D47BEA50044D91B /* SubTableCellTableViewCell.xib in Resources */,
276 | 6390C50A1D47BCE30044D91B /* Assets.xcassets in Resources */,
277 | 6390C53B1D47BE270044D91B /* ExpandableCellTableViewCell.xib in Resources */,
278 | 6390C5081D47BCE30044D91B /* Main.storyboard in Resources */,
279 | 6390C53F1D47BE5E0044D91B /* down.png in Resources */,
280 | );
281 | runOnlyForDeploymentPostprocessing = 0;
282 | };
283 | 6390C5111D47BCE30044D91B /* Resources */ = {
284 | isa = PBXResourcesBuildPhase;
285 | buildActionMask = 2147483647;
286 | files = (
287 | 6390C5361D47BD7D0044D91B /* ExpandableTableViewViewController.xib in Resources */,
288 | 6390C53C1D47BE270044D91B /* ExpandableCellTableViewCell.xib in Resources */,
289 | 6390C5421D47BE5E0044D91B /* up.png in Resources */,
290 | 6390C5401D47BE5E0044D91B /* down.png in Resources */,
291 | 6390C5481D47BEA50044D91B /* SubTableCellTableViewCell.xib in Resources */,
292 | );
293 | runOnlyForDeploymentPostprocessing = 0;
294 | };
295 | 6390C51C1D47BCE30044D91B /* Resources */ = {
296 | isa = PBXResourcesBuildPhase;
297 | buildActionMask = 2147483647;
298 | files = (
299 | );
300 | runOnlyForDeploymentPostprocessing = 0;
301 | };
302 | /* End PBXResourcesBuildPhase section */
303 |
304 | /* Begin PBXSourcesBuildPhase section */
305 | 6390C4FB1D47BCE30044D91B /* Sources */ = {
306 | isa = PBXSourcesBuildPhase;
307 | buildActionMask = 2147483647;
308 | files = (
309 | 6390C5451D47BEA50044D91B /* SubTableCellTableViewCell.swift in Sources */,
310 | 6390C5331D47BD7D0044D91B /* ExpandableTableViewViewController.swift in Sources */,
311 | 6390C5391D47BE270044D91B /* ExpandableCellTableViewCell.swift in Sources */,
312 | 6390C5051D47BCE30044D91B /* ViewController.swift in Sources */,
313 | 6390C5031D47BCE30044D91B /* AppDelegate.swift in Sources */,
314 | );
315 | runOnlyForDeploymentPostprocessing = 0;
316 | };
317 | 6390C50F1D47BCE30044D91B /* Sources */ = {
318 | isa = PBXSourcesBuildPhase;
319 | buildActionMask = 2147483647;
320 | files = (
321 | 6390C53A1D47BE270044D91B /* ExpandableCellTableViewCell.swift in Sources */,
322 | 6390C5341D47BD7D0044D91B /* ExpandableTableViewViewController.swift in Sources */,
323 | 6390C5181D47BCE30044D91B /* ExpandableTableViewTests.swift in Sources */,
324 | 6390C5461D47BEA50044D91B /* SubTableCellTableViewCell.swift in Sources */,
325 | );
326 | runOnlyForDeploymentPostprocessing = 0;
327 | };
328 | 6390C51A1D47BCE30044D91B /* Sources */ = {
329 | isa = PBXSourcesBuildPhase;
330 | buildActionMask = 2147483647;
331 | files = (
332 | 6390C5231D47BCE30044D91B /* ExpandableTableViewUITests.swift in Sources */,
333 | );
334 | runOnlyForDeploymentPostprocessing = 0;
335 | };
336 | /* End PBXSourcesBuildPhase section */
337 |
338 | /* Begin PBXTargetDependency section */
339 | 6390C5151D47BCE30044D91B /* PBXTargetDependency */ = {
340 | isa = PBXTargetDependency;
341 | target = 6390C4FE1D47BCE30044D91B /* ExpandableTableView */;
342 | targetProxy = 6390C5141D47BCE30044D91B /* PBXContainerItemProxy */;
343 | };
344 | 6390C5201D47BCE30044D91B /* PBXTargetDependency */ = {
345 | isa = PBXTargetDependency;
346 | target = 6390C4FE1D47BCE30044D91B /* ExpandableTableView */;
347 | targetProxy = 6390C51F1D47BCE30044D91B /* PBXContainerItemProxy */;
348 | };
349 | /* End PBXTargetDependency section */
350 |
351 | /* Begin PBXVariantGroup section */
352 | 6390C5061D47BCE30044D91B /* Main.storyboard */ = {
353 | isa = PBXVariantGroup;
354 | children = (
355 | 6390C5071D47BCE30044D91B /* Base */,
356 | );
357 | name = Main.storyboard;
358 | sourceTree = "";
359 | };
360 | 6390C50B1D47BCE30044D91B /* LaunchScreen.storyboard */ = {
361 | isa = PBXVariantGroup;
362 | children = (
363 | 6390C50C1D47BCE30044D91B /* Base */,
364 | );
365 | name = LaunchScreen.storyboard;
366 | sourceTree = "";
367 | };
368 | /* End PBXVariantGroup section */
369 |
370 | /* Begin XCBuildConfiguration section */
371 | 6390C5251D47BCE30044D91B /* Debug */ = {
372 | isa = XCBuildConfiguration;
373 | buildSettings = {
374 | ALWAYS_SEARCH_USER_PATHS = NO;
375 | CLANG_ANALYZER_NONNULL = YES;
376 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
377 | CLANG_CXX_LIBRARY = "libc++";
378 | CLANG_ENABLE_MODULES = YES;
379 | CLANG_ENABLE_OBJC_ARC = YES;
380 | CLANG_WARN_BOOL_CONVERSION = YES;
381 | CLANG_WARN_CONSTANT_CONVERSION = YES;
382 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
383 | CLANG_WARN_EMPTY_BODY = YES;
384 | CLANG_WARN_ENUM_CONVERSION = YES;
385 | CLANG_WARN_INT_CONVERSION = YES;
386 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
387 | CLANG_WARN_UNREACHABLE_CODE = YES;
388 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
389 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
390 | COPY_PHASE_STRIP = NO;
391 | DEBUG_INFORMATION_FORMAT = dwarf;
392 | ENABLE_STRICT_OBJC_MSGSEND = YES;
393 | ENABLE_TESTABILITY = YES;
394 | GCC_C_LANGUAGE_STANDARD = gnu99;
395 | GCC_DYNAMIC_NO_PIC = NO;
396 | GCC_NO_COMMON_BLOCKS = YES;
397 | GCC_OPTIMIZATION_LEVEL = 0;
398 | GCC_PREPROCESSOR_DEFINITIONS = (
399 | "DEBUG=1",
400 | "$(inherited)",
401 | );
402 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
403 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
404 | GCC_WARN_UNDECLARED_SELECTOR = YES;
405 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
406 | GCC_WARN_UNUSED_FUNCTION = YES;
407 | GCC_WARN_UNUSED_VARIABLE = YES;
408 | IPHONEOS_DEPLOYMENT_TARGET = 9.3;
409 | MTL_ENABLE_DEBUG_INFO = YES;
410 | ONLY_ACTIVE_ARCH = YES;
411 | SDKROOT = iphoneos;
412 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
413 | TARGETED_DEVICE_FAMILY = "1,2";
414 | };
415 | name = Debug;
416 | };
417 | 6390C5261D47BCE30044D91B /* Release */ = {
418 | isa = XCBuildConfiguration;
419 | buildSettings = {
420 | ALWAYS_SEARCH_USER_PATHS = NO;
421 | CLANG_ANALYZER_NONNULL = YES;
422 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
423 | CLANG_CXX_LIBRARY = "libc++";
424 | CLANG_ENABLE_MODULES = YES;
425 | CLANG_ENABLE_OBJC_ARC = YES;
426 | CLANG_WARN_BOOL_CONVERSION = YES;
427 | CLANG_WARN_CONSTANT_CONVERSION = YES;
428 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
429 | CLANG_WARN_EMPTY_BODY = YES;
430 | CLANG_WARN_ENUM_CONVERSION = YES;
431 | CLANG_WARN_INT_CONVERSION = YES;
432 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
433 | CLANG_WARN_UNREACHABLE_CODE = YES;
434 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
435 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
436 | COPY_PHASE_STRIP = NO;
437 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
438 | ENABLE_NS_ASSERTIONS = NO;
439 | ENABLE_STRICT_OBJC_MSGSEND = YES;
440 | GCC_C_LANGUAGE_STANDARD = gnu99;
441 | GCC_NO_COMMON_BLOCKS = YES;
442 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
443 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
444 | GCC_WARN_UNDECLARED_SELECTOR = YES;
445 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
446 | GCC_WARN_UNUSED_FUNCTION = YES;
447 | GCC_WARN_UNUSED_VARIABLE = YES;
448 | IPHONEOS_DEPLOYMENT_TARGET = 9.3;
449 | MTL_ENABLE_DEBUG_INFO = NO;
450 | SDKROOT = iphoneos;
451 | TARGETED_DEVICE_FAMILY = "1,2";
452 | VALIDATE_PRODUCT = YES;
453 | };
454 | name = Release;
455 | };
456 | 6390C5281D47BCE30044D91B /* Debug */ = {
457 | isa = XCBuildConfiguration;
458 | buildSettings = {
459 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
460 | INFOPLIST_FILE = ExpandableTableView/Info.plist;
461 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
462 | PRODUCT_BUNDLE_IDENTIFIER = com.hadri.ExpandableTableView;
463 | PRODUCT_NAME = "$(TARGET_NAME)";
464 | };
465 | name = Debug;
466 | };
467 | 6390C5291D47BCE30044D91B /* Release */ = {
468 | isa = XCBuildConfiguration;
469 | buildSettings = {
470 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
471 | INFOPLIST_FILE = ExpandableTableView/Info.plist;
472 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
473 | PRODUCT_BUNDLE_IDENTIFIER = com.hadri.ExpandableTableView;
474 | PRODUCT_NAME = "$(TARGET_NAME)";
475 | };
476 | name = Release;
477 | };
478 | 6390C52B1D47BCE30044D91B /* Debug */ = {
479 | isa = XCBuildConfiguration;
480 | buildSettings = {
481 | BUNDLE_LOADER = "$(TEST_HOST)";
482 | INFOPLIST_FILE = ExpandableTableViewTests/Info.plist;
483 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
484 | PRODUCT_BUNDLE_IDENTIFIER = com.hadri.ExpandableTableViewTests;
485 | PRODUCT_NAME = "$(TARGET_NAME)";
486 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ExpandableTableView.app/ExpandableTableView";
487 | };
488 | name = Debug;
489 | };
490 | 6390C52C1D47BCE30044D91B /* Release */ = {
491 | isa = XCBuildConfiguration;
492 | buildSettings = {
493 | BUNDLE_LOADER = "$(TEST_HOST)";
494 | INFOPLIST_FILE = ExpandableTableViewTests/Info.plist;
495 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
496 | PRODUCT_BUNDLE_IDENTIFIER = com.hadri.ExpandableTableViewTests;
497 | PRODUCT_NAME = "$(TARGET_NAME)";
498 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ExpandableTableView.app/ExpandableTableView";
499 | };
500 | name = Release;
501 | };
502 | 6390C52E1D47BCE30044D91B /* Debug */ = {
503 | isa = XCBuildConfiguration;
504 | buildSettings = {
505 | INFOPLIST_FILE = ExpandableTableViewUITests/Info.plist;
506 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
507 | PRODUCT_BUNDLE_IDENTIFIER = com.hadri.ExpandableTableViewUITests;
508 | PRODUCT_NAME = "$(TARGET_NAME)";
509 | TEST_TARGET_NAME = ExpandableTableView;
510 | };
511 | name = Debug;
512 | };
513 | 6390C52F1D47BCE30044D91B /* Release */ = {
514 | isa = XCBuildConfiguration;
515 | buildSettings = {
516 | INFOPLIST_FILE = ExpandableTableViewUITests/Info.plist;
517 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
518 | PRODUCT_BUNDLE_IDENTIFIER = com.hadri.ExpandableTableViewUITests;
519 | PRODUCT_NAME = "$(TARGET_NAME)";
520 | TEST_TARGET_NAME = ExpandableTableView;
521 | };
522 | name = Release;
523 | };
524 | /* End XCBuildConfiguration section */
525 |
526 | /* Begin XCConfigurationList section */
527 | 6390C4FA1D47BCE30044D91B /* Build configuration list for PBXProject "ExpandableTableView" */ = {
528 | isa = XCConfigurationList;
529 | buildConfigurations = (
530 | 6390C5251D47BCE30044D91B /* Debug */,
531 | 6390C5261D47BCE30044D91B /* Release */,
532 | );
533 | defaultConfigurationIsVisible = 0;
534 | defaultConfigurationName = Release;
535 | };
536 | 6390C5271D47BCE30044D91B /* Build configuration list for PBXNativeTarget "ExpandableTableView" */ = {
537 | isa = XCConfigurationList;
538 | buildConfigurations = (
539 | 6390C5281D47BCE30044D91B /* Debug */,
540 | 6390C5291D47BCE30044D91B /* Release */,
541 | );
542 | defaultConfigurationIsVisible = 0;
543 | };
544 | 6390C52A1D47BCE30044D91B /* Build configuration list for PBXNativeTarget "ExpandableTableViewTests" */ = {
545 | isa = XCConfigurationList;
546 | buildConfigurations = (
547 | 6390C52B1D47BCE30044D91B /* Debug */,
548 | 6390C52C1D47BCE30044D91B /* Release */,
549 | );
550 | defaultConfigurationIsVisible = 0;
551 | };
552 | 6390C52D1D47BCE30044D91B /* Build configuration list for PBXNativeTarget "ExpandableTableViewUITests" */ = {
553 | isa = XCConfigurationList;
554 | buildConfigurations = (
555 | 6390C52E1D47BCE30044D91B /* Debug */,
556 | 6390C52F1D47BCE30044D91B /* Release */,
557 | );
558 | defaultConfigurationIsVisible = 0;
559 | };
560 | /* End XCConfigurationList section */
561 | };
562 | rootObject = 6390C4F71D47BCE30044D91B /* Project object */;
563 | }
564 |
--------------------------------------------------------------------------------