├── ExpandableHeaders-ObjC
├── ExpandableHeaders
│ ├── Assets.xcassets
│ │ ├── Contents.json
│ │ ├── AppIcon.appiconset
│ │ │ ├── AppIcon20.png
│ │ │ ├── AppIcon29.png
│ │ │ ├── AppIcon40.png
│ │ │ ├── AppIcon76.png
│ │ │ ├── AppIcon20@2x.png
│ │ │ ├── AppIcon20@3x.png
│ │ │ ├── AppIcon29@2x.png
│ │ │ ├── AppIcon29@3x.png
│ │ │ ├── AppIcon40@2x.png
│ │ │ ├── AppIcon40@3x.png
│ │ │ ├── AppIcon60@2x.png
│ │ │ ├── AppIcon60@3x.png
│ │ │ ├── AppIcon76@2x.png
│ │ │ ├── AppIcon83-5@2x.png
│ │ │ └── Contents.json
│ │ └── Chevron-Dn-Wht.imageset
│ │ │ ├── Chevron-Dn-Wht.png
│ │ │ ├── Chevron-Dn-Wht@2x.png
│ │ │ ├── Chevron-Dn-Wht@3x.png
│ │ │ └── Contents.json
│ ├── ViewController.h
│ ├── AppDelegate.h
│ ├── main.m
│ ├── UIColor+AppColors.h
│ ├── UIColor+AppColors.m
│ ├── Info.plist
│ ├── Base.lproj
│ │ ├── LaunchScreen.storyboard
│ │ └── Main.storyboard
│ ├── AppDelegate.m
│ └── ViewController.m
└── ExpandableHeaders.xcodeproj
│ ├── project.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcuserdata
│ │ └── jamesjohnson.xcuserdatad
│ │ └── UserInterfaceState.xcuserstate
│ ├── xcuserdata
│ └── jamesjohnson.xcuserdatad
│ │ ├── xcschemes
│ │ ├── xcschememanagement.plist
│ │ └── ExpandableHeaders.xcscheme
│ │ └── xcdebugger
│ │ └── Breakpoints_v2.xcbkptlist
│ └── project.pbxproj
└── ExpandableHeaders-Swift
├── ExpandableHeaders
├── Assets.xcassets
│ ├── Contents.json
│ ├── AppIcon.appiconset
│ │ ├── AppIcon20.png
│ │ ├── AppIcon29.png
│ │ ├── AppIcon40.png
│ │ ├── AppIcon76.png
│ │ ├── AppIcon20@2x.png
│ │ ├── AppIcon20@3x.png
│ │ ├── AppIcon29@2x.png
│ │ ├── AppIcon29@3x.png
│ │ ├── AppIcon40@2x.png
│ │ ├── AppIcon40@3x.png
│ │ ├── AppIcon60@2x.png
│ │ ├── AppIcon60@3x.png
│ │ ├── AppIcon76@2x.png
│ │ ├── AppIcon83-5@2x.png
│ │ └── Contents.json
│ └── Chevron-Dn-Wht.imageset
│ │ ├── Chevron-Dn-Wht.png
│ │ ├── Chevron-Dn-Wht@2x.png
│ │ ├── Chevron-Dn-Wht@3x.png
│ │ └── Contents.json
├── UIColor+AppColors.swift
├── Info.plist
├── Base.lproj
│ ├── LaunchScreen.storyboard
│ └── Main.storyboard
├── AppDelegate.swift
└── ViewController.swift
└── ExpandableHeaders.xcodeproj
├── xcuserdata
└── jamesjohnson.xcuserdatad
│ ├── xcdebugger
│ └── Breakpoints_v2.xcbkptlist
│ └── xcschemes
│ ├── xcschememanagement.plist
│ └── ExpandableHeaders.xcscheme
├── project.xcworkspace
├── contents.xcworkspacedata
└── xcuserdata
│ └── jamesjohnson.xcuserdatad
│ └── UserInterfaceState.xcuserstate
└── project.pbxproj
/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/ExpandableHeaders-Swift/ExpandableHeaders.xcodeproj/xcuserdata/jamesjohnson.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
--------------------------------------------------------------------------------
/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon20.png
--------------------------------------------------------------------------------
/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon29.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon29.png
--------------------------------------------------------------------------------
/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon40.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon40.png
--------------------------------------------------------------------------------
/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon76.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon76.png
--------------------------------------------------------------------------------
/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon20.png
--------------------------------------------------------------------------------
/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon29.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon29.png
--------------------------------------------------------------------------------
/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon40.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon40.png
--------------------------------------------------------------------------------
/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon76.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon76.png
--------------------------------------------------------------------------------
/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon20@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon20@2x.png
--------------------------------------------------------------------------------
/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon20@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon20@3x.png
--------------------------------------------------------------------------------
/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon29@2x.png
--------------------------------------------------------------------------------
/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon29@3x.png
--------------------------------------------------------------------------------
/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon40@2x.png
--------------------------------------------------------------------------------
/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon40@3x.png
--------------------------------------------------------------------------------
/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon60@2x.png
--------------------------------------------------------------------------------
/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon60@3x.png
--------------------------------------------------------------------------------
/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon76@2x.png
--------------------------------------------------------------------------------
/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon20@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon20@2x.png
--------------------------------------------------------------------------------
/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon20@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon20@3x.png
--------------------------------------------------------------------------------
/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon29@2x.png
--------------------------------------------------------------------------------
/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon29@3x.png
--------------------------------------------------------------------------------
/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon40@2x.png
--------------------------------------------------------------------------------
/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon40@3x.png
--------------------------------------------------------------------------------
/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon60@2x.png
--------------------------------------------------------------------------------
/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon60@3x.png
--------------------------------------------------------------------------------
/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon76@2x.png
--------------------------------------------------------------------------------
/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon83-5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon83-5@2x.png
--------------------------------------------------------------------------------
/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon83-5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/AppIcon83-5@2x.png
--------------------------------------------------------------------------------
/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/Chevron-Dn-Wht.imageset/Chevron-Dn-Wht.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/Chevron-Dn-Wht.imageset/Chevron-Dn-Wht.png
--------------------------------------------------------------------------------
/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/Chevron-Dn-Wht.imageset/Chevron-Dn-Wht.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/Chevron-Dn-Wht.imageset/Chevron-Dn-Wht.png
--------------------------------------------------------------------------------
/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/Chevron-Dn-Wht.imageset/Chevron-Dn-Wht@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/Chevron-Dn-Wht.imageset/Chevron-Dn-Wht@2x.png
--------------------------------------------------------------------------------
/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/Chevron-Dn-Wht.imageset/Chevron-Dn-Wht@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/Chevron-Dn-Wht.imageset/Chevron-Dn-Wht@3x.png
--------------------------------------------------------------------------------
/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/Chevron-Dn-Wht.imageset/Chevron-Dn-Wht@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/Chevron-Dn-Wht.imageset/Chevron-Dn-Wht@2x.png
--------------------------------------------------------------------------------
/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/Chevron-Dn-Wht.imageset/Chevron-Dn-Wht@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/Chevron-Dn-Wht.imageset/Chevron-Dn-Wht@3x.png
--------------------------------------------------------------------------------
/ExpandableHeaders-ObjC/ExpandableHeaders.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ExpandableHeaders-Swift/ExpandableHeaders.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ExpandableHeaders-ObjC/ExpandableHeaders.xcodeproj/project.xcworkspace/xcuserdata/jamesjohnson.xcuserdatad/UserInterfaceState.xcuserstate:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-ObjC/ExpandableHeaders.xcodeproj/project.xcworkspace/xcuserdata/jamesjohnson.xcuserdatad/UserInterfaceState.xcuserstate
--------------------------------------------------------------------------------
/ExpandableHeaders-Swift/ExpandableHeaders.xcodeproj/project.xcworkspace/xcuserdata/jamesjohnson.xcuserdatad/UserInterfaceState.xcuserstate:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjohnson2/UITableViewExpandCollapse/HEAD/ExpandableHeaders-Swift/ExpandableHeaders.xcodeproj/project.xcworkspace/xcuserdata/jamesjohnson.xcuserdatad/UserInterfaceState.xcuserstate
--------------------------------------------------------------------------------
/ExpandableHeaders-ObjC/ExpandableHeaders/ViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.h
3 | // ExpandableHeaders
4 | //
5 | // Created by James Johnson on 05/01/2017.
6 | // Copyright © 2017 Anexinet. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ViewController : UIViewController
12 |
13 | @end
14 |
15 |
--------------------------------------------------------------------------------
/ExpandableHeaders-ObjC/ExpandableHeaders/AppDelegate.h:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.h
3 | // ExpandableHeaders
4 | //
5 | // Created by James Johnson on 5/1/17.
6 | // Copyright © 2017 Anexinet. 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 |
--------------------------------------------------------------------------------
/ExpandableHeaders-ObjC/ExpandableHeaders/main.m:
--------------------------------------------------------------------------------
1 | //
2 | // main.m
3 | // ExpandableHeaders
4 | //
5 | // Created by James Johnson on 5/1/17.
6 | // Copyright © 2017 Anexinet. 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 |
--------------------------------------------------------------------------------
/ExpandableHeaders-ObjC/ExpandableHeaders/UIColor+AppColors.h:
--------------------------------------------------------------------------------
1 | //
2 | // UIColor+AppColors.h
3 | // LifeWorks
4 | //
5 | // Created by James Johnson on 06/01/2016.
6 | // Copyright © 2016 Anexinet. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface UIColor (appColors)
12 | // custom color methods
13 | + (UIColor *)colorWithHexString:(NSString *)str; // takes @"#123456"
14 | + (UIColor *)colorWithHex:(int)col; // takes 0x67b565
15 | + (void)changeImageColor:(UIImageView *)theImageView toColor:(UIColor *)newColor;
16 |
17 | @end
18 |
--------------------------------------------------------------------------------
/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/Chevron-Dn-Wht.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "Chevron-Dn-Wht.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "Chevron-Dn-Wht@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "Chevron-Dn-Wht@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/Chevron-Dn-Wht.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "Chevron-Dn-Wht.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "Chevron-Dn-Wht@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "Chevron-Dn-Wht@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/ExpandableHeaders-ObjC/ExpandableHeaders.xcodeproj/xcuserdata/jamesjohnson.xcuserdatad/xcschemes/xcschememanagement.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SchemeUserState
6 |
7 | ExpandableHeaders.xcscheme
8 |
9 | orderHint
10 | 0
11 |
12 |
13 | SuppressBuildableAutocreation
14 |
15 | 42B60F9B1EB7733D00264805
16 |
17 | primary
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/ExpandableHeaders-Swift/ExpandableHeaders.xcodeproj/xcuserdata/jamesjohnson.xcuserdatad/xcschemes/xcschememanagement.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SchemeUserState
6 |
7 | ExpandableHeaders.xcscheme
8 |
9 | orderHint
10 | 0
11 |
12 |
13 | SuppressBuildableAutocreation
14 |
15 | 42BD9DEC1EB8BE9800475D0D
16 |
17 | primary
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/ExpandableHeaders-ObjC/ExpandableHeaders.xcodeproj/xcuserdata/jamesjohnson.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
8 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/ExpandableHeaders-ObjC/ExpandableHeaders/UIColor+AppColors.m:
--------------------------------------------------------------------------------
1 | //
2 | // UIColor+AppColors.m
3 | // LifeWorks
4 | //
5 | // Created by James Johnson on 06/01/2016.
6 | // Copyright © 2016 Anexinet. All rights reserved.
7 | //
8 |
9 | #import "UIColor+AppColors.h"
10 |
11 | @implementation UIColor (appColors)
12 | // custom color methods
13 | + (UIColor *)colorWithHexString:(NSString *)str {
14 | if (str == nil) {
15 | return [UIColor colorWithHex:(int)0xFF5300];
16 | } else {
17 | const char *cStr = [str cStringUsingEncoding:NSASCIIStringEncoding];
18 | long x = strtol(cStr + 1, NULL, 16);
19 |
20 | return [UIColor colorWithHex:(int)x];
21 | }
22 | }
23 |
24 | + (UIColor *)colorWithHex:(int)hex {
25 |
26 | int r = (hex >> 16) & 0xFF;
27 | int g = (hex >> 8) & 0xFF;
28 | int b = hex & 0xFF;
29 |
30 | return [UIColor colorWithRed:(float)r / 255.0f
31 | green:(float)g / 255.0f
32 | blue:(float)b / 255.0f
33 | alpha:1.0f];
34 | }
35 |
36 | + (void)changeImageColor:(UIImageView *)theImageView toColor:(UIColor *)newColor {
37 | theImageView.image = [theImageView.image imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];
38 | theImageView.tintColor = newColor;
39 | }
40 |
41 | @end
42 |
--------------------------------------------------------------------------------
/ExpandableHeaders-Swift/ExpandableHeaders/UIColor+AppColors.swift:
--------------------------------------------------------------------------------
1 | //
2 | // UIColor+AppColors.swift
3 | // ExpandableHeaders
4 | //
5 | // Created by James Johnson on 05/02/2017.
6 | // Copyright © 2017 Anexinet. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | extension UIColor {
12 |
13 | // custom color methods
14 | class func colorWithHex(rgbValue: UInt32) -> UIColor {
15 | return UIColor( red: CGFloat((rgbValue & 0xFF0000) >> 16) / 255.0,
16 | green: CGFloat((rgbValue & 0x00FF00) >> 8) / 255.0,
17 | blue: CGFloat(rgbValue & 0x0000FF) / 255.0,
18 | alpha: CGFloat(1.0))
19 | }
20 |
21 | class func colorWithHexString(hexStr: String) -> UIColor {
22 | var cString:String = hexStr.trimmingCharacters(in: .whitespacesAndNewlines).uppercased()
23 |
24 | if (hexStr.hasPrefix("#")) {
25 | cString.remove(at: cString.startIndex)
26 | }
27 | if (cString.isEmpty || (cString.characters.count) != 6) {
28 | return colorWithHex(rgbValue: 0xFF5300);
29 | } else {
30 | var rgbValue:UInt32 = 0
31 | Scanner(string: cString).scanHexInt32(&rgbValue)
32 |
33 | return colorWithHex(rgbValue: rgbValue);
34 | }
35 | }
36 |
37 | func changeImageColor(theImageView: UIImageView, newColor: UIColor) {
38 | theImageView.image = theImageView.image?.withRenderingMode(.alwaysOriginal)
39 | theImageView.tintColor = newColor;
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/ExpandableHeaders-ObjC/ExpandableHeaders/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 | CFBundleVersion
20 | 1
21 | LSRequiresIPhoneOS
22 |
23 | UILaunchStoryboardName
24 | LaunchScreen
25 | UIMainStoryboardFile
26 | Main
27 | UIRequiredDeviceCapabilities
28 |
29 | armv7
30 |
31 | UISupportedInterfaceOrientations
32 |
33 | UIInterfaceOrientationPortrait
34 | UIInterfaceOrientationLandscapeLeft
35 | UIInterfaceOrientationLandscapeRight
36 |
37 | UISupportedInterfaceOrientations~ipad
38 |
39 | UIInterfaceOrientationPortrait
40 | UIInterfaceOrientationPortraitUpsideDown
41 | UIInterfaceOrientationLandscapeLeft
42 | UIInterfaceOrientationLandscapeRight
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/ExpandableHeaders-Swift/ExpandableHeaders/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 | CFBundleVersion
20 | 1
21 | LSRequiresIPhoneOS
22 |
23 | UILaunchStoryboardName
24 | LaunchScreen
25 | UIMainStoryboardFile
26 | Main
27 | UIRequiredDeviceCapabilities
28 |
29 | armv7
30 |
31 | UISupportedInterfaceOrientations
32 |
33 | UIInterfaceOrientationPortrait
34 | UIInterfaceOrientationLandscapeLeft
35 | UIInterfaceOrientationLandscapeRight
36 |
37 | UISupportedInterfaceOrientations~ipad
38 |
39 | UIInterfaceOrientationPortrait
40 | UIInterfaceOrientationPortraitUpsideDown
41 | UIInterfaceOrientationLandscapeLeft
42 | UIInterfaceOrientationLandscapeRight
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/ExpandableHeaders-ObjC/ExpandableHeaders/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 |
--------------------------------------------------------------------------------
/ExpandableHeaders-Swift/ExpandableHeaders/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 |
--------------------------------------------------------------------------------
/ExpandableHeaders-ObjC/ExpandableHeaders/AppDelegate.m:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.m
3 | // ExpandableHeaders
4 | //
5 | // Created by James Johnson on 5/1/17.
6 | // Copyright © 2017 Anexinet. 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 |
24 | - (void)applicationWillResignActive:(UIApplication *)application {
25 | // 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.
26 | // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
27 | }
28 |
29 |
30 | - (void)applicationDidEnterBackground:(UIApplication *)application {
31 | // 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.
32 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
33 | }
34 |
35 |
36 | - (void)applicationWillEnterForeground:(UIApplication *)application {
37 | // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
38 | }
39 |
40 |
41 | - (void)applicationDidBecomeActive:(UIApplication *)application {
42 | // 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.
43 | }
44 |
45 |
46 | - (void)applicationWillTerminate:(UIApplication *)application {
47 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
48 | }
49 |
50 |
51 | @end
52 |
--------------------------------------------------------------------------------
/ExpandableHeaders-Swift/ExpandableHeaders/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.swift
3 | // ExpandableHeaders
4 | //
5 | // Created by James Johnson on 5/2/17.
6 | // Copyright © 2017 Anexinet. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | @UIApplicationMain
12 | class AppDelegate: UIResponder, UIApplicationDelegate {
13 |
14 | var window: UIWindow?
15 |
16 |
17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
18 | // Override point for customization after application launch.
19 | return true
20 | }
21 |
22 | func applicationWillResignActive(_ application: UIApplication) {
23 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
24 | // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. 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 active 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 |
--------------------------------------------------------------------------------
/ExpandableHeaders-ObjC/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "20x20",
5 | "idiom" : "iphone",
6 | "filename" : "AppIcon20@2x.png",
7 | "scale" : "2x"
8 | },
9 | {
10 | "size" : "20x20",
11 | "idiom" : "iphone",
12 | "filename" : "AppIcon20@3x.png",
13 | "scale" : "3x"
14 | },
15 | {
16 | "size" : "29x29",
17 | "idiom" : "iphone",
18 | "filename" : "AppIcon29@2x.png",
19 | "scale" : "2x"
20 | },
21 | {
22 | "size" : "29x29",
23 | "idiom" : "iphone",
24 | "filename" : "AppIcon29@3x.png",
25 | "scale" : "3x"
26 | },
27 | {
28 | "size" : "40x40",
29 | "idiom" : "iphone",
30 | "filename" : "AppIcon40@2x.png",
31 | "scale" : "2x"
32 | },
33 | {
34 | "size" : "40x40",
35 | "idiom" : "iphone",
36 | "filename" : "AppIcon40@3x.png",
37 | "scale" : "3x"
38 | },
39 | {
40 | "size" : "60x60",
41 | "idiom" : "iphone",
42 | "filename" : "AppIcon60@2x.png",
43 | "scale" : "2x"
44 | },
45 | {
46 | "size" : "60x60",
47 | "idiom" : "iphone",
48 | "filename" : "AppIcon60@3x.png",
49 | "scale" : "3x"
50 | },
51 | {
52 | "size" : "20x20",
53 | "idiom" : "ipad",
54 | "filename" : "AppIcon20.png",
55 | "scale" : "1x"
56 | },
57 | {
58 | "size" : "20x20",
59 | "idiom" : "ipad",
60 | "filename" : "AppIcon20@2x.png",
61 | "scale" : "2x"
62 | },
63 | {
64 | "size" : "29x29",
65 | "idiom" : "ipad",
66 | "filename" : "AppIcon29.png",
67 | "scale" : "1x"
68 | },
69 | {
70 | "size" : "29x29",
71 | "idiom" : "ipad",
72 | "filename" : "AppIcon29@2x.png",
73 | "scale" : "2x"
74 | },
75 | {
76 | "size" : "40x40",
77 | "idiom" : "ipad",
78 | "filename" : "AppIcon40.png",
79 | "scale" : "1x"
80 | },
81 | {
82 | "size" : "40x40",
83 | "idiom" : "ipad",
84 | "filename" : "AppIcon40@2x.png",
85 | "scale" : "2x"
86 | },
87 | {
88 | "size" : "76x76",
89 | "idiom" : "ipad",
90 | "filename" : "AppIcon76.png",
91 | "scale" : "1x"
92 | },
93 | {
94 | "size" : "76x76",
95 | "idiom" : "ipad",
96 | "filename" : "AppIcon76@2x.png",
97 | "scale" : "2x"
98 | },
99 | {
100 | "size" : "83.5x83.5",
101 | "idiom" : "ipad",
102 | "filename" : "AppIcon83-5@2x.png",
103 | "scale" : "2x"
104 | }
105 | ],
106 | "info" : {
107 | "version" : 1,
108 | "author" : "xcode"
109 | }
110 | }
--------------------------------------------------------------------------------
/ExpandableHeaders-Swift/ExpandableHeaders/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "20x20",
5 | "idiom" : "iphone",
6 | "filename" : "AppIcon20@2x.png",
7 | "scale" : "2x"
8 | },
9 | {
10 | "size" : "20x20",
11 | "idiom" : "iphone",
12 | "filename" : "AppIcon20@3x.png",
13 | "scale" : "3x"
14 | },
15 | {
16 | "size" : "29x29",
17 | "idiom" : "iphone",
18 | "filename" : "AppIcon29@2x.png",
19 | "scale" : "2x"
20 | },
21 | {
22 | "size" : "29x29",
23 | "idiom" : "iphone",
24 | "filename" : "AppIcon29@3x.png",
25 | "scale" : "3x"
26 | },
27 | {
28 | "size" : "40x40",
29 | "idiom" : "iphone",
30 | "filename" : "AppIcon40@2x.png",
31 | "scale" : "2x"
32 | },
33 | {
34 | "size" : "40x40",
35 | "idiom" : "iphone",
36 | "filename" : "AppIcon40@3x.png",
37 | "scale" : "3x"
38 | },
39 | {
40 | "size" : "60x60",
41 | "idiom" : "iphone",
42 | "filename" : "AppIcon60@2x.png",
43 | "scale" : "2x"
44 | },
45 | {
46 | "size" : "60x60",
47 | "idiom" : "iphone",
48 | "filename" : "AppIcon60@3x.png",
49 | "scale" : "3x"
50 | },
51 | {
52 | "size" : "20x20",
53 | "idiom" : "ipad",
54 | "filename" : "AppIcon20.png",
55 | "scale" : "1x"
56 | },
57 | {
58 | "size" : "20x20",
59 | "idiom" : "ipad",
60 | "filename" : "AppIcon20@2x.png",
61 | "scale" : "2x"
62 | },
63 | {
64 | "size" : "29x29",
65 | "idiom" : "ipad",
66 | "filename" : "AppIcon29.png",
67 | "scale" : "1x"
68 | },
69 | {
70 | "size" : "29x29",
71 | "idiom" : "ipad",
72 | "filename" : "AppIcon29@2x.png",
73 | "scale" : "2x"
74 | },
75 | {
76 | "size" : "40x40",
77 | "idiom" : "ipad",
78 | "filename" : "AppIcon40.png",
79 | "scale" : "1x"
80 | },
81 | {
82 | "size" : "40x40",
83 | "idiom" : "ipad",
84 | "filename" : "AppIcon40@2x.png",
85 | "scale" : "2x"
86 | },
87 | {
88 | "size" : "76x76",
89 | "idiom" : "ipad",
90 | "filename" : "AppIcon76.png",
91 | "scale" : "1x"
92 | },
93 | {
94 | "size" : "76x76",
95 | "idiom" : "ipad",
96 | "filename" : "AppIcon76@2x.png",
97 | "scale" : "2x"
98 | },
99 | {
100 | "size" : "83.5x83.5",
101 | "idiom" : "ipad",
102 | "filename" : "AppIcon83-5@2x.png",
103 | "scale" : "2x"
104 | }
105 | ],
106 | "info" : {
107 | "version" : 1,
108 | "author" : "xcode"
109 | }
110 | }
--------------------------------------------------------------------------------
/ExpandableHeaders-ObjC/ExpandableHeaders.xcodeproj/xcuserdata/jamesjohnson.xcuserdatad/xcschemes/ExpandableHeaders.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 |
--------------------------------------------------------------------------------
/ExpandableHeaders-Swift/ExpandableHeaders.xcodeproj/xcuserdata/jamesjohnson.xcuserdatad/xcschemes/ExpandableHeaders.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 |
--------------------------------------------------------------------------------
/ExpandableHeaders-Swift/ExpandableHeaders/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 |
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 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
--------------------------------------------------------------------------------
/ExpandableHeaders-ObjC/ExpandableHeaders/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 |
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 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
--------------------------------------------------------------------------------
/ExpandableHeaders-Swift/ExpandableHeaders/ViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.swift
3 | // ExpandableHeaders
4 | //
5 | // Created by James Johnson on 5/2/17.
6 | // Copyright © 2017 Anexinet. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class ViewController: UIViewController, UITableViewDelegate, UITableViewDataSource {
12 |
13 | let kHeaderSectionTag: Int = 6900;
14 |
15 | @IBOutlet weak var tableView: UITableView!
16 |
17 | var expandedSectionHeaderNumber: Int = -1
18 | var expandedSectionHeader: UITableViewHeaderFooterView!
19 | var sectionItems: Array = []
20 | var sectionNames: Array = []
21 |
22 | override func viewDidLoad() {
23 | super.viewDidLoad()
24 |
25 | sectionNames = [ "iPhone", "iPad", "Apple Watch" ];
26 | sectionItems = [ ["iPhone 5", "iPhone 5s", "iPhone 6", "iPhone 6 Plus", "iPhone 7", "iPhone 7 Plus"],
27 | ["iPad Mini", "iPad Air 2", "iPad Pro", "iPad Pro 9.7"],
28 | ["Apple Watch", "Apple Watch 2", "Apple Watch 2 (Nike)"]
29 | ];
30 | self.tableView!.tableFooterView = UIView()
31 | }
32 |
33 | override func viewWillAppear(_ animated: Bool) {
34 | super.viewWillAppear(animated)
35 |
36 | }
37 |
38 | override func didReceiveMemoryWarning() {
39 | super.didReceiveMemoryWarning()
40 | // Dispose of any resources that can be recreated.
41 | }
42 |
43 | // MARK: - Tableview Methods
44 |
45 | func numberOfSections(in tableView: UITableView) -> Int {
46 | if sectionNames.count > 0 {
47 | tableView.backgroundView = nil
48 | return sectionNames.count
49 | } else {
50 | let messageLabel = UILabel(frame: CGRect(x: 0, y: 0, width: view.bounds.size.width, height: view.bounds.size.height))
51 | messageLabel.text = "Retrieving data.\nPlease wait."
52 | messageLabel.numberOfLines = 0;
53 | messageLabel.textAlignment = .center;
54 | messageLabel.font = UIFont(name: "HelveticaNeue", size: 20.0)!
55 | messageLabel.sizeToFit()
56 | self.tableView.backgroundView = messageLabel;
57 | }
58 | return 0
59 | }
60 |
61 | func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
62 | if (self.expandedSectionHeaderNumber == section) {
63 | let arrayOfItems = self.sectionItems[section] as! NSArray
64 | return arrayOfItems.count;
65 | } else {
66 | return 0;
67 | }
68 | }
69 |
70 | func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String? {
71 | if (self.sectionNames.count != 0) {
72 | return self.sectionNames[section] as? String
73 | }
74 | return ""
75 | }
76 |
77 | func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat {
78 | return 44.0;
79 | }
80 |
81 | func tableView(_ tableView: UITableView, heightForFooterInSection section: Int) -> CGFloat{
82 | return 0;
83 | }
84 |
85 | func tableView(_ tableView: UITableView, willDisplayHeaderView view: UIView, forSection section: Int) {
86 | //recast your view as a UITableViewHeaderFooterView
87 | let header: UITableViewHeaderFooterView = view as! UITableViewHeaderFooterView
88 | header.contentView.backgroundColor = UIColor.colorWithHexString(hexStr: "#408000")
89 | header.textLabel?.textColor = UIColor.white
90 |
91 | if let viewWithTag = self.view.viewWithTag(kHeaderSectionTag + section) {
92 | viewWithTag.removeFromSuperview()
93 | }
94 | let headerFrame = self.view.frame.size
95 | let theImageView = UIImageView(frame: CGRect(x: headerFrame.width - 32, y: 13, width: 18, height: 18));
96 | theImageView.image = UIImage(named: "Chevron-Dn-Wht")
97 | theImageView.tag = kHeaderSectionTag + section
98 | header.addSubview(theImageView)
99 |
100 | // make headers touchable
101 | header.tag = section
102 | let headerTapGesture = UITapGestureRecognizer()
103 | headerTapGesture.addTarget(self, action: #selector(ViewController.sectionHeaderWasTouched(_:)))
104 | header.addGestureRecognizer(headerTapGesture)
105 | }
106 |
107 | func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
108 | let cell = tableView.dequeueReusableCell(withIdentifier: "tableCell", for: indexPath) as UITableViewCell
109 | let section = self.sectionItems[indexPath.section] as! NSArray
110 | cell.textLabel?.textColor = UIColor.black
111 | cell.textLabel?.text = section[indexPath.row] as? String
112 |
113 | return cell
114 | }
115 |
116 | func tableView(_ tableView: UITableView, didDeselectRowAt indexPath: IndexPath) {
117 | tableView.deselectRow(at: indexPath, animated: true)
118 | }
119 |
120 | // MARK: - Expand / Collapse Methods
121 |
122 | func sectionHeaderWasTouched(_ sender: UITapGestureRecognizer) {
123 | let headerView = sender.view as! UITableViewHeaderFooterView
124 | let section = headerView.tag
125 | let eImageView = headerView.viewWithTag(kHeaderSectionTag + section) as? UIImageView
126 |
127 | if (self.expandedSectionHeaderNumber == -1) {
128 | self.expandedSectionHeaderNumber = section
129 | tableViewExpandSection(section, imageView: eImageView!)
130 | } else {
131 | if (self.expandedSectionHeaderNumber == section) {
132 | tableViewCollapeSection(section, imageView: eImageView!)
133 | } else {
134 | let cImageView = self.view.viewWithTag(kHeaderSectionTag + self.expandedSectionHeaderNumber) as? UIImageView
135 | tableViewCollapeSection(self.expandedSectionHeaderNumber, imageView: cImageView!)
136 | tableViewExpandSection(section, imageView: eImageView!)
137 | }
138 | }
139 | }
140 |
141 | func tableViewCollapeSection(_ section: Int, imageView: UIImageView) {
142 | let sectionData = self.sectionItems[section] as! NSArray
143 |
144 | self.expandedSectionHeaderNumber = -1;
145 | if (sectionData.count == 0) {
146 | return;
147 | } else {
148 | UIView.animate(withDuration: 0.4, animations: {
149 | imageView.transform = CGAffineTransform(rotationAngle: (0.0 * CGFloat(Double.pi)) / 180.0)
150 | })
151 | var indexesPath = [IndexPath]()
152 | for i in 0 ..< sectionData.count {
153 | let index = IndexPath(row: i, section: section)
154 | indexesPath.append(index)
155 | }
156 | self.tableView!.beginUpdates()
157 | self.tableView!.deleteRows(at: indexesPath, with: UITableViewRowAnimation.fade)
158 | self.tableView!.endUpdates()
159 | }
160 | }
161 |
162 | func tableViewExpandSection(_ section: Int, imageView: UIImageView) {
163 | let sectionData = self.sectionItems[section] as! NSArray
164 |
165 | if (sectionData.count == 0) {
166 | self.expandedSectionHeaderNumber = -1;
167 | return;
168 | } else {
169 | UIView.animate(withDuration: 0.4, animations: {
170 | imageView.transform = CGAffineTransform(rotationAngle: (180.0 * CGFloat(Double.pi)) / 180.0)
171 | })
172 | var indexesPath = [IndexPath]()
173 | for i in 0 ..< sectionData.count {
174 | let index = IndexPath(row: i, section: section)
175 | indexesPath.append(index)
176 | }
177 | self.expandedSectionHeaderNumber = section
178 | self.tableView!.beginUpdates()
179 | self.tableView!.insertRows(at: indexesPath, with: UITableViewRowAnimation.fade)
180 | self.tableView!.endUpdates()
181 | }
182 | }
183 |
184 | }
185 |
186 |
--------------------------------------------------------------------------------
/ExpandableHeaders-ObjC/ExpandableHeaders/ViewController.m:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.m
3 | // ExpandableHeaders
4 | //
5 | // Created by James Johnson on 05/01/2017.
6 | // Copyright © 2017 Anexinet. All rights reserved.
7 | //
8 |
9 | #import
10 | #import
11 | #import "ViewController.h"
12 | #import "UIColor+AppColors.h"
13 |
14 | static int const kHeaderSectionTag = 6900;
15 |
16 | @interface ViewController ()
17 |
18 | @property (assign) NSInteger expandedSectionHeaderNumber;
19 | @property (assign) UITableViewHeaderFooterView *expandedSectionHeader;
20 | @property (strong) NSArray *sectionItems;
21 | @property (strong) NSArray *sectionNames;
22 | @property (strong, nonatomic) IBOutlet UITableView *tableView;
23 |
24 | @end
25 |
26 | @implementation ViewController
27 |
28 | - (void)viewDidLoad {
29 | [super viewDidLoad];
30 |
31 | self.sectionNames = @[ @"iPhone", @"iPad", @"Apple Watch" ];
32 | self.sectionItems = @[ @[@"iPhone 5", @"iPhone 5s", @"iPhone 6", @"iPhone 6 Plus", @"iPhone 7", @"iPhone 7 Plus"],
33 | @[@"iPad Mini", @"iPad Air 2", @"iPad Pro", @"iPad Pro 9.7"],
34 | @[@"Apple Watch", @"Apple Watch 2", @"Apple Watch 2 (Nike)"]
35 | ];
36 | // configure the tableview
37 | self.tableView.tableFooterView = [[UIView alloc] initWithFrame:CGRectZero];
38 | self.tableView.rowHeight = UITableViewAutomaticDimension;
39 | self.tableView.estimatedRowHeight = 100;
40 | self.expandedSectionHeaderNumber = -1;
41 | }
42 |
43 | - (void)didReceiveMemoryWarning {
44 | [super didReceiveMemoryWarning];
45 | // Dispose of any resources that can be recreated.
46 | }
47 |
48 | #pragma mark - Table view data source
49 |
50 | - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
51 |
52 | if (self.sectionNames.count > 0) {
53 | self.tableView.backgroundView = nil;
54 | return self.sectionNames.count;
55 | } else {
56 | UILabel *messageLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, self.view.bounds.size.width, self.view.bounds.size.height)];
57 |
58 | messageLabel.text = @"Retrieving data.\nPlease wait.";
59 | messageLabel.numberOfLines = 0;
60 | messageLabel.textAlignment = NSTextAlignmentCenter;
61 | messageLabel.font = [UIFont fontWithName:@"Helvetica Neue" size:20];
62 | [messageLabel sizeToFit];
63 | self.tableView.backgroundView = messageLabel;
64 |
65 | return 0;
66 | }
67 | }
68 |
69 | - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
70 | if (self.expandedSectionHeaderNumber == section) {
71 | NSMutableArray *arrayOfItems = [self.sectionItems objectAtIndex:section];
72 | return arrayOfItems.count;
73 | } else {
74 | return 0;
75 | }
76 | }
77 |
78 | - (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section {
79 | if (self.sectionNames.count) {
80 | return [self.sectionNames objectAtIndex:section];
81 | }
82 |
83 | return @"";
84 | }
85 |
86 | - (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section; {
87 | return 44.0;
88 | }
89 |
90 | - (void)tableView:(UITableView *)tableView willDisplayHeaderView:(UIView *)view forSection:(NSInteger)section {
91 | // recast your view as a UITableViewHeaderFooterView
92 | UITableViewHeaderFooterView *header = (UITableViewHeaderFooterView *)view;
93 | header.contentView.backgroundColor = [UIColor colorWithHexString:@"#408000"];
94 | header.textLabel.textColor = [UIColor whiteColor];
95 | UIImageView *viewWithTag = [self.view viewWithTag:kHeaderSectionTag + section];
96 | if (viewWithTag) {
97 | [viewWithTag removeFromSuperview];
98 | }
99 | // add the arrow image
100 | CGSize headerFrame = self.view.frame.size;
101 | UIImageView *theImageView = [[UIImageView alloc] initWithFrame:CGRectMake(headerFrame.width - 32, 13, 18, 18)];
102 | theImageView.image = [UIImage imageNamed:@"Chevron-Dn-Wht"];
103 | theImageView.tag = kHeaderSectionTag + section;
104 | [header addSubview:theImageView];
105 |
106 | // make headers touchable
107 | header.tag = section;
108 | UITapGestureRecognizer *headerTapGesture = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(sectionHeaderWasTouched:)];
109 | [header addGestureRecognizer:headerTapGesture];
110 | }
111 |
112 | - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
113 | UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"tableCell" forIndexPath:indexPath];
114 | NSArray *section = [self.sectionItems objectAtIndex:indexPath.section];
115 |
116 | cell.textLabel.textColor = [UIColor blackColor];
117 | cell.textLabel.text = [section objectAtIndex:indexPath.row];
118 |
119 | return cell;
120 | }
121 |
122 | - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
123 | [tableView deselectRowAtIndexPath:indexPath animated:YES];
124 | }
125 |
126 | - (void)updateTableViewRowDisplay:(NSArray *)arrayOfIndexPaths {
127 | [self.tableView beginUpdates];
128 | [self.tableView deleteRowsAtIndexPaths:arrayOfIndexPaths withRowAnimation: UITableViewRowAnimationFade];
129 | [self.tableView endUpdates];
130 | }
131 |
132 | #pragma mark - Expand / Collapse Methods
133 |
134 | - (void)sectionHeaderWasTouched:(UITapGestureRecognizer *)sender {
135 | UITableViewHeaderFooterView *headerView = (UITableViewHeaderFooterView *)sender.view;
136 | NSInteger section = headerView.tag;
137 | UIImageView *eImageView = (UIImageView *)[headerView viewWithTag:kHeaderSectionTag + section];
138 | self.expandedSectionHeader = headerView;
139 |
140 | if (self.expandedSectionHeaderNumber == -1) {
141 | self.expandedSectionHeaderNumber = section;
142 | [self tableViewExpandSection:section withImage: eImageView];
143 | } else {
144 | if (self.expandedSectionHeaderNumber == section) {
145 | [self tableViewCollapeSection:section withImage: eImageView];
146 | self.expandedSectionHeader = nil;
147 | } else {
148 | UIImageView *cImageView = (UIImageView *)[self.view viewWithTag:kHeaderSectionTag + self.expandedSectionHeaderNumber];
149 | [self tableViewCollapeSection:self.expandedSectionHeaderNumber withImage: cImageView];
150 | [self tableViewExpandSection:section withImage: eImageView];
151 | }
152 | }
153 | }
154 |
155 | - (void)tableViewCollapeSection:(NSInteger)section withImage:(UIImageView *)imageView {
156 | NSArray *sectionData = [self.sectionItems objectAtIndex:section];
157 |
158 | self.expandedSectionHeaderNumber = -1;
159 | if (sectionData.count == 0) {
160 | return;
161 | } else {
162 | [UIView animateWithDuration:0.4 animations:^{
163 | imageView.transform = CGAffineTransformMakeRotation((0.0 * M_PI) / 180.0);
164 | }];
165 | NSMutableArray *arrayOfIndexPaths = [NSMutableArray array];
166 | for (int i=0; i< sectionData.count; i++) {
167 | NSIndexPath *index = [NSIndexPath indexPathForRow:i inSection:section];
168 | [arrayOfIndexPaths addObject:index];
169 | }
170 | [self.tableView beginUpdates];
171 | [self.tableView deleteRowsAtIndexPaths:arrayOfIndexPaths withRowAnimation: UITableViewRowAnimationFade];
172 | [self.tableView endUpdates];
173 | }
174 | }
175 |
176 | - (void)tableViewExpandSection:(NSInteger)section withImage:(UIImageView *)imageView {
177 | NSArray *sectionData = [self.sectionItems objectAtIndex:section];
178 |
179 | if (sectionData.count == 0) {
180 | self.expandedSectionHeaderNumber = -1;
181 | return;
182 | } else {
183 | [UIView animateWithDuration:0.4 animations:^{
184 | imageView.transform = CGAffineTransformMakeRotation((180.0 * M_PI) / 180.0);
185 | }];
186 | NSMutableArray *arrayOfIndexPaths = [NSMutableArray array];
187 | for (int i=0; i< sectionData.count; i++) {
188 | NSIndexPath *index = [NSIndexPath indexPathForRow:i inSection:section];
189 | [arrayOfIndexPaths addObject:index];
190 | }
191 | self.expandedSectionHeaderNumber = section;
192 | [self.tableView beginUpdates];
193 | [self.tableView insertRowsAtIndexPaths:arrayOfIndexPaths withRowAnimation: UITableViewRowAnimationFade];
194 | [self.tableView endUpdates];
195 | }
196 | }
197 |
198 | @end
199 |
--------------------------------------------------------------------------------
/ExpandableHeaders-Swift/ExpandableHeaders.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 42BD9DF11EB8BE9800475D0D /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 42BD9DF01EB8BE9800475D0D /* AppDelegate.swift */; };
11 | 42BD9DF31EB8BE9800475D0D /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 42BD9DF21EB8BE9800475D0D /* ViewController.swift */; };
12 | 42BD9DF61EB8BE9800475D0D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 42BD9DF41EB8BE9800475D0D /* Main.storyboard */; };
13 | 42BD9DF81EB8BE9800475D0D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 42BD9DF71EB8BE9800475D0D /* Assets.xcassets */; };
14 | 42BD9DFB1EB8BE9800475D0D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 42BD9DF91EB8BE9800475D0D /* LaunchScreen.storyboard */; };
15 | 42BD9E041EB8E2F200475D0D /* UIColor+AppColors.swift in Sources */ = {isa = PBXBuildFile; fileRef = 42BD9E031EB8E2F200475D0D /* UIColor+AppColors.swift */; };
16 | /* End PBXBuildFile section */
17 |
18 | /* Begin PBXFileReference section */
19 | 42BD9DED1EB8BE9800475D0D /* ExpandableHeaders.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ExpandableHeaders.app; sourceTree = BUILT_PRODUCTS_DIR; };
20 | 42BD9DF01EB8BE9800475D0D /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
21 | 42BD9DF21EB8BE9800475D0D /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; };
22 | 42BD9DF51EB8BE9800475D0D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
23 | 42BD9DF71EB8BE9800475D0D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
24 | 42BD9DFA1EB8BE9800475D0D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
25 | 42BD9DFC1EB8BE9800475D0D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
26 | 42BD9E031EB8E2F200475D0D /* UIColor+AppColors.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "UIColor+AppColors.swift"; sourceTree = ""; };
27 | /* End PBXFileReference section */
28 |
29 | /* Begin PBXFrameworksBuildPhase section */
30 | 42BD9DEA1EB8BE9800475D0D /* Frameworks */ = {
31 | isa = PBXFrameworksBuildPhase;
32 | buildActionMask = 2147483647;
33 | files = (
34 | );
35 | runOnlyForDeploymentPostprocessing = 0;
36 | };
37 | /* End PBXFrameworksBuildPhase section */
38 |
39 | /* Begin PBXGroup section */
40 | 42BD9DE41EB8BE9800475D0D = {
41 | isa = PBXGroup;
42 | children = (
43 | 42BD9DEF1EB8BE9800475D0D /* ExpandableHeaders */,
44 | 42BD9DEE1EB8BE9800475D0D /* Products */,
45 | );
46 | sourceTree = "";
47 | };
48 | 42BD9DEE1EB8BE9800475D0D /* Products */ = {
49 | isa = PBXGroup;
50 | children = (
51 | 42BD9DED1EB8BE9800475D0D /* ExpandableHeaders.app */,
52 | );
53 | name = Products;
54 | sourceTree = "";
55 | };
56 | 42BD9DEF1EB8BE9800475D0D /* ExpandableHeaders */ = {
57 | isa = PBXGroup;
58 | children = (
59 | 42BD9DF01EB8BE9800475D0D /* AppDelegate.swift */,
60 | 42BD9DF21EB8BE9800475D0D /* ViewController.swift */,
61 | 42BD9DF41EB8BE9800475D0D /* Main.storyboard */,
62 | 42BD9E021EB8DD0000475D0D /* Categories */,
63 | 42BD9DF71EB8BE9800475D0D /* Assets.xcassets */,
64 | 42BD9DF91EB8BE9800475D0D /* LaunchScreen.storyboard */,
65 | 42BD9DFC1EB8BE9800475D0D /* Info.plist */,
66 | );
67 | path = ExpandableHeaders;
68 | sourceTree = "";
69 | };
70 | 42BD9E021EB8DD0000475D0D /* Categories */ = {
71 | isa = PBXGroup;
72 | children = (
73 | 42BD9E031EB8E2F200475D0D /* UIColor+AppColors.swift */,
74 | );
75 | name = Categories;
76 | sourceTree = "";
77 | };
78 | /* End PBXGroup section */
79 |
80 | /* Begin PBXNativeTarget section */
81 | 42BD9DEC1EB8BE9800475D0D /* ExpandableHeaders */ = {
82 | isa = PBXNativeTarget;
83 | buildConfigurationList = 42BD9DFF1EB8BE9800475D0D /* Build configuration list for PBXNativeTarget "ExpandableHeaders" */;
84 | buildPhases = (
85 | 42BD9DE91EB8BE9800475D0D /* Sources */,
86 | 42BD9DEA1EB8BE9800475D0D /* Frameworks */,
87 | 42BD9DEB1EB8BE9800475D0D /* Resources */,
88 | );
89 | buildRules = (
90 | );
91 | dependencies = (
92 | );
93 | name = ExpandableHeaders;
94 | productName = ExpandableHeaders;
95 | productReference = 42BD9DED1EB8BE9800475D0D /* ExpandableHeaders.app */;
96 | productType = "com.apple.product-type.application";
97 | };
98 | /* End PBXNativeTarget section */
99 |
100 | /* Begin PBXProject section */
101 | 42BD9DE51EB8BE9800475D0D /* Project object */ = {
102 | isa = PBXProject;
103 | attributes = {
104 | LastSwiftUpdateCheck = 0830;
105 | LastUpgradeCheck = 0830;
106 | ORGANIZATIONNAME = Anexinet;
107 | TargetAttributes = {
108 | 42BD9DEC1EB8BE9800475D0D = {
109 | CreatedOnToolsVersion = 8.3.2;
110 | DevelopmentTeam = VETKFHPJMU;
111 | ProvisioningStyle = Automatic;
112 | };
113 | };
114 | };
115 | buildConfigurationList = 42BD9DE81EB8BE9800475D0D /* Build configuration list for PBXProject "ExpandableHeaders" */;
116 | compatibilityVersion = "Xcode 3.2";
117 | developmentRegion = English;
118 | hasScannedForEncodings = 0;
119 | knownRegions = (
120 | en,
121 | Base,
122 | );
123 | mainGroup = 42BD9DE41EB8BE9800475D0D;
124 | productRefGroup = 42BD9DEE1EB8BE9800475D0D /* Products */;
125 | projectDirPath = "";
126 | projectRoot = "";
127 | targets = (
128 | 42BD9DEC1EB8BE9800475D0D /* ExpandableHeaders */,
129 | );
130 | };
131 | /* End PBXProject section */
132 |
133 | /* Begin PBXResourcesBuildPhase section */
134 | 42BD9DEB1EB8BE9800475D0D /* Resources */ = {
135 | isa = PBXResourcesBuildPhase;
136 | buildActionMask = 2147483647;
137 | files = (
138 | 42BD9DFB1EB8BE9800475D0D /* LaunchScreen.storyboard in Resources */,
139 | 42BD9DF81EB8BE9800475D0D /* Assets.xcassets in Resources */,
140 | 42BD9DF61EB8BE9800475D0D /* Main.storyboard in Resources */,
141 | );
142 | runOnlyForDeploymentPostprocessing = 0;
143 | };
144 | /* End PBXResourcesBuildPhase section */
145 |
146 | /* Begin PBXSourcesBuildPhase section */
147 | 42BD9DE91EB8BE9800475D0D /* Sources */ = {
148 | isa = PBXSourcesBuildPhase;
149 | buildActionMask = 2147483647;
150 | files = (
151 | 42BD9DF31EB8BE9800475D0D /* ViewController.swift in Sources */,
152 | 42BD9DF11EB8BE9800475D0D /* AppDelegate.swift in Sources */,
153 | 42BD9E041EB8E2F200475D0D /* UIColor+AppColors.swift in Sources */,
154 | );
155 | runOnlyForDeploymentPostprocessing = 0;
156 | };
157 | /* End PBXSourcesBuildPhase section */
158 |
159 | /* Begin PBXVariantGroup section */
160 | 42BD9DF41EB8BE9800475D0D /* Main.storyboard */ = {
161 | isa = PBXVariantGroup;
162 | children = (
163 | 42BD9DF51EB8BE9800475D0D /* Base */,
164 | );
165 | name = Main.storyboard;
166 | sourceTree = "";
167 | };
168 | 42BD9DF91EB8BE9800475D0D /* LaunchScreen.storyboard */ = {
169 | isa = PBXVariantGroup;
170 | children = (
171 | 42BD9DFA1EB8BE9800475D0D /* Base */,
172 | );
173 | name = LaunchScreen.storyboard;
174 | sourceTree = "";
175 | };
176 | /* End PBXVariantGroup section */
177 |
178 | /* Begin XCBuildConfiguration section */
179 | 42BD9DFD1EB8BE9800475D0D /* Debug */ = {
180 | isa = XCBuildConfiguration;
181 | buildSettings = {
182 | ALWAYS_SEARCH_USER_PATHS = NO;
183 | CLANG_ANALYZER_NONNULL = YES;
184 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
185 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
186 | CLANG_CXX_LIBRARY = "libc++";
187 | CLANG_ENABLE_MODULES = YES;
188 | CLANG_ENABLE_OBJC_ARC = YES;
189 | CLANG_WARN_BOOL_CONVERSION = YES;
190 | CLANG_WARN_CONSTANT_CONVERSION = YES;
191 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
192 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
193 | CLANG_WARN_EMPTY_BODY = YES;
194 | CLANG_WARN_ENUM_CONVERSION = YES;
195 | CLANG_WARN_INFINITE_RECURSION = YES;
196 | CLANG_WARN_INT_CONVERSION = YES;
197 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
198 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
199 | CLANG_WARN_UNREACHABLE_CODE = YES;
200 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
201 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
202 | COPY_PHASE_STRIP = NO;
203 | DEBUG_INFORMATION_FORMAT = dwarf;
204 | ENABLE_STRICT_OBJC_MSGSEND = YES;
205 | ENABLE_TESTABILITY = YES;
206 | GCC_C_LANGUAGE_STANDARD = gnu99;
207 | GCC_DYNAMIC_NO_PIC = NO;
208 | GCC_NO_COMMON_BLOCKS = YES;
209 | GCC_OPTIMIZATION_LEVEL = 0;
210 | GCC_PREPROCESSOR_DEFINITIONS = (
211 | "DEBUG=1",
212 | "$(inherited)",
213 | );
214 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
215 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
216 | GCC_WARN_UNDECLARED_SELECTOR = YES;
217 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
218 | GCC_WARN_UNUSED_FUNCTION = YES;
219 | GCC_WARN_UNUSED_VARIABLE = YES;
220 | IPHONEOS_DEPLOYMENT_TARGET = 10.3;
221 | MTL_ENABLE_DEBUG_INFO = YES;
222 | ONLY_ACTIVE_ARCH = YES;
223 | SDKROOT = iphoneos;
224 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
225 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
226 | TARGETED_DEVICE_FAMILY = "1,2";
227 | };
228 | name = Debug;
229 | };
230 | 42BD9DFE1EB8BE9800475D0D /* Release */ = {
231 | isa = XCBuildConfiguration;
232 | buildSettings = {
233 | ALWAYS_SEARCH_USER_PATHS = NO;
234 | CLANG_ANALYZER_NONNULL = YES;
235 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
236 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
237 | CLANG_CXX_LIBRARY = "libc++";
238 | CLANG_ENABLE_MODULES = YES;
239 | CLANG_ENABLE_OBJC_ARC = YES;
240 | CLANG_WARN_BOOL_CONVERSION = YES;
241 | CLANG_WARN_CONSTANT_CONVERSION = YES;
242 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
243 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
244 | CLANG_WARN_EMPTY_BODY = YES;
245 | CLANG_WARN_ENUM_CONVERSION = YES;
246 | CLANG_WARN_INFINITE_RECURSION = YES;
247 | CLANG_WARN_INT_CONVERSION = YES;
248 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
249 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
250 | CLANG_WARN_UNREACHABLE_CODE = YES;
251 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
252 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
253 | COPY_PHASE_STRIP = NO;
254 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
255 | ENABLE_NS_ASSERTIONS = NO;
256 | ENABLE_STRICT_OBJC_MSGSEND = YES;
257 | GCC_C_LANGUAGE_STANDARD = gnu99;
258 | GCC_NO_COMMON_BLOCKS = YES;
259 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
260 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
261 | GCC_WARN_UNDECLARED_SELECTOR = YES;
262 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
263 | GCC_WARN_UNUSED_FUNCTION = YES;
264 | GCC_WARN_UNUSED_VARIABLE = YES;
265 | IPHONEOS_DEPLOYMENT_TARGET = 10.3;
266 | MTL_ENABLE_DEBUG_INFO = NO;
267 | SDKROOT = iphoneos;
268 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
269 | TARGETED_DEVICE_FAMILY = "1,2";
270 | VALIDATE_PRODUCT = YES;
271 | };
272 | name = Release;
273 | };
274 | 42BD9E001EB8BE9800475D0D /* Debug */ = {
275 | isa = XCBuildConfiguration;
276 | buildSettings = {
277 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
278 | DEVELOPMENT_TEAM = VETKFHPJMU;
279 | INFOPLIST_FILE = ExpandableHeaders/Info.plist;
280 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
281 | PRODUCT_BUNDLE_IDENTIFIER = com.anexinet.ExpandableHeaders;
282 | PRODUCT_NAME = "$(TARGET_NAME)";
283 | SWIFT_VERSION = 3.0;
284 | };
285 | name = Debug;
286 | };
287 | 42BD9E011EB8BE9800475D0D /* Release */ = {
288 | isa = XCBuildConfiguration;
289 | buildSettings = {
290 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
291 | DEVELOPMENT_TEAM = VETKFHPJMU;
292 | INFOPLIST_FILE = ExpandableHeaders/Info.plist;
293 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
294 | PRODUCT_BUNDLE_IDENTIFIER = com.anexinet.ExpandableHeaders;
295 | PRODUCT_NAME = "$(TARGET_NAME)";
296 | SWIFT_VERSION = 3.0;
297 | };
298 | name = Release;
299 | };
300 | /* End XCBuildConfiguration section */
301 |
302 | /* Begin XCConfigurationList section */
303 | 42BD9DE81EB8BE9800475D0D /* Build configuration list for PBXProject "ExpandableHeaders" */ = {
304 | isa = XCConfigurationList;
305 | buildConfigurations = (
306 | 42BD9DFD1EB8BE9800475D0D /* Debug */,
307 | 42BD9DFE1EB8BE9800475D0D /* Release */,
308 | );
309 | defaultConfigurationIsVisible = 0;
310 | defaultConfigurationName = Release;
311 | };
312 | 42BD9DFF1EB8BE9800475D0D /* Build configuration list for PBXNativeTarget "ExpandableHeaders" */ = {
313 | isa = XCConfigurationList;
314 | buildConfigurations = (
315 | 42BD9E001EB8BE9800475D0D /* Debug */,
316 | 42BD9E011EB8BE9800475D0D /* Release */,
317 | );
318 | defaultConfigurationIsVisible = 0;
319 | defaultConfigurationName = Release;
320 | };
321 | /* End XCConfigurationList section */
322 | };
323 | rootObject = 42BD9DE51EB8BE9800475D0D /* Project object */;
324 | }
325 |
--------------------------------------------------------------------------------
/ExpandableHeaders-ObjC/ExpandableHeaders.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 42B60FA11EB7733D00264805 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 42B60FA01EB7733D00264805 /* main.m */; };
11 | 42B60FA41EB7733D00264805 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 42B60FA31EB7733D00264805 /* AppDelegate.m */; };
12 | 42B60FA71EB7733D00264805 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 42B60FA61EB7733D00264805 /* ViewController.m */; };
13 | 42B60FAA1EB7733D00264805 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 42B60FA81EB7733D00264805 /* Main.storyboard */; };
14 | 42B60FAC1EB7733D00264805 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 42B60FAB1EB7733D00264805 /* Assets.xcassets */; };
15 | 42B60FAF1EB7733D00264805 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 42B60FAD1EB7733D00264805 /* LaunchScreen.storyboard */; };
16 | 42BD9DE31EB8B63800475D0D /* UIColor+AppColors.m in Sources */ = {isa = PBXBuildFile; fileRef = 42BD9DE21EB8B63800475D0D /* UIColor+AppColors.m */; };
17 | /* End PBXBuildFile section */
18 |
19 | /* Begin PBXFileReference section */
20 | 42B60F9C1EB7733D00264805 /* ExpandableHeaders.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ExpandableHeaders.app; sourceTree = BUILT_PRODUCTS_DIR; };
21 | 42B60FA01EB7733D00264805 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; };
22 | 42B60FA21EB7733D00264805 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; };
23 | 42B60FA31EB7733D00264805 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; };
24 | 42B60FA51EB7733D00264805 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; };
25 | 42B60FA61EB7733D00264805 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; };
26 | 42B60FA91EB7733D00264805 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
27 | 42B60FAB1EB7733D00264805 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
28 | 42B60FAE1EB7733D00264805 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
29 | 42B60FB01EB7733D00264805 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
30 | 42BD9DE11EB8B63800475D0D /* UIColor+AppColors.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIColor+AppColors.h"; sourceTree = ""; };
31 | 42BD9DE21EB8B63800475D0D /* UIColor+AppColors.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIColor+AppColors.m"; sourceTree = ""; };
32 | /* End PBXFileReference section */
33 |
34 | /* Begin PBXFrameworksBuildPhase section */
35 | 42B60F991EB7733D00264805 /* Frameworks */ = {
36 | isa = PBXFrameworksBuildPhase;
37 | buildActionMask = 2147483647;
38 | files = (
39 | );
40 | runOnlyForDeploymentPostprocessing = 0;
41 | };
42 | /* End PBXFrameworksBuildPhase section */
43 |
44 | /* Begin PBXGroup section */
45 | 42B60F931EB7733D00264805 = {
46 | isa = PBXGroup;
47 | children = (
48 | 42B60F9E1EB7733D00264805 /* ExpandableHeaders */,
49 | 42B60F9D1EB7733D00264805 /* Products */,
50 | );
51 | sourceTree = "";
52 | };
53 | 42B60F9D1EB7733D00264805 /* Products */ = {
54 | isa = PBXGroup;
55 | children = (
56 | 42B60F9C1EB7733D00264805 /* ExpandableHeaders.app */,
57 | );
58 | name = Products;
59 | sourceTree = "";
60 | };
61 | 42B60F9E1EB7733D00264805 /* ExpandableHeaders */ = {
62 | isa = PBXGroup;
63 | children = (
64 | 42B60FA21EB7733D00264805 /* AppDelegate.h */,
65 | 42B60FA31EB7733D00264805 /* AppDelegate.m */,
66 | 42B60FA51EB7733D00264805 /* ViewController.h */,
67 | 42B60FA61EB7733D00264805 /* ViewController.m */,
68 | 42B60FA81EB7733D00264805 /* Main.storyboard */,
69 | 42BD9DE01EB8B5F500475D0D /* Categories */,
70 | 42B60FAB1EB7733D00264805 /* Assets.xcassets */,
71 | 42B60FAD1EB7733D00264805 /* LaunchScreen.storyboard */,
72 | 42B60FB01EB7733D00264805 /* Info.plist */,
73 | 42B60F9F1EB7733D00264805 /* Supporting Files */,
74 | );
75 | path = ExpandableHeaders;
76 | sourceTree = "";
77 | };
78 | 42B60F9F1EB7733D00264805 /* Supporting Files */ = {
79 | isa = PBXGroup;
80 | children = (
81 | 42B60FA01EB7733D00264805 /* main.m */,
82 | );
83 | name = "Supporting Files";
84 | sourceTree = "";
85 | };
86 | 42BD9DE01EB8B5F500475D0D /* Categories */ = {
87 | isa = PBXGroup;
88 | children = (
89 | 42BD9DE11EB8B63800475D0D /* UIColor+AppColors.h */,
90 | 42BD9DE21EB8B63800475D0D /* UIColor+AppColors.m */,
91 | );
92 | name = Categories;
93 | sourceTree = "";
94 | };
95 | /* End PBXGroup section */
96 |
97 | /* Begin PBXNativeTarget section */
98 | 42B60F9B1EB7733D00264805 /* ExpandableHeaders */ = {
99 | isa = PBXNativeTarget;
100 | buildConfigurationList = 42B60FB31EB7733D00264805 /* Build configuration list for PBXNativeTarget "ExpandableHeaders" */;
101 | buildPhases = (
102 | 42B60F981EB7733D00264805 /* Sources */,
103 | 42B60F991EB7733D00264805 /* Frameworks */,
104 | 42B60F9A1EB7733D00264805 /* Resources */,
105 | );
106 | buildRules = (
107 | );
108 | dependencies = (
109 | );
110 | name = ExpandableHeaders;
111 | productName = ExpandableHeaders;
112 | productReference = 42B60F9C1EB7733D00264805 /* ExpandableHeaders.app */;
113 | productType = "com.apple.product-type.application";
114 | };
115 | /* End PBXNativeTarget section */
116 |
117 | /* Begin PBXProject section */
118 | 42B60F941EB7733D00264805 /* Project object */ = {
119 | isa = PBXProject;
120 | attributes = {
121 | LastUpgradeCheck = 0830;
122 | ORGANIZATIONNAME = Anexinet;
123 | TargetAttributes = {
124 | 42B60F9B1EB7733D00264805 = {
125 | CreatedOnToolsVersion = 8.3.2;
126 | DevelopmentTeam = VETKFHPJMU;
127 | ProvisioningStyle = Automatic;
128 | };
129 | };
130 | };
131 | buildConfigurationList = 42B60F971EB7733D00264805 /* Build configuration list for PBXProject "ExpandableHeaders" */;
132 | compatibilityVersion = "Xcode 3.2";
133 | developmentRegion = English;
134 | hasScannedForEncodings = 0;
135 | knownRegions = (
136 | en,
137 | Base,
138 | );
139 | mainGroup = 42B60F931EB7733D00264805;
140 | productRefGroup = 42B60F9D1EB7733D00264805 /* Products */;
141 | projectDirPath = "";
142 | projectRoot = "";
143 | targets = (
144 | 42B60F9B1EB7733D00264805 /* ExpandableHeaders */,
145 | );
146 | };
147 | /* End PBXProject section */
148 |
149 | /* Begin PBXResourcesBuildPhase section */
150 | 42B60F9A1EB7733D00264805 /* Resources */ = {
151 | isa = PBXResourcesBuildPhase;
152 | buildActionMask = 2147483647;
153 | files = (
154 | 42B60FAF1EB7733D00264805 /* LaunchScreen.storyboard in Resources */,
155 | 42B60FAC1EB7733D00264805 /* Assets.xcassets in Resources */,
156 | 42B60FAA1EB7733D00264805 /* Main.storyboard in Resources */,
157 | );
158 | runOnlyForDeploymentPostprocessing = 0;
159 | };
160 | /* End PBXResourcesBuildPhase section */
161 |
162 | /* Begin PBXSourcesBuildPhase section */
163 | 42B60F981EB7733D00264805 /* Sources */ = {
164 | isa = PBXSourcesBuildPhase;
165 | buildActionMask = 2147483647;
166 | files = (
167 | 42B60FA71EB7733D00264805 /* ViewController.m in Sources */,
168 | 42BD9DE31EB8B63800475D0D /* UIColor+AppColors.m in Sources */,
169 | 42B60FA41EB7733D00264805 /* AppDelegate.m in Sources */,
170 | 42B60FA11EB7733D00264805 /* main.m in Sources */,
171 | );
172 | runOnlyForDeploymentPostprocessing = 0;
173 | };
174 | /* End PBXSourcesBuildPhase section */
175 |
176 | /* Begin PBXVariantGroup section */
177 | 42B60FA81EB7733D00264805 /* Main.storyboard */ = {
178 | isa = PBXVariantGroup;
179 | children = (
180 | 42B60FA91EB7733D00264805 /* Base */,
181 | );
182 | name = Main.storyboard;
183 | sourceTree = "";
184 | };
185 | 42B60FAD1EB7733D00264805 /* LaunchScreen.storyboard */ = {
186 | isa = PBXVariantGroup;
187 | children = (
188 | 42B60FAE1EB7733D00264805 /* Base */,
189 | );
190 | name = LaunchScreen.storyboard;
191 | sourceTree = "";
192 | };
193 | /* End PBXVariantGroup section */
194 |
195 | /* Begin XCBuildConfiguration section */
196 | 42B60FB11EB7733D00264805 /* Debug */ = {
197 | isa = XCBuildConfiguration;
198 | buildSettings = {
199 | ALWAYS_SEARCH_USER_PATHS = NO;
200 | CLANG_ANALYZER_NONNULL = YES;
201 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
202 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
203 | CLANG_CXX_LIBRARY = "libc++";
204 | CLANG_ENABLE_MODULES = YES;
205 | CLANG_ENABLE_OBJC_ARC = YES;
206 | CLANG_WARN_BOOL_CONVERSION = YES;
207 | CLANG_WARN_CONSTANT_CONVERSION = YES;
208 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
209 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
210 | CLANG_WARN_EMPTY_BODY = YES;
211 | CLANG_WARN_ENUM_CONVERSION = YES;
212 | CLANG_WARN_INFINITE_RECURSION = YES;
213 | CLANG_WARN_INT_CONVERSION = YES;
214 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
215 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
216 | CLANG_WARN_UNREACHABLE_CODE = YES;
217 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
218 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
219 | COPY_PHASE_STRIP = NO;
220 | DEBUG_INFORMATION_FORMAT = dwarf;
221 | ENABLE_STRICT_OBJC_MSGSEND = YES;
222 | ENABLE_TESTABILITY = YES;
223 | GCC_C_LANGUAGE_STANDARD = gnu99;
224 | GCC_DYNAMIC_NO_PIC = NO;
225 | GCC_NO_COMMON_BLOCKS = YES;
226 | GCC_OPTIMIZATION_LEVEL = 0;
227 | GCC_PREPROCESSOR_DEFINITIONS = (
228 | "DEBUG=1",
229 | "$(inherited)",
230 | );
231 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
232 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
233 | GCC_WARN_UNDECLARED_SELECTOR = YES;
234 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
235 | GCC_WARN_UNUSED_FUNCTION = YES;
236 | GCC_WARN_UNUSED_VARIABLE = YES;
237 | IPHONEOS_DEPLOYMENT_TARGET = 10.3;
238 | MTL_ENABLE_DEBUG_INFO = YES;
239 | ONLY_ACTIVE_ARCH = YES;
240 | SDKROOT = iphoneos;
241 | TARGETED_DEVICE_FAMILY = "1,2";
242 | };
243 | name = Debug;
244 | };
245 | 42B60FB21EB7733D00264805 /* Release */ = {
246 | isa = XCBuildConfiguration;
247 | buildSettings = {
248 | ALWAYS_SEARCH_USER_PATHS = NO;
249 | CLANG_ANALYZER_NONNULL = YES;
250 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
251 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
252 | CLANG_CXX_LIBRARY = "libc++";
253 | CLANG_ENABLE_MODULES = YES;
254 | CLANG_ENABLE_OBJC_ARC = YES;
255 | CLANG_WARN_BOOL_CONVERSION = YES;
256 | CLANG_WARN_CONSTANT_CONVERSION = YES;
257 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
258 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
259 | CLANG_WARN_EMPTY_BODY = YES;
260 | CLANG_WARN_ENUM_CONVERSION = YES;
261 | CLANG_WARN_INFINITE_RECURSION = YES;
262 | CLANG_WARN_INT_CONVERSION = YES;
263 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
264 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
265 | CLANG_WARN_UNREACHABLE_CODE = YES;
266 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
267 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
268 | COPY_PHASE_STRIP = NO;
269 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
270 | ENABLE_NS_ASSERTIONS = NO;
271 | ENABLE_STRICT_OBJC_MSGSEND = YES;
272 | GCC_C_LANGUAGE_STANDARD = gnu99;
273 | GCC_NO_COMMON_BLOCKS = YES;
274 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
275 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
276 | GCC_WARN_UNDECLARED_SELECTOR = YES;
277 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
278 | GCC_WARN_UNUSED_FUNCTION = YES;
279 | GCC_WARN_UNUSED_VARIABLE = YES;
280 | IPHONEOS_DEPLOYMENT_TARGET = 10.3;
281 | MTL_ENABLE_DEBUG_INFO = NO;
282 | SDKROOT = iphoneos;
283 | TARGETED_DEVICE_FAMILY = "1,2";
284 | VALIDATE_PRODUCT = YES;
285 | };
286 | name = Release;
287 | };
288 | 42B60FB41EB7733D00264805 /* Debug */ = {
289 | isa = XCBuildConfiguration;
290 | buildSettings = {
291 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
292 | DEVELOPMENT_TEAM = VETKFHPJMU;
293 | FRAMEWORK_SEARCH_PATHS = (
294 | "$(inherited)",
295 | "$(PROJECT_DIR)/ExpandableHeaders",
296 | );
297 | INFOPLIST_FILE = ExpandableHeaders/Info.plist;
298 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
299 | PRODUCT_BUNDLE_IDENTIFIER = com.anexinet.ExpandableHeaders;
300 | PRODUCT_NAME = "$(TARGET_NAME)";
301 | };
302 | name = Debug;
303 | };
304 | 42B60FB51EB7733D00264805 /* Release */ = {
305 | isa = XCBuildConfiguration;
306 | buildSettings = {
307 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
308 | DEVELOPMENT_TEAM = VETKFHPJMU;
309 | FRAMEWORK_SEARCH_PATHS = (
310 | "$(inherited)",
311 | "$(PROJECT_DIR)/ExpandableHeaders",
312 | );
313 | INFOPLIST_FILE = ExpandableHeaders/Info.plist;
314 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
315 | PRODUCT_BUNDLE_IDENTIFIER = com.anexinet.ExpandableHeaders;
316 | PRODUCT_NAME = "$(TARGET_NAME)";
317 | };
318 | name = Release;
319 | };
320 | /* End XCBuildConfiguration section */
321 |
322 | /* Begin XCConfigurationList section */
323 | 42B60F971EB7733D00264805 /* Build configuration list for PBXProject "ExpandableHeaders" */ = {
324 | isa = XCConfigurationList;
325 | buildConfigurations = (
326 | 42B60FB11EB7733D00264805 /* Debug */,
327 | 42B60FB21EB7733D00264805 /* Release */,
328 | );
329 | defaultConfigurationIsVisible = 0;
330 | defaultConfigurationName = Release;
331 | };
332 | 42B60FB31EB7733D00264805 /* Build configuration list for PBXNativeTarget "ExpandableHeaders" */ = {
333 | isa = XCConfigurationList;
334 | buildConfigurations = (
335 | 42B60FB41EB7733D00264805 /* Debug */,
336 | 42B60FB51EB7733D00264805 /* Release */,
337 | );
338 | defaultConfigurationIsVisible = 0;
339 | defaultConfigurationName = Release;
340 | };
341 | /* End XCConfigurationList section */
342 | };
343 | rootObject = 42B60F941EB7733D00264805 /* Project object */;
344 | }
345 |
--------------------------------------------------------------------------------