├── ExpandableTableView
├── expanded.png
├── collapsed.png
├── Preview_singleExpanded.png
├── Preview_multipleExpanded.png
├── ViewController.h
├── AppDelegate.h
├── ViewControllerCell.h
├── main.m
├── ViewControllerCell.m
├── ViewControllerCellHeader.h
├── ViewControllerCellHeader.m
├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
├── Info.plist
├── Base.lproj
│ ├── LaunchScreen.storyboard
│ └── Main.storyboard
├── AppDelegate.m
└── ViewController.m
├── ExpandableTableView.xcodeproj
├── xcuserdata
│ └── milan.xcuserdatad
│ │ ├── xcdebugger
│ │ └── Breakpoints_v2.xcbkptlist
│ │ └── xcschemes
│ │ ├── xcschememanagement.plist
│ │ └── ExpandableTableView.xcscheme
├── project.xcworkspace
│ └── contents.xcworkspacedata
└── project.pbxproj
└── README.md
/ExpandableTableView/expanded.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/milan-manwar/ExpandableTableView/HEAD/ExpandableTableView/expanded.png
--------------------------------------------------------------------------------
/ExpandableTableView/collapsed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/milan-manwar/ExpandableTableView/HEAD/ExpandableTableView/collapsed.png
--------------------------------------------------------------------------------
/ExpandableTableView/Preview_singleExpanded.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/milan-manwar/ExpandableTableView/HEAD/ExpandableTableView/Preview_singleExpanded.png
--------------------------------------------------------------------------------
/ExpandableTableView/Preview_multipleExpanded.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/milan-manwar/ExpandableTableView/HEAD/ExpandableTableView/Preview_multipleExpanded.png
--------------------------------------------------------------------------------
/ExpandableTableView.xcodeproj/xcuserdata/milan.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
--------------------------------------------------------------------------------
/ExpandableTableView.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ExpandableTableView/ViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.h
3 | // ExpandableTableView
4 | //
5 | // Created by milan on 05/05/16.
6 | // Copyright © 2016 apps. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ViewController : UIViewController
12 |
13 |
14 | @end
15 |
16 |
--------------------------------------------------------------------------------
/ExpandableTableView/AppDelegate.h:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.h
3 | // ExpandableTableView
4 | //
5 | // Created by milan on 05/05/16.
6 | // Copyright © 2016 apps. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface AppDelegate : UIResponder
12 |
13 | @property (strong, nonatomic) UIWindow *window;
14 |
15 |
16 | @end
17 |
18 |
--------------------------------------------------------------------------------
/ExpandableTableView/ViewControllerCell.h:
--------------------------------------------------------------------------------
1 | //
2 | // ViewControllerCell.h
3 | // ExpandableTableView
4 | //
5 | // Created by milan on 05/05/16.
6 | // Copyright © 2016 apps. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ViewControllerCell : UITableViewCell
12 |
13 | @property (strong, nonatomic) IBOutlet UILabel *lblName;
14 |
15 | @end
16 |
--------------------------------------------------------------------------------
/ExpandableTableView/main.m:
--------------------------------------------------------------------------------
1 | //
2 | // main.m
3 | // ExpandableTableView
4 | //
5 | // Created by milan on 05/05/16.
6 | // Copyright © 2016 apps. All rights reserved.
7 | //
8 |
9 | #import
10 | #import "AppDelegate.h"
11 |
12 | int main(int argc, char * argv[]) {
13 | @autoreleasepool {
14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/ExpandableTableView/ViewControllerCell.m:
--------------------------------------------------------------------------------
1 | //
2 | // ViewControllerCell.m
3 | // ExpandableTableView
4 | //
5 | // Created by milan on 05/05/16.
6 | // Copyright © 2016 apps. All rights reserved.
7 | //
8 |
9 | #import "ViewControllerCell.h"
10 |
11 | @implementation ViewControllerCell
12 |
13 | @synthesize lblName;
14 |
15 | - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
16 | [super setSelected:selected animated:animated];
17 | }
18 |
19 | @end
20 |
--------------------------------------------------------------------------------
/ExpandableTableView/ViewControllerCellHeader.h:
--------------------------------------------------------------------------------
1 | //
2 | // ViewControllerCellHeader.h
3 | // ExpandableTableView
4 | //
5 | // Created by milan on 05/05/16.
6 | // Copyright © 2016 apps. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ViewControllerCellHeader : UITableViewCell
12 |
13 | @property (strong, nonatomic) IBOutlet UILabel *lbTitle;
14 |
15 | @property (strong, nonatomic) IBOutlet UIButton *btnShowHide;
16 |
17 | @end
18 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # ExpandableTableView
2 | A simplest demonstration of expandable UITableView without using third party libs.
3 |
4 |
5 | #Screenshots
6 |
7 | Single Section expanded
8 |
9 | 
10 |
11 | Multiple Section expanded
12 |
13 | 
14 |
--------------------------------------------------------------------------------
/ExpandableTableView/ViewControllerCellHeader.m:
--------------------------------------------------------------------------------
1 | //
2 | // ViewControllerCellHeader.m
3 | // ExpandableTableView
4 | //
5 | // Created by milan on 05/05/16.
6 | // Copyright © 2016 apps. All rights reserved.
7 | //
8 |
9 | #import "ViewControllerCellHeader.h"
10 |
11 | @implementation ViewControllerCellHeader
12 |
13 | @synthesize btnShowHide, lbTitle;
14 |
15 | - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
16 | [super setSelected:selected animated:animated];
17 | }
18 |
19 | @end
20 |
--------------------------------------------------------------------------------
/ExpandableTableView.xcodeproj/xcuserdata/milan.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 | F13D8EB51CDB631E00CB287F
16 |
17 | primary
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/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 | "info" : {
35 | "version" : 1,
36 | "author" : "xcode"
37 | }
38 | }
--------------------------------------------------------------------------------
/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 |
40 |
41 |
--------------------------------------------------------------------------------
/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 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/ExpandableTableView/AppDelegate.m:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.m
3 | // ExpandableTableView
4 | //
5 | // Created by milan on 05/05/16.
6 | // Copyright © 2016 apps. All rights reserved.
7 | //
8 |
9 | #import "AppDelegate.h"
10 |
11 | @interface AppDelegate ()
12 |
13 | @end
14 |
15 | @implementation AppDelegate
16 |
17 |
18 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
19 | // Override point for customization after application launch.
20 | return YES;
21 | }
22 |
23 | - (void)applicationWillResignActive:(UIApplication *)application {
24 | // 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.
25 | // 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.
26 | }
27 |
28 | - (void)applicationDidEnterBackground:(UIApplication *)application {
29 | // 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.
30 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
31 | }
32 |
33 | - (void)applicationWillEnterForeground:(UIApplication *)application {
34 | // 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.
35 | }
36 |
37 | - (void)applicationDidBecomeActive:(UIApplication *)application {
38 | // 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.
39 | }
40 |
41 | - (void)applicationWillTerminate:(UIApplication *)application {
42 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
43 | }
44 |
45 | @end
46 |
--------------------------------------------------------------------------------
/ExpandableTableView.xcodeproj/xcuserdata/milan.xcuserdatad/xcschemes/ExpandableTableView.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
32 |
33 |
39 |
40 |
41 |
42 |
43 |
44 |
54 |
56 |
62 |
63 |
64 |
65 |
66 |
67 |
73 |
75 |
81 |
82 |
83 |
84 |
86 |
87 |
90 |
91 |
92 |
--------------------------------------------------------------------------------
/ExpandableTableView/ViewController.m:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.m
3 | // ExpandableTableView
4 | //
5 | // Created by milan on 05/05/16.
6 | // Copyright © 2016 apps. All rights reserved.
7 | //
8 |
9 | #import "ViewController.h"
10 |
11 | #import "ViewControllerCell.h"
12 |
13 | #import "ViewControllerCellHeader.h"
14 |
15 | #include
16 |
17 | #define count 20
18 |
19 | @interface ViewController ()
20 | {
21 | IBOutlet UITableView *tblView;
22 | NSMutableArray *arrSelectedSectionIndex;
23 | BOOL isMultipleExpansionAllowed;
24 | }
25 | @end
26 |
27 | @implementation ViewController
28 |
29 | #pragma mark - View Life Cycle
30 |
31 | - (void)viewDidLoad
32 | {
33 | [super viewDidLoad];
34 |
35 | //Set isMultipleExpansionAllowed = true is multiple expanded sections to be allowed at a time. Default is NO.
36 | isMultipleExpansionAllowed = YES;
37 |
38 | arrSelectedSectionIndex = [[NSMutableArray alloc] init];
39 |
40 | if (!isMultipleExpansionAllowed) {
41 | [arrSelectedSectionIndex addObject:[NSNumber numberWithInt:count+2]];
42 | }
43 | }
44 |
45 | -(void)viewWillAppear:(BOOL)animated
46 | {
47 | [super viewWillAppear:animated];
48 | }
49 |
50 | #pragma mark - TableView methods
51 |
52 | -(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
53 | {
54 | return count;
55 | }
56 |
57 | -(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
58 | {
59 | if ([arrSelectedSectionIndex containsObject:[NSNumber numberWithInteger:section]])
60 | {
61 | return 4;
62 | }else{
63 | return 0;
64 | }
65 | }
66 |
67 | -(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
68 | {
69 | ViewControllerCell *cell = [tableView dequeueReusableCellWithIdentifier:@"ViewControllerCell"];
70 |
71 | if (cell ==nil)
72 | {
73 | [tblView registerClass:[ViewControllerCell class] forCellReuseIdentifier:@"ViewControllerCell"];
74 |
75 | cell = [tblView dequeueReusableCellWithIdentifier:@"ViewControllerCell"];
76 | }
77 |
78 | cell.lblName.text = [NSString stringWithFormat:@"%ld", (long)indexPath.row];
79 |
80 | cell.backgroundColor = indexPath.row%2==0?[UIColor lightTextColor]:[[UIColor lightTextColor] colorWithAlphaComponent:0.5f];
81 |
82 | return cell;
83 | }
84 |
85 | -(CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section
86 | {
87 | return 44.0f;
88 | }
89 |
90 | -(UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section
91 | {
92 | ViewControllerCellHeader *headerView = [tableView dequeueReusableCellWithIdentifier:@"ViewControllerCellHeader"];
93 |
94 | if (headerView ==nil)
95 | {
96 | [tblView registerClass:[ViewControllerCellHeader class] forCellReuseIdentifier:@"ViewControllerCellHeader"];
97 |
98 | headerView = [tableView dequeueReusableCellWithIdentifier:@"ViewControllerCellHeader"];
99 | }
100 |
101 | headerView.lbTitle.text = [NSString stringWithFormat:@"Section %ld", (long)section];
102 |
103 | if ([arrSelectedSectionIndex containsObject:[NSNumber numberWithInteger:section]])
104 | {
105 | headerView.btnShowHide.selected = YES;
106 | }
107 |
108 | [[headerView btnShowHide] setTag:section];
109 |
110 | [[headerView btnShowHide] addTarget:self action:@selector(btnTapShowHideSection:) forControlEvents:UIControlEventTouchUpInside];
111 |
112 | [headerView.contentView setBackgroundColor:section%2==0?[UIColor groupTableViewBackgroundColor]:[[UIColor groupTableViewBackgroundColor] colorWithAlphaComponent:0.5f]];
113 |
114 | return headerView.contentView;
115 | }
116 |
117 | -(IBAction)btnTapShowHideSection:(UIButton*)sender
118 | {
119 | if (!sender.selected)
120 | {
121 | if (!isMultipleExpansionAllowed) {
122 | [arrSelectedSectionIndex replaceObjectAtIndex:0 withObject:[NSNumber numberWithInteger:sender.tag]];
123 | }else {
124 | [arrSelectedSectionIndex addObject:[NSNumber numberWithInteger:sender.tag]];
125 | }
126 |
127 | sender.selected = YES;
128 | }else{
129 | sender.selected = NO;
130 |
131 | if ([arrSelectedSectionIndex containsObject:[NSNumber numberWithInteger:sender.tag]])
132 | {
133 | [arrSelectedSectionIndex removeObject:[NSNumber numberWithInteger:sender.tag]];
134 | }
135 | }
136 |
137 | if (!isMultipleExpansionAllowed) {
138 | [tblView reloadData];
139 | }else {
140 | [tblView reloadSections:[NSIndexSet indexSetWithIndex:sender.tag] withRowAnimation:UITableViewRowAnimationAutomatic];
141 | }
142 | }
143 |
144 | #pragma mark - Memory Warning
145 |
146 | - (void)didReceiveMemoryWarning
147 | {
148 | [super didReceiveMemoryWarning];
149 | }
150 |
151 | @end
152 |
--------------------------------------------------------------------------------
/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 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
67 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
--------------------------------------------------------------------------------
/ExpandableTableView.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | F13D8EBB1CDB631E00CB287F /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = F13D8EBA1CDB631E00CB287F /* main.m */; };
11 | F13D8EBE1CDB631E00CB287F /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = F13D8EBD1CDB631E00CB287F /* AppDelegate.m */; };
12 | F13D8EC11CDB631E00CB287F /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F13D8EC01CDB631E00CB287F /* ViewController.m */; };
13 | F13D8EC41CDB631E00CB287F /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F13D8EC21CDB631E00CB287F /* Main.storyboard */; };
14 | F13D8EC61CDB631E00CB287F /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F13D8EC51CDB631E00CB287F /* Assets.xcassets */; };
15 | F13D8EC91CDB631E00CB287F /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F13D8EC71CDB631E00CB287F /* LaunchScreen.storyboard */; };
16 | F13D8ED21CDB70F200CB287F /* ViewControllerCellHeader.m in Sources */ = {isa = PBXBuildFile; fileRef = F13D8ED11CDB70F200CB287F /* ViewControllerCellHeader.m */; };
17 | F13D8ED51CDB755C00CB287F /* ViewControllerCell.m in Sources */ = {isa = PBXBuildFile; fileRef = F13D8ED41CDB755C00CB287F /* ViewControllerCell.m */; };
18 | F1C6A42E1ED8431400B0EDED /* collapsed.png in Resources */ = {isa = PBXBuildFile; fileRef = F1C6A42C1ED8431400B0EDED /* collapsed.png */; };
19 | F1C6A42F1ED8431400B0EDED /* expanded.png in Resources */ = {isa = PBXBuildFile; fileRef = F1C6A42D1ED8431400B0EDED /* expanded.png */; };
20 | F1C6A4321ED8499400B0EDED /* Preview_multipleExpanded.png in Resources */ = {isa = PBXBuildFile; fileRef = F1C6A4301ED8499400B0EDED /* Preview_multipleExpanded.png */; };
21 | F1C6A4331ED8499400B0EDED /* Preview_singleExpanded.png in Resources */ = {isa = PBXBuildFile; fileRef = F1C6A4311ED8499400B0EDED /* Preview_singleExpanded.png */; };
22 | /* End PBXBuildFile section */
23 |
24 | /* Begin PBXFileReference section */
25 | F13D8EB61CDB631E00CB287F /* ExpandableTableView.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ExpandableTableView.app; sourceTree = BUILT_PRODUCTS_DIR; };
26 | F13D8EBA1CDB631E00CB287F /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; };
27 | F13D8EBC1CDB631E00CB287F /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; };
28 | F13D8EBD1CDB631E00CB287F /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; };
29 | F13D8EBF1CDB631E00CB287F /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; };
30 | F13D8EC01CDB631E00CB287F /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; };
31 | F13D8EC31CDB631E00CB287F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
32 | F13D8EC51CDB631E00CB287F /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
33 | F13D8EC81CDB631E00CB287F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
34 | F13D8ECA1CDB631E00CB287F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
35 | F13D8ED01CDB70F200CB287F /* ViewControllerCellHeader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ViewControllerCellHeader.h; sourceTree = ""; };
36 | F13D8ED11CDB70F200CB287F /* ViewControllerCellHeader.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ViewControllerCellHeader.m; sourceTree = ""; };
37 | F13D8ED31CDB755C00CB287F /* ViewControllerCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ViewControllerCell.h; sourceTree = ""; };
38 | F13D8ED41CDB755C00CB287F /* ViewControllerCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ViewControllerCell.m; sourceTree = ""; };
39 | F1C6A42C1ED8431400B0EDED /* collapsed.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = collapsed.png; sourceTree = ""; };
40 | F1C6A42D1ED8431400B0EDED /* expanded.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = expanded.png; sourceTree = ""; };
41 | F1C6A4301ED8499400B0EDED /* Preview_multipleExpanded.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Preview_multipleExpanded.png; sourceTree = ""; };
42 | F1C6A4311ED8499400B0EDED /* Preview_singleExpanded.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Preview_singleExpanded.png; sourceTree = ""; };
43 | /* End PBXFileReference section */
44 |
45 | /* Begin PBXFrameworksBuildPhase section */
46 | F13D8EB31CDB631E00CB287F /* Frameworks */ = {
47 | isa = PBXFrameworksBuildPhase;
48 | buildActionMask = 2147483647;
49 | files = (
50 | );
51 | runOnlyForDeploymentPostprocessing = 0;
52 | };
53 | /* End PBXFrameworksBuildPhase section */
54 |
55 | /* Begin PBXGroup section */
56 | F13D8EAD1CDB631E00CB287F = {
57 | isa = PBXGroup;
58 | children = (
59 | F13D8EB81CDB631E00CB287F /* ExpandableTableView */,
60 | F13D8EB71CDB631E00CB287F /* Products */,
61 | );
62 | sourceTree = "";
63 | };
64 | F13D8EB71CDB631E00CB287F /* Products */ = {
65 | isa = PBXGroup;
66 | children = (
67 | F13D8EB61CDB631E00CB287F /* ExpandableTableView.app */,
68 | );
69 | name = Products;
70 | sourceTree = "";
71 | };
72 | F13D8EB81CDB631E00CB287F /* ExpandableTableView */ = {
73 | isa = PBXGroup;
74 | children = (
75 | F13D8EBC1CDB631E00CB287F /* AppDelegate.h */,
76 | F13D8EBD1CDB631E00CB287F /* AppDelegate.m */,
77 | F13D8EBF1CDB631E00CB287F /* ViewController.h */,
78 | F13D8EC01CDB631E00CB287F /* ViewController.m */,
79 | F13D8ED31CDB755C00CB287F /* ViewControllerCell.h */,
80 | F13D8ED41CDB755C00CB287F /* ViewControllerCell.m */,
81 | F13D8ED01CDB70F200CB287F /* ViewControllerCellHeader.h */,
82 | F13D8ED11CDB70F200CB287F /* ViewControllerCellHeader.m */,
83 | F13D8EC21CDB631E00CB287F /* Main.storyboard */,
84 | F1C6A42C1ED8431400B0EDED /* collapsed.png */,
85 | F1C6A42D1ED8431400B0EDED /* expanded.png */,
86 | F1C6A4301ED8499400B0EDED /* Preview_multipleExpanded.png */,
87 | F1C6A4311ED8499400B0EDED /* Preview_singleExpanded.png */,
88 | F13D8EC51CDB631E00CB287F /* Assets.xcassets */,
89 | F13D8EC71CDB631E00CB287F /* LaunchScreen.storyboard */,
90 | F13D8ECA1CDB631E00CB287F /* Info.plist */,
91 | F13D8EB91CDB631E00CB287F /* Supporting Files */,
92 | );
93 | path = ExpandableTableView;
94 | sourceTree = "";
95 | };
96 | F13D8EB91CDB631E00CB287F /* Supporting Files */ = {
97 | isa = PBXGroup;
98 | children = (
99 | F13D8EBA1CDB631E00CB287F /* main.m */,
100 | );
101 | name = "Supporting Files";
102 | sourceTree = "";
103 | };
104 | /* End PBXGroup section */
105 |
106 | /* Begin PBXNativeTarget section */
107 | F13D8EB51CDB631E00CB287F /* ExpandableTableView */ = {
108 | isa = PBXNativeTarget;
109 | buildConfigurationList = F13D8ECD1CDB631E00CB287F /* Build configuration list for PBXNativeTarget "ExpandableTableView" */;
110 | buildPhases = (
111 | F13D8EB21CDB631E00CB287F /* Sources */,
112 | F13D8EB31CDB631E00CB287F /* Frameworks */,
113 | F13D8EB41CDB631E00CB287F /* Resources */,
114 | );
115 | buildRules = (
116 | );
117 | dependencies = (
118 | );
119 | name = ExpandableTableView;
120 | productName = ExpandableTableView;
121 | productReference = F13D8EB61CDB631E00CB287F /* ExpandableTableView.app */;
122 | productType = "com.apple.product-type.application";
123 | };
124 | /* End PBXNativeTarget section */
125 |
126 | /* Begin PBXProject section */
127 | F13D8EAE1CDB631E00CB287F /* Project object */ = {
128 | isa = PBXProject;
129 | attributes = {
130 | LastUpgradeCheck = 0820;
131 | ORGANIZATIONNAME = apps;
132 | TargetAttributes = {
133 | F13D8EB51CDB631E00CB287F = {
134 | CreatedOnToolsVersion = 7.2;
135 | DevelopmentTeam = JMF92C9464;
136 | ProvisioningStyle = Automatic;
137 | };
138 | };
139 | };
140 | buildConfigurationList = F13D8EB11CDB631E00CB287F /* Build configuration list for PBXProject "ExpandableTableView" */;
141 | compatibilityVersion = "Xcode 3.2";
142 | developmentRegion = English;
143 | hasScannedForEncodings = 0;
144 | knownRegions = (
145 | en,
146 | Base,
147 | );
148 | mainGroup = F13D8EAD1CDB631E00CB287F;
149 | productRefGroup = F13D8EB71CDB631E00CB287F /* Products */;
150 | projectDirPath = "";
151 | projectRoot = "";
152 | targets = (
153 | F13D8EB51CDB631E00CB287F /* ExpandableTableView */,
154 | );
155 | };
156 | /* End PBXProject section */
157 |
158 | /* Begin PBXResourcesBuildPhase section */
159 | F13D8EB41CDB631E00CB287F /* Resources */ = {
160 | isa = PBXResourcesBuildPhase;
161 | buildActionMask = 2147483647;
162 | files = (
163 | F1C6A42F1ED8431400B0EDED /* expanded.png in Resources */,
164 | F1C6A4321ED8499400B0EDED /* Preview_multipleExpanded.png in Resources */,
165 | F13D8EC91CDB631E00CB287F /* LaunchScreen.storyboard in Resources */,
166 | F13D8EC61CDB631E00CB287F /* Assets.xcassets in Resources */,
167 | F13D8EC41CDB631E00CB287F /* Main.storyboard in Resources */,
168 | F1C6A4331ED8499400B0EDED /* Preview_singleExpanded.png in Resources */,
169 | F1C6A42E1ED8431400B0EDED /* collapsed.png in Resources */,
170 | );
171 | runOnlyForDeploymentPostprocessing = 0;
172 | };
173 | /* End PBXResourcesBuildPhase section */
174 |
175 | /* Begin PBXSourcesBuildPhase section */
176 | F13D8EB21CDB631E00CB287F /* Sources */ = {
177 | isa = PBXSourcesBuildPhase;
178 | buildActionMask = 2147483647;
179 | files = (
180 | F13D8ED51CDB755C00CB287F /* ViewControllerCell.m in Sources */,
181 | F13D8EC11CDB631E00CB287F /* ViewController.m in Sources */,
182 | F13D8ED21CDB70F200CB287F /* ViewControllerCellHeader.m in Sources */,
183 | F13D8EBE1CDB631E00CB287F /* AppDelegate.m in Sources */,
184 | F13D8EBB1CDB631E00CB287F /* main.m in Sources */,
185 | );
186 | runOnlyForDeploymentPostprocessing = 0;
187 | };
188 | /* End PBXSourcesBuildPhase section */
189 |
190 | /* Begin PBXVariantGroup section */
191 | F13D8EC21CDB631E00CB287F /* Main.storyboard */ = {
192 | isa = PBXVariantGroup;
193 | children = (
194 | F13D8EC31CDB631E00CB287F /* Base */,
195 | );
196 | name = Main.storyboard;
197 | sourceTree = "";
198 | };
199 | F13D8EC71CDB631E00CB287F /* LaunchScreen.storyboard */ = {
200 | isa = PBXVariantGroup;
201 | children = (
202 | F13D8EC81CDB631E00CB287F /* Base */,
203 | );
204 | name = LaunchScreen.storyboard;
205 | sourceTree = "";
206 | };
207 | /* End PBXVariantGroup section */
208 |
209 | /* Begin XCBuildConfiguration section */
210 | F13D8ECB1CDB631E00CB287F /* Debug */ = {
211 | isa = XCBuildConfiguration;
212 | buildSettings = {
213 | ALWAYS_SEARCH_USER_PATHS = NO;
214 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
215 | CLANG_CXX_LIBRARY = "libc++";
216 | CLANG_ENABLE_MODULES = YES;
217 | CLANG_ENABLE_OBJC_ARC = YES;
218 | CLANG_WARN_BOOL_CONVERSION = YES;
219 | CLANG_WARN_CONSTANT_CONVERSION = YES;
220 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
221 | CLANG_WARN_EMPTY_BODY = YES;
222 | CLANG_WARN_ENUM_CONVERSION = YES;
223 | CLANG_WARN_INFINITE_RECURSION = YES;
224 | CLANG_WARN_INT_CONVERSION = YES;
225 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
226 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
227 | CLANG_WARN_UNREACHABLE_CODE = YES;
228 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
229 | CODE_SIGN_IDENTITY = "iPhone Developer: Vikas Jain (4UFWUEKRMP)";
230 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer: Vikas Jain (4UFWUEKRMP)";
231 | COPY_PHASE_STRIP = NO;
232 | DEBUG_INFORMATION_FORMAT = dwarf;
233 | DEVELOPMENT_TEAM = QZFP998P47;
234 | ENABLE_STRICT_OBJC_MSGSEND = YES;
235 | ENABLE_TESTABILITY = YES;
236 | GCC_C_LANGUAGE_STANDARD = gnu99;
237 | GCC_DYNAMIC_NO_PIC = NO;
238 | GCC_NO_COMMON_BLOCKS = YES;
239 | GCC_OPTIMIZATION_LEVEL = 0;
240 | GCC_PREPROCESSOR_DEFINITIONS = (
241 | "DEBUG=1",
242 | "$(inherited)",
243 | );
244 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
245 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
246 | GCC_WARN_UNDECLARED_SELECTOR = YES;
247 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
248 | GCC_WARN_UNUSED_FUNCTION = YES;
249 | GCC_WARN_UNUSED_VARIABLE = YES;
250 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
251 | MTL_ENABLE_DEBUG_INFO = YES;
252 | ONLY_ACTIVE_ARCH = YES;
253 | PROVISIONING_PROFILE = "e4ce8958-1c17-4ebf-bf4d-7ab220b53645";
254 | SDKROOT = iphoneos;
255 | };
256 | name = Debug;
257 | };
258 | F13D8ECC1CDB631E00CB287F /* Release */ = {
259 | isa = XCBuildConfiguration;
260 | buildSettings = {
261 | ALWAYS_SEARCH_USER_PATHS = NO;
262 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
263 | CLANG_CXX_LIBRARY = "libc++";
264 | CLANG_ENABLE_MODULES = YES;
265 | CLANG_ENABLE_OBJC_ARC = YES;
266 | CLANG_WARN_BOOL_CONVERSION = YES;
267 | CLANG_WARN_CONSTANT_CONVERSION = YES;
268 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
269 | CLANG_WARN_EMPTY_BODY = YES;
270 | CLANG_WARN_ENUM_CONVERSION = YES;
271 | CLANG_WARN_INFINITE_RECURSION = YES;
272 | CLANG_WARN_INT_CONVERSION = YES;
273 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
274 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
275 | CLANG_WARN_UNREACHABLE_CODE = YES;
276 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
277 | CODE_SIGN_IDENTITY = "iPhone Developer: Vikas Jain (4UFWUEKRMP)";
278 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer: Vikas Jain (4UFWUEKRMP)";
279 | COPY_PHASE_STRIP = NO;
280 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
281 | DEVELOPMENT_TEAM = QZFP998P47;
282 | ENABLE_NS_ASSERTIONS = NO;
283 | ENABLE_STRICT_OBJC_MSGSEND = YES;
284 | GCC_C_LANGUAGE_STANDARD = gnu99;
285 | GCC_NO_COMMON_BLOCKS = YES;
286 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
287 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
288 | GCC_WARN_UNDECLARED_SELECTOR = YES;
289 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
290 | GCC_WARN_UNUSED_FUNCTION = YES;
291 | GCC_WARN_UNUSED_VARIABLE = YES;
292 | IPHONEOS_DEPLOYMENT_TARGET = 8.0;
293 | MTL_ENABLE_DEBUG_INFO = NO;
294 | PROVISIONING_PROFILE = "e4ce8958-1c17-4ebf-bf4d-7ab220b53645";
295 | SDKROOT = iphoneos;
296 | VALIDATE_PRODUCT = YES;
297 | };
298 | name = Release;
299 | };
300 | F13D8ECE1CDB631E00CB287F /* Debug */ = {
301 | isa = XCBuildConfiguration;
302 | buildSettings = {
303 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
304 | CODE_SIGN_IDENTITY = "iPhone Developer: Vikas Jain (4UFWUEKRMP)";
305 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
306 | DEVELOPMENT_TEAM = JMF92C9464;
307 | INFOPLIST_FILE = ExpandableTableView/Info.plist;
308 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
309 | PRODUCT_BUNDLE_IDENTIFIER = com.apps.ExpandableTableView;
310 | PRODUCT_NAME = "$(TARGET_NAME)";
311 | PROVISIONING_PROFILE = "";
312 | PROVISIONING_PROFILE_SPECIFIER = "";
313 | };
314 | name = Debug;
315 | };
316 | F13D8ECF1CDB631E00CB287F /* Release */ = {
317 | isa = XCBuildConfiguration;
318 | buildSettings = {
319 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
320 | CODE_SIGN_IDENTITY = "iPhone Developer: Vikas Jain (4UFWUEKRMP)";
321 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
322 | DEVELOPMENT_TEAM = JMF92C9464;
323 | INFOPLIST_FILE = ExpandableTableView/Info.plist;
324 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
325 | PRODUCT_BUNDLE_IDENTIFIER = com.apps.ExpandableTableView;
326 | PRODUCT_NAME = "$(TARGET_NAME)";
327 | PROVISIONING_PROFILE = "";
328 | PROVISIONING_PROFILE_SPECIFIER = "";
329 | };
330 | name = Release;
331 | };
332 | /* End XCBuildConfiguration section */
333 |
334 | /* Begin XCConfigurationList section */
335 | F13D8EB11CDB631E00CB287F /* Build configuration list for PBXProject "ExpandableTableView" */ = {
336 | isa = XCConfigurationList;
337 | buildConfigurations = (
338 | F13D8ECB1CDB631E00CB287F /* Debug */,
339 | F13D8ECC1CDB631E00CB287F /* Release */,
340 | );
341 | defaultConfigurationIsVisible = 0;
342 | defaultConfigurationName = Release;
343 | };
344 | F13D8ECD1CDB631E00CB287F /* Build configuration list for PBXNativeTarget "ExpandableTableView" */ = {
345 | isa = XCConfigurationList;
346 | buildConfigurations = (
347 | F13D8ECE1CDB631E00CB287F /* Debug */,
348 | F13D8ECF1CDB631E00CB287F /* Release */,
349 | );
350 | defaultConfigurationIsVisible = 0;
351 | defaultConfigurationName = Release;
352 | };
353 | /* End XCConfigurationList section */
354 | };
355 | rootObject = F13D8EAE1CDB631E00CB287F /* Project object */;
356 | }
357 |
--------------------------------------------------------------------------------