├── README.md
├── .DS_Store
├── tableViewDemo
├── Assets.xcassets
│ ├── Contents.json
│ ├── default.imageset
│ │ ├── default.png
│ │ └── Contents.json
│ └── AppIcon.appiconset
│ │ └── Contents.json
├── LHHAHAController.h
├── LHHEHEController.h
├── ViewController.h
├── LHHEIHEIController.h
├── AppDelegate.h
├── main.m
├── LHBaseController.h
├── CustomView
│ ├── LHPageView.h
│ ├── LHTitlesView.h
│ ├── LHPageView.m
│ └── LHTitlesView.m
├── LHHAHAController.m
├── LHHEHEController.m
├── LHHEIHEIController.m
├── Base.lproj
│ ├── Main.storyboard
│ └── LaunchScreen.storyboard
├── Info.plist
├── LHBaseController.m
├── AppDelegate.m
└── ViewController.m
├── tableViewDemo.xcodeproj
├── project.xcworkspace
│ └── contents.xcworkspacedata
└── project.pbxproj
├── tableViewDemoTests
├── Info.plist
└── tableViewDemoTests.m
├── tableViewDemoUITests
├── Info.plist
└── tableViewDemoUITests.m
└── .gitignore
/README.md:
--------------------------------------------------------------------------------
1 | # tableViewDemo
--------------------------------------------------------------------------------
/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/No88/tableViewDemo/HEAD/.DS_Store
--------------------------------------------------------------------------------
/tableViewDemo/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/tableViewDemo/Assets.xcassets/default.imageset/default.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/No88/tableViewDemo/HEAD/tableViewDemo/Assets.xcassets/default.imageset/default.png
--------------------------------------------------------------------------------
/tableViewDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/tableViewDemo/LHHAHAController.h:
--------------------------------------------------------------------------------
1 | //
2 | // LHHAHAController.h
3 | // tableViewDemo
4 | //
5 | // Created by liuhao on 17/3/28.
6 | // Copyright © 2017年 liuhao. All rights reserved.
7 | //
8 |
9 | #import "LHBaseController.h"
10 |
11 | @interface LHHAHAController : LHBaseController
12 |
13 | @end
14 |
--------------------------------------------------------------------------------
/tableViewDemo/LHHEHEController.h:
--------------------------------------------------------------------------------
1 | //
2 | // LHHEHEController.h
3 | // tableViewDemo
4 | //
5 | // Created by liuhao on 17/3/28.
6 | // Copyright © 2017年 liuhao. All rights reserved.
7 | //
8 |
9 | #import "LHBaseController.h"
10 |
11 | @interface LHHEHEController : LHBaseController
12 |
13 | @end
14 |
--------------------------------------------------------------------------------
/tableViewDemo/ViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.h
3 | // tableViewDemo
4 | //
5 | // Created by liuhao on 17/3/28.
6 | // Copyright © 2017年 liuhao. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ViewController : UIViewController
12 |
13 |
14 | @end
15 |
16 |
--------------------------------------------------------------------------------
/tableViewDemo/LHHEIHEIController.h:
--------------------------------------------------------------------------------
1 | //
2 | // LHHEIHEIController.h
3 | // tableViewDemo
4 | //
5 | // Created by liuhao on 17/3/28.
6 | // Copyright © 2017年 liuhao. All rights reserved.
7 | //
8 |
9 | #import "LHBaseController.h"
10 |
11 | @interface LHHEIHEIController : LHBaseController
12 |
13 | @end
14 |
--------------------------------------------------------------------------------
/tableViewDemo/AppDelegate.h:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.h
3 | // tableViewDemo
4 | //
5 | // Created by liuhao on 17/3/28.
6 | // Copyright © 2017年 liuhao. 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 |
--------------------------------------------------------------------------------
/tableViewDemo/main.m:
--------------------------------------------------------------------------------
1 | //
2 | // main.m
3 | // tableViewDemo
4 | //
5 | // Created by liuhao on 17/3/28.
6 | // Copyright © 2017年 liuhao. 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 |
--------------------------------------------------------------------------------
/tableViewDemo/Assets.xcassets/default.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "default.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "scale" : "3x"
15 | }
16 | ],
17 | "info" : {
18 | "version" : 1,
19 | "author" : "xcode"
20 | }
21 | }
--------------------------------------------------------------------------------
/tableViewDemo/LHBaseController.h:
--------------------------------------------------------------------------------
1 | //
2 | // LHBaseController.h
3 | // tableViewDemo
4 | //
5 | // Created by liuhao on 17/3/28.
6 | // Copyright © 2017年 liuhao. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface LHBaseController : UITableViewController
12 |
13 | @property (nonatomic, strong) void (^offSet)(CGFloat, UITableViewController *);
14 |
15 | - (void)setTableViewOffSetY:(CGFloat)offSetY;
16 |
17 | @end
18 |
--------------------------------------------------------------------------------
/tableViewDemo/CustomView/LHPageView.h:
--------------------------------------------------------------------------------
1 | //
2 | // LHPageView.h
3 | // tableViewDemo
4 | //
5 | // Created by liuhao on 17/3/28.
6 | // Copyright © 2017年 liuhao. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface LHPageView : UIView
12 |
13 | @property (nonatomic, strong) void(^didEndScrollView)(NSInteger);
14 |
15 | - (instancetype)initWithFrame:(CGRect)frame childVC:(NSArray *)childVC;
16 |
17 | - (void)setCurrentIndex:(NSInteger)index;
18 |
19 | @end
20 |
--------------------------------------------------------------------------------
/tableViewDemo/CustomView/LHTitlesView.h:
--------------------------------------------------------------------------------
1 | //
2 | // LHTitlesView.h
3 | // tableViewDemo
4 | //
5 | // Created by liuhao on 17/3/28.
6 | // Copyright © 2017年 liuhao. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface LHTitlesView : UIView
12 |
13 | @property (nonatomic, strong) void(^didTitleClick)(NSInteger);
14 |
15 | - (instancetype)initWithFrame:(CGRect)frame titles:(NSArray *)titles;
16 |
17 | - (void)setCurrentTitleIndex:(NSInteger)index;
18 |
19 | @end
20 |
--------------------------------------------------------------------------------
/tableViewDemoTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/tableViewDemoUITests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/tableViewDemo/LHHAHAController.m:
--------------------------------------------------------------------------------
1 | //
2 | // LHHAHAController.m
3 | // tableViewDemo
4 | //
5 | // Created by liuhao on 17/3/28.
6 | // Copyright © 2017年 liuhao. All rights reserved.
7 | //
8 |
9 | #import "LHHAHAController.h"
10 |
11 | @interface LHHAHAController ()
12 |
13 | @end
14 |
15 | @implementation LHHAHAController
16 |
17 | - (void)viewDidLoad {
18 | [super viewDidLoad];
19 | }
20 |
21 | - (NSString *)description {
22 | return @"haha";
23 | }
24 |
25 | - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
26 | return 20;
27 | }
28 |
29 |
30 | - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
31 | UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:NSStringFromClass([UITableViewCell class]) forIndexPath:indexPath];
32 | cell.textLabel.text = [NSString stringWithFormat:@"%zd", indexPath.row];
33 | cell.backgroundColor = [UIColor blueColor];
34 | return cell;
35 | }
36 |
37 | @end
38 |
--------------------------------------------------------------------------------
/tableViewDemo/LHHEHEController.m:
--------------------------------------------------------------------------------
1 | //
2 | // LHHEHEController.m
3 | // tableViewDemo
4 | //
5 | // Created by liuhao on 17/3/28.
6 | // Copyright © 2017年 liuhao. All rights reserved.
7 | //
8 |
9 | #import "LHHEHEController.h"
10 |
11 | @interface LHHEHEController ()
12 |
13 | @end
14 |
15 | @implementation LHHEHEController
16 |
17 | - (void)viewDidLoad {
18 | [super viewDidLoad];
19 |
20 | }
21 |
22 | - (NSString *)description {
23 | return @"hehe";
24 | }
25 |
26 | - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
27 | return 20;
28 | }
29 |
30 | - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
31 | UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:NSStringFromClass([UITableViewCell class]) forIndexPath:indexPath];
32 | cell.textLabel.text = [NSString stringWithFormat:@"%zd", indexPath.row];
33 | cell.backgroundColor = [UIColor redColor];
34 | return cell;
35 | }
36 |
37 | @end
38 |
--------------------------------------------------------------------------------
/tableViewDemo/LHHEIHEIController.m:
--------------------------------------------------------------------------------
1 | //
2 | // LHHEIHEIController.m
3 | // tableViewDemo
4 | //
5 | // Created by liuhao on 17/3/28.
6 | // Copyright © 2017年 liuhao. All rights reserved.
7 | //
8 |
9 | #import "LHHEIHEIController.h"
10 |
11 | @interface LHHEIHEIController ()
12 |
13 | @end
14 |
15 | @implementation LHHEIHEIController
16 |
17 | - (void)viewDidLoad {
18 | [super viewDidLoad];
19 |
20 | }
21 |
22 | - (NSString *)description {
23 | return @"heihei";
24 | }
25 |
26 | #pragma mark - Table view data source
27 |
28 | - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
29 | return 20;
30 | }
31 |
32 |
33 | - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
34 | UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:NSStringFromClass([UITableViewCell class]) forIndexPath:indexPath];
35 | cell.textLabel.text = [NSString stringWithFormat:@"%zd", indexPath.row];
36 | cell.backgroundColor = [UIColor greenColor];
37 | return cell;
38 | }
39 |
40 | @end
41 |
--------------------------------------------------------------------------------
/tableViewDemoTests/tableViewDemoTests.m:
--------------------------------------------------------------------------------
1 | //
2 | // tableViewDemoTests.m
3 | // tableViewDemoTests
4 | //
5 | // Created by liuhao on 17/3/28.
6 | // Copyright © 2017年 liuhao. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface tableViewDemoTests : XCTestCase
12 |
13 | @end
14 |
15 | @implementation tableViewDemoTests
16 |
17 | - (void)setUp {
18 | [super setUp];
19 | // Put setup code here. This method is called before the invocation of each test method in the class.
20 | }
21 |
22 | - (void)tearDown {
23 | // Put teardown code here. This method is called after the invocation of each test method in the class.
24 | [super tearDown];
25 | }
26 |
27 | - (void)testExample {
28 | // This is an example of a functional test case.
29 | // Use XCTAssert and related functions to verify your tests produce the correct results.
30 | }
31 |
32 | - (void)testPerformanceExample {
33 | // This is an example of a performance test case.
34 | [self measureBlock:^{
35 | // Put the code you want to measure the time of here.
36 | }];
37 | }
38 |
39 | @end
40 |
--------------------------------------------------------------------------------
/tableViewDemoUITests/tableViewDemoUITests.m:
--------------------------------------------------------------------------------
1 | //
2 | // tableViewDemoUITests.m
3 | // tableViewDemoUITests
4 | //
5 | // Created by liuhao on 17/3/28.
6 | // Copyright © 2017年 liuhao. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface tableViewDemoUITests : XCTestCase
12 |
13 | @end
14 |
15 | @implementation tableViewDemoUITests
16 |
17 | - (void)setUp {
18 | [super setUp];
19 |
20 | // Put setup code here. This method is called before the invocation of each test method in the class.
21 |
22 | // In UI tests it is usually best to stop immediately when a failure occurs.
23 | self.continueAfterFailure = NO;
24 | // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method.
25 | [[[XCUIApplication alloc] init] launch];
26 |
27 | // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this.
28 | }
29 |
30 | - (void)tearDown {
31 | // Put teardown code here. This method is called after the invocation of each test method in the class.
32 | [super tearDown];
33 | }
34 |
35 | - (void)testExample {
36 | // Use recording to get started writing UI tests.
37 | // Use XCTAssert and related functions to verify your tests produce the correct results.
38 | }
39 |
40 | @end
41 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Xcode
2 | #
3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
4 |
5 | ## Build generated
6 | build/
7 | DerivedData/
8 |
9 | ## Various settings
10 | *.pbxuser
11 | !default.pbxuser
12 | *.mode1v3
13 | !default.mode1v3
14 | *.mode2v3
15 | !default.mode2v3
16 | *.perspectivev3
17 | !default.perspectivev3
18 | xcuserdata/
19 |
20 | ## Other
21 | *.moved-aside
22 | *.xcuserstate
23 |
24 | ## Obj-C/Swift specific
25 | *.hmap
26 | *.ipa
27 | *.dSYM.zip
28 | *.dSYM
29 |
30 | # CocoaPods
31 | #
32 | # We recommend against adding the Pods directory to your .gitignore. However
33 | # you should judge for yourself, the pros and cons are mentioned at:
34 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
35 | #
36 | # Pods/
37 |
38 | # Carthage
39 | #
40 | # Add this line if you want to avoid checking in source code from Carthage dependencies.
41 | # Carthage/Checkouts
42 |
43 | Carthage/Build
44 |
45 | # fastlane
46 | #
47 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
48 | # screenshots whenever they are needed.
49 | # For more information about the recommended setup visit:
50 | # https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md
51 |
52 | fastlane/report.xml
53 | fastlane/screenshots
54 |
55 | #Code Injection
56 | #
57 | # After new code Injection tools there's a generated folder /iOSInjectionProject
58 | # https://github.com/johnno1962/injectionforxcode
59 |
60 | iOSInjectionProject/
61 |
--------------------------------------------------------------------------------
/tableViewDemo/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 |
--------------------------------------------------------------------------------
/tableViewDemo/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/tableViewDemo/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 |
--------------------------------------------------------------------------------
/tableViewDemo/LHBaseController.m:
--------------------------------------------------------------------------------
1 | //
2 | // LHBaseController.m
3 | // tableViewDemo
4 | //
5 | // Created by liuhao on 17/3/28.
6 | // Copyright © 2017年 liuhao. All rights reserved.
7 | //
8 |
9 | #import "LHBaseController.h"
10 |
11 | @interface LHBaseController ()
12 |
13 | @property (nonatomic, assign) NSInteger index;
14 |
15 | @end
16 |
17 | @implementation LHBaseController
18 |
19 | - (void)viewDidLoad {
20 | [super viewDidLoad];
21 |
22 | self.tableView.tableHeaderView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, 244.0)];;
23 | self.tableView.scrollIndicatorInsets = UIEdgeInsetsMake(244, 0, 0, 0);
24 | [self.tableView registerClass:[UITableViewCell class] forCellReuseIdentifier:NSStringFromClass([UITableViewCell class])];
25 |
26 | [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(changeTableViewOffSetY:) name:@"kChangeTableViewOffSetYNotification" object:nil];
27 | }
28 |
29 | - (void)changeTableViewOffSetY:(NSNotification *)noti {
30 | NSInteger index = [noti.object integerValue];
31 | self.index = index;
32 | }
33 |
34 | - (void)scrollViewDidScroll:(UIScrollView *)scrollView {
35 | if (self.tableView.frame.origin.x / self.view.frame.size.width != self.index) {
36 | return;
37 | }
38 | !self.offSet ? : self.offSet(scrollView.contentOffset.y, self);
39 | }
40 |
41 | - (void)setTableViewOffSetY:(CGFloat)offSetY {
42 | if (self.tableView.contentOffset.y > 200 && offSetY > self.tableView.contentOffset.y) {
43 | return;
44 | }
45 |
46 | NSLog(@"%@", self);
47 | NSLog(@"%f", self.tableView.contentOffset.y);
48 | [self.tableView setContentOffset:CGPointMake(0, offSetY)];
49 | }
50 |
51 | - (void)dealloc {
52 | [[NSNotificationCenter defaultCenter] removeObserver:self];
53 | }
54 |
55 | @end
56 |
--------------------------------------------------------------------------------
/tableViewDemo/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "20x20",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "20x20",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "29x29",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "29x29",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "40x40",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "40x40",
31 | "scale" : "3x"
32 | },
33 | {
34 | "idiom" : "iphone",
35 | "size" : "60x60",
36 | "scale" : "2x"
37 | },
38 | {
39 | "idiom" : "iphone",
40 | "size" : "60x60",
41 | "scale" : "3x"
42 | },
43 | {
44 | "idiom" : "ipad",
45 | "size" : "20x20",
46 | "scale" : "1x"
47 | },
48 | {
49 | "idiom" : "ipad",
50 | "size" : "20x20",
51 | "scale" : "2x"
52 | },
53 | {
54 | "idiom" : "ipad",
55 | "size" : "29x29",
56 | "scale" : "1x"
57 | },
58 | {
59 | "idiom" : "ipad",
60 | "size" : "29x29",
61 | "scale" : "2x"
62 | },
63 | {
64 | "idiom" : "ipad",
65 | "size" : "40x40",
66 | "scale" : "1x"
67 | },
68 | {
69 | "idiom" : "ipad",
70 | "size" : "40x40",
71 | "scale" : "2x"
72 | },
73 | {
74 | "idiom" : "ipad",
75 | "size" : "76x76",
76 | "scale" : "1x"
77 | },
78 | {
79 | "idiom" : "ipad",
80 | "size" : "76x76",
81 | "scale" : "2x"
82 | },
83 | {
84 | "idiom" : "ipad",
85 | "size" : "83.5x83.5",
86 | "scale" : "2x"
87 | }
88 | ],
89 | "info" : {
90 | "version" : 1,
91 | "author" : "xcode"
92 | }
93 | }
--------------------------------------------------------------------------------
/tableViewDemo/CustomView/LHPageView.m:
--------------------------------------------------------------------------------
1 | //
2 | // LHPageView.m
3 | // tableViewDemo
4 | //
5 | // Created by liuhao on 17/3/28.
6 | // Copyright © 2017年 liuhao. All rights reserved.
7 | //
8 |
9 | #import "LHPageView.h"
10 |
11 | @interface LHPageView ()
12 |
13 | @property (nonatomic, strong) NSArray *childVC;
14 | @property (nonatomic, strong) UIScrollView *contentView;
15 |
16 | @end
17 |
18 | @implementation LHPageView
19 |
20 | - (instancetype)initWithFrame:(CGRect)frame childVC:(NSArray *)childVC {
21 | if (self = [super initWithFrame:frame]) {
22 | self.childVC = childVC;
23 | self.contentView.contentSize = CGSizeMake(childVC.count * frame.size.width, 0);
24 | [self addSubview:self.contentView];
25 | }
26 | return self;
27 | }
28 |
29 | - (void)setCurrentIndex:(NSInteger)index {
30 | UIViewController *VC = self.childVC[index];
31 | if (!VC.view.superview) {
32 | VC.view.frame = (CGRect){index * self.frame.size.width, 0, self.frame.size.width, self.frame.size.height};
33 | [self.contentView addSubview:VC.view];
34 | }
35 | [self.contentView setContentOffset:CGPointMake(index * self.frame.size.width, 0) animated:YES];
36 | }
37 |
38 | #pragma mark - UIScrollViewDelegate
39 | // 滚动完成的时候调用
40 | - (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView {
41 | // 0.当前偏移量
42 | CGFloat offsetX = scrollView.contentOffset.x;
43 |
44 | // 1.当前页码
45 | NSInteger i = offsetX / self.frame.size.width;
46 |
47 | [self setCurrentIndex:i];
48 |
49 | !self.didEndScrollView ? : self.didEndScrollView(i);
50 | }
51 |
52 | #pragma mark - lazy
53 | - (UIScrollView *)contentView {
54 | if (!_contentView) {
55 | _contentView = [[UIScrollView alloc] initWithFrame:self.bounds];
56 | _contentView.pagingEnabled = YES;
57 | _contentView.showsHorizontalScrollIndicator = NO;
58 | _contentView.delegate = self;
59 | }
60 | return _contentView;
61 | }
62 |
63 | @end
64 |
--------------------------------------------------------------------------------
/tableViewDemo/AppDelegate.m:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.m
3 | // tableViewDemo
4 | //
5 | // Created by liuhao on 17/3/28.
6 | // Copyright © 2017年 liuhao. 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 |
--------------------------------------------------------------------------------
/tableViewDemo/CustomView/LHTitlesView.m:
--------------------------------------------------------------------------------
1 | //
2 | // LHTitlesView.m
3 | // tableViewDemo
4 | //
5 | // Created by liuhao on 17/3/28.
6 | // Copyright © 2017年 liuhao. All rights reserved.
7 | //
8 |
9 | #import "LHTitlesView.h"
10 |
11 | @interface LHTitlesView ()
12 |
13 | @property (nonatomic, strong) NSArray *titles;
14 | /** 所有按钮的数组 */
15 | @property (nonatomic ,strong) NSMutableArray *titleBtns;
16 | // 记录上一个选中按钮
17 | @property (nonatomic, weak) UIButton *selectButton;
18 |
19 | @end
20 |
21 | @implementation LHTitlesView
22 |
23 | - (instancetype)initWithFrame:(CGRect)frame titles:(NSArray *)titles {
24 | if (self = [super initWithFrame:frame]) {
25 | self.titles = titles;
26 | self.backgroundColor = [UIColor yellowColor];
27 | [self setupInit];
28 | }
29 | return self;
30 | }
31 |
32 | - (void)setCurrentTitleIndex:(NSInteger)index {
33 | [self selectTitleButton:self.titleBtns[index]];
34 | }
35 |
36 | - (void)titleClick:(UIButton *)button {
37 | // 0.获取角标
38 | NSInteger i = button.tag;
39 |
40 | !self.didTitleClick ? : self.didTitleClick(i);
41 | // 1.让标题按钮选中
42 | [self selectTitleButton:button];
43 | }
44 |
45 | - (void)selectTitleButton:(UIButton *)btn {
46 | // 恢复上一个按钮颜色
47 | [_selectButton setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];
48 |
49 | // 设置当前选中按钮的颜色
50 | [btn setTitleColor:[UIColor redColor] forState:UIControlStateNormal];
51 |
52 | // 记录当前选中的按钮
53 | _selectButton = btn;
54 | }
55 |
56 | - (void)setupInit {
57 | CGFloat btnW = self.frame.size.width / self.titles.count;
58 | CGFloat btnH = self.frame.size.height;
59 | [self.titles enumerateObjectsUsingBlock:^(NSString *title, NSUInteger idx, BOOL * _Nonnull stop) {
60 | UIButton *btn = [UIButton buttonWithType:UIButtonTypeCustom];
61 | btn.tag = idx;
62 | btn.frame = (CGRect) {btnW * idx, 0, btnW, btnH};
63 | [btn setTitle:title forState:UIControlStateNormal];
64 | [btn setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];
65 | [btn addTarget:self action:@selector(titleClick:) forControlEvents:UIControlEventTouchDown];
66 | if (!idx) {
67 | [self titleClick:btn];
68 | }
69 | [self addSubview:btn];
70 | [self.titleBtns addObject:btn];
71 | }];
72 | }
73 |
74 | #pragma mark - 懒加载
75 | - (NSMutableArray *)titleBtns {
76 | if (!_titleBtns) {
77 | _titleBtns = [NSMutableArray array];
78 | }
79 | return _titleBtns;
80 | }
81 |
82 | @end
83 |
--------------------------------------------------------------------------------
/tableViewDemo/ViewController.m:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.m
3 | // tableViewDemo
4 | //
5 | // Created by liuhao on 17/3/28.
6 | // Copyright © 2017年 liuhao. All rights reserved.
7 | //
8 |
9 | #import "ViewController.h"
10 | #import "LHHEHEController.h"
11 | #import "LHHAHAController.h"
12 | #import "LHHEIHEIController.h"
13 |
14 | #import "LHTitlesView.h"
15 | #import "LHPageView.h"
16 |
17 |
18 |
19 | #define SCREENW [UIScreen mainScreen].bounds.size.width
20 | #define SCREENH [UIScreen mainScreen].bounds.size.height
21 |
22 | @interface ViewController ()
23 |
24 | @property (nonatomic, strong) LHTitlesView *titleView;
25 | @property (nonatomic, strong) LHPageView *pageView;
26 | @property (nonatomic, strong) UIImageView *headImageView;
27 |
28 | @property (nonatomic, strong) NSArray *childVCs;
29 |
30 | @property (nonatomic, strong) UITableViewController *currentVC;
31 | @property (nonatomic, assign) CGFloat oldOffsetY;
32 |
33 | @end
34 |
35 | @implementation ViewController
36 |
37 | - (void)viewDidLoad {
38 | [super viewDidLoad];
39 | self.automaticallyAdjustsScrollViewInsets = NO;
40 | [self setupInit];
41 | }
42 |
43 | - (void)setupInit {
44 | [self.view addSubview:self.pageView];
45 | [self.view addSubview:self.titleView];
46 | [self.view addSubview:self.headImageView];
47 | [self.pageView setCurrentIndex:0];
48 | }
49 |
50 | #pragma mark - lazy
51 | - (LHTitlesView *)titleView {
52 | if (!_titleView) {
53 | _titleView = [[LHTitlesView alloc] initWithFrame:(CGRect){0, 200, SCREENW, 44} titles:@[@"哈哈", @"呵呵", @"嘿嘿"]];
54 | __weak ViewController *weakSelf = self;
55 | _titleView.didTitleClick = ^(NSInteger index) {
56 | [weakSelf.pageView setCurrentIndex:index];
57 | [[NSNotificationCenter defaultCenter] postNotificationName:@"kChangeTableViewOffSetYNotification" object:@(index)];
58 | };
59 | }
60 | return _titleView;
61 | }
62 |
63 | - (LHPageView *)pageView {
64 | if (!_pageView) {
65 | _pageView = [[LHPageView alloc] initWithFrame:self.view.bounds childVC:self.childVCs];
66 | __weak ViewController *weakSelf = self;
67 | _pageView.didEndScrollView = ^(NSInteger index) {
68 | [weakSelf.titleView setCurrentTitleIndex:index];
69 | [[NSNotificationCenter defaultCenter] postNotificationName:@"kChangeTableViewOffSetYNotification" object:@(index)];
70 | };
71 | }
72 | return _pageView;
73 | }
74 |
75 | - (UIImageView *)headImageView {
76 | if (!_headImageView) {
77 | _headImageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"default"]];
78 | _headImageView.frame = (CGRect){0, 0, SCREENW, 200};
79 | _headImageView.contentMode = UIViewContentModeScaleAspectFill;
80 | _headImageView.clipsToBounds = YES;
81 | }
82 | return _headImageView;
83 | }
84 |
85 | - (NSArray *)childVCs {
86 | if (!_childVCs) {
87 | __weak ViewController *weakSelf = self;
88 | void(^offset)(CGFloat, UITableViewController *) = ^(CGFloat offsetY, UITableViewController *VC) {
89 |
90 | CGRect titleFrame = weakSelf.titleView.frame;
91 |
92 | titleFrame.origin.y = 200 - offsetY;
93 | if (titleFrame.origin.y <= 0) {
94 | titleFrame.origin.y = 0;
95 | }
96 | // else if (titleFrame.origin.y >= 200) {
97 | // titleFrame.origin.y = 200;
98 | // }
99 |
100 | weakSelf.titleView.frame = titleFrame;
101 |
102 | CGRect imageViewFrame = weakSelf.headImageView.frame;
103 | imageViewFrame.size.height = titleFrame.origin.y;
104 | weakSelf.headImageView.frame = imageViewFrame;
105 |
106 | weakSelf.currentVC = VC;
107 | weakSelf.oldOffsetY = offsetY;
108 | [weakSelf.childVCs enumerateObjectsUsingBlock:^(LHBaseController *VC, NSUInteger idx, BOOL * _Nonnull stop) {
109 | if (![weakSelf.currentVC.description isEqualToString:VC.description]) {
110 | [VC setTableViewOffSetY:offsetY];
111 | }
112 | }];
113 | NSLog(@"%f", offsetY);
114 | };
115 |
116 | LHHAHAController *haha = [LHHAHAController new];
117 | haha.offSet = offset;
118 |
119 | LHHEHEController *hehe = [LHHEHEController new];
120 | hehe.offSet = offset;
121 |
122 | LHHEIHEIController *heihei = [LHHEIHEIController new];
123 | heihei.offSet = offset;
124 |
125 | [self addChildViewController:haha];
126 | [self addChildViewController:hehe];
127 | [self addChildViewController:heihei];
128 | _childVCs = @[haha, hehe, heihei];
129 | }
130 | return _childVCs;
131 | }
132 |
133 | @end
134 |
--------------------------------------------------------------------------------
/tableViewDemo.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | C5A100B71E8A9E8000BE5EC6 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = C5A100B61E8A9E8000BE5EC6 /* main.m */; };
11 | C5A100BA1E8A9E8000BE5EC6 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = C5A100B91E8A9E8000BE5EC6 /* AppDelegate.m */; };
12 | C5A100BD1E8A9E8000BE5EC6 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C5A100BC1E8A9E8000BE5EC6 /* ViewController.m */; };
13 | C5A100C01E8A9E8000BE5EC6 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C5A100BE1E8A9E8000BE5EC6 /* Main.storyboard */; };
14 | C5A100C21E8A9E8000BE5EC6 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C5A100C11E8A9E8000BE5EC6 /* Assets.xcassets */; };
15 | C5A100C51E8A9E8000BE5EC6 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C5A100C31E8A9E8000BE5EC6 /* LaunchScreen.storyboard */; };
16 | C5A100D01E8A9E8000BE5EC6 /* tableViewDemoTests.m in Sources */ = {isa = PBXBuildFile; fileRef = C5A100CF1E8A9E8000BE5EC6 /* tableViewDemoTests.m */; };
17 | C5A100DB1E8A9E8000BE5EC6 /* tableViewDemoUITests.m in Sources */ = {isa = PBXBuildFile; fileRef = C5A100DA1E8A9E8000BE5EC6 /* tableViewDemoUITests.m */; };
18 | C5A100EB1E8A9F8400BE5EC6 /* LHTitlesView.m in Sources */ = {isa = PBXBuildFile; fileRef = C5A100EA1E8A9F8400BE5EC6 /* LHTitlesView.m */; };
19 | C5A100EE1E8AA46300BE5EC6 /* LHPageView.m in Sources */ = {isa = PBXBuildFile; fileRef = C5A100ED1E8AA46300BE5EC6 /* LHPageView.m */; };
20 | C5A100F11E8AA6C200BE5EC6 /* LHHEHEController.m in Sources */ = {isa = PBXBuildFile; fileRef = C5A100F01E8AA6C200BE5EC6 /* LHHEHEController.m */; };
21 | C5A100F41E8AA6D400BE5EC6 /* LHHAHAController.m in Sources */ = {isa = PBXBuildFile; fileRef = C5A100F31E8AA6D400BE5EC6 /* LHHAHAController.m */; };
22 | C5A100F71E8AA6E200BE5EC6 /* LHHEIHEIController.m in Sources */ = {isa = PBXBuildFile; fileRef = C5A100F61E8AA6E200BE5EC6 /* LHHEIHEIController.m */; };
23 | C5A100FA1E8AAED900BE5EC6 /* LHBaseController.m in Sources */ = {isa = PBXBuildFile; fileRef = C5A100F91E8AAED900BE5EC6 /* LHBaseController.m */; };
24 | /* End PBXBuildFile section */
25 |
26 | /* Begin PBXContainerItemProxy section */
27 | C5A100CC1E8A9E8000BE5EC6 /* PBXContainerItemProxy */ = {
28 | isa = PBXContainerItemProxy;
29 | containerPortal = C5A100AA1E8A9E8000BE5EC6 /* Project object */;
30 | proxyType = 1;
31 | remoteGlobalIDString = C5A100B11E8A9E8000BE5EC6;
32 | remoteInfo = tableViewDemo;
33 | };
34 | C5A100D71E8A9E8000BE5EC6 /* PBXContainerItemProxy */ = {
35 | isa = PBXContainerItemProxy;
36 | containerPortal = C5A100AA1E8A9E8000BE5EC6 /* Project object */;
37 | proxyType = 1;
38 | remoteGlobalIDString = C5A100B11E8A9E8000BE5EC6;
39 | remoteInfo = tableViewDemo;
40 | };
41 | /* End PBXContainerItemProxy section */
42 |
43 | /* Begin PBXFileReference section */
44 | C5A100B21E8A9E8000BE5EC6 /* tableViewDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = tableViewDemo.app; sourceTree = BUILT_PRODUCTS_DIR; };
45 | C5A100B61E8A9E8000BE5EC6 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; };
46 | C5A100B81E8A9E8000BE5EC6 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; };
47 | C5A100B91E8A9E8000BE5EC6 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; };
48 | C5A100BB1E8A9E8000BE5EC6 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; };
49 | C5A100BC1E8A9E8000BE5EC6 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; };
50 | C5A100BF1E8A9E8000BE5EC6 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
51 | C5A100C11E8A9E8000BE5EC6 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
52 | C5A100C41E8A9E8000BE5EC6 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
53 | C5A100C61E8A9E8000BE5EC6 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
54 | C5A100CB1E8A9E8000BE5EC6 /* tableViewDemoTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = tableViewDemoTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
55 | C5A100CF1E8A9E8000BE5EC6 /* tableViewDemoTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = tableViewDemoTests.m; sourceTree = ""; };
56 | C5A100D11E8A9E8000BE5EC6 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
57 | C5A100D61E8A9E8000BE5EC6 /* tableViewDemoUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = tableViewDemoUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
58 | C5A100DA1E8A9E8000BE5EC6 /* tableViewDemoUITests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = tableViewDemoUITests.m; sourceTree = ""; };
59 | C5A100DC1E8A9E8000BE5EC6 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
60 | C5A100E91E8A9F8400BE5EC6 /* LHTitlesView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LHTitlesView.h; sourceTree = ""; };
61 | C5A100EA1E8A9F8400BE5EC6 /* LHTitlesView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LHTitlesView.m; sourceTree = ""; };
62 | C5A100EC1E8AA46300BE5EC6 /* LHPageView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LHPageView.h; sourceTree = ""; };
63 | C5A100ED1E8AA46300BE5EC6 /* LHPageView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LHPageView.m; sourceTree = ""; };
64 | C5A100EF1E8AA6C200BE5EC6 /* LHHEHEController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LHHEHEController.h; sourceTree = ""; };
65 | C5A100F01E8AA6C200BE5EC6 /* LHHEHEController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LHHEHEController.m; sourceTree = ""; };
66 | C5A100F21E8AA6D400BE5EC6 /* LHHAHAController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LHHAHAController.h; sourceTree = ""; };
67 | C5A100F31E8AA6D400BE5EC6 /* LHHAHAController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LHHAHAController.m; sourceTree = ""; };
68 | C5A100F51E8AA6E200BE5EC6 /* LHHEIHEIController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LHHEIHEIController.h; sourceTree = ""; };
69 | C5A100F61E8AA6E200BE5EC6 /* LHHEIHEIController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LHHEIHEIController.m; sourceTree = ""; };
70 | C5A100F81E8AAED900BE5EC6 /* LHBaseController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LHBaseController.h; sourceTree = ""; };
71 | C5A100F91E8AAED900BE5EC6 /* LHBaseController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LHBaseController.m; sourceTree = ""; };
72 | /* End PBXFileReference section */
73 |
74 | /* Begin PBXFrameworksBuildPhase section */
75 | C5A100AF1E8A9E8000BE5EC6 /* Frameworks */ = {
76 | isa = PBXFrameworksBuildPhase;
77 | buildActionMask = 2147483647;
78 | files = (
79 | );
80 | runOnlyForDeploymentPostprocessing = 0;
81 | };
82 | C5A100C81E8A9E8000BE5EC6 /* Frameworks */ = {
83 | isa = PBXFrameworksBuildPhase;
84 | buildActionMask = 2147483647;
85 | files = (
86 | );
87 | runOnlyForDeploymentPostprocessing = 0;
88 | };
89 | C5A100D31E8A9E8000BE5EC6 /* Frameworks */ = {
90 | isa = PBXFrameworksBuildPhase;
91 | buildActionMask = 2147483647;
92 | files = (
93 | );
94 | runOnlyForDeploymentPostprocessing = 0;
95 | };
96 | /* End PBXFrameworksBuildPhase section */
97 |
98 | /* Begin PBXGroup section */
99 | C5A100A91E8A9E8000BE5EC6 = {
100 | isa = PBXGroup;
101 | children = (
102 | C5A100B41E8A9E8000BE5EC6 /* tableViewDemo */,
103 | C5A100D91E8A9E8000BE5EC6 /* tableViewDemoUITests */,
104 | C5A100B31E8A9E8000BE5EC6 /* Products */,
105 | );
106 | sourceTree = "";
107 | };
108 | C5A100B31E8A9E8000BE5EC6 /* Products */ = {
109 | isa = PBXGroup;
110 | children = (
111 | C5A100B21E8A9E8000BE5EC6 /* tableViewDemo.app */,
112 | C5A100CB1E8A9E8000BE5EC6 /* tableViewDemoTests.xctest */,
113 | C5A100D61E8A9E8000BE5EC6 /* tableViewDemoUITests.xctest */,
114 | );
115 | name = Products;
116 | sourceTree = "";
117 | };
118 | C5A100B41E8A9E8000BE5EC6 /* tableViewDemo */ = {
119 | isa = PBXGroup;
120 | children = (
121 | C5A100E81E8A9F5700BE5EC6 /* CustomView */,
122 | C5A100B81E8A9E8000BE5EC6 /* AppDelegate.h */,
123 | C5A100B91E8A9E8000BE5EC6 /* AppDelegate.m */,
124 | C5A100BB1E8A9E8000BE5EC6 /* ViewController.h */,
125 | C5A100BC1E8A9E8000BE5EC6 /* ViewController.m */,
126 | C5A100BE1E8A9E8000BE5EC6 /* Main.storyboard */,
127 | C5A100C11E8A9E8000BE5EC6 /* Assets.xcassets */,
128 | C5A100C31E8A9E8000BE5EC6 /* LaunchScreen.storyboard */,
129 | C5A100C61E8A9E8000BE5EC6 /* Info.plist */,
130 | C5A100B51E8A9E8000BE5EC6 /* Supporting Files */,
131 | C5A100EF1E8AA6C200BE5EC6 /* LHHEHEController.h */,
132 | C5A100F01E8AA6C200BE5EC6 /* LHHEHEController.m */,
133 | C5A100F21E8AA6D400BE5EC6 /* LHHAHAController.h */,
134 | C5A100F31E8AA6D400BE5EC6 /* LHHAHAController.m */,
135 | C5A100F51E8AA6E200BE5EC6 /* LHHEIHEIController.h */,
136 | C5A100F61E8AA6E200BE5EC6 /* LHHEIHEIController.m */,
137 | C5A100F81E8AAED900BE5EC6 /* LHBaseController.h */,
138 | C5A100F91E8AAED900BE5EC6 /* LHBaseController.m */,
139 | C5A100CE1E8A9E8000BE5EC6 /* tableViewDemoTests */,
140 | );
141 | path = tableViewDemo;
142 | sourceTree = "";
143 | };
144 | C5A100B51E8A9E8000BE5EC6 /* Supporting Files */ = {
145 | isa = PBXGroup;
146 | children = (
147 | C5A100B61E8A9E8000BE5EC6 /* main.m */,
148 | );
149 | name = "Supporting Files";
150 | sourceTree = "";
151 | };
152 | C5A100CE1E8A9E8000BE5EC6 /* tableViewDemoTests */ = {
153 | isa = PBXGroup;
154 | children = (
155 | C5A100CF1E8A9E8000BE5EC6 /* tableViewDemoTests.m */,
156 | C5A100D11E8A9E8000BE5EC6 /* Info.plist */,
157 | );
158 | path = tableViewDemoTests;
159 | sourceTree = SOURCE_ROOT;
160 | };
161 | C5A100D91E8A9E8000BE5EC6 /* tableViewDemoUITests */ = {
162 | isa = PBXGroup;
163 | children = (
164 | C5A100DA1E8A9E8000BE5EC6 /* tableViewDemoUITests.m */,
165 | C5A100DC1E8A9E8000BE5EC6 /* Info.plist */,
166 | );
167 | path = tableViewDemoUITests;
168 | sourceTree = "";
169 | };
170 | C5A100E81E8A9F5700BE5EC6 /* CustomView */ = {
171 | isa = PBXGroup;
172 | children = (
173 | C5A100E91E8A9F8400BE5EC6 /* LHTitlesView.h */,
174 | C5A100EA1E8A9F8400BE5EC6 /* LHTitlesView.m */,
175 | C5A100EC1E8AA46300BE5EC6 /* LHPageView.h */,
176 | C5A100ED1E8AA46300BE5EC6 /* LHPageView.m */,
177 | );
178 | path = CustomView;
179 | sourceTree = "";
180 | };
181 | /* End PBXGroup section */
182 |
183 | /* Begin PBXNativeTarget section */
184 | C5A100B11E8A9E8000BE5EC6 /* tableViewDemo */ = {
185 | isa = PBXNativeTarget;
186 | buildConfigurationList = C5A100DF1E8A9E8000BE5EC6 /* Build configuration list for PBXNativeTarget "tableViewDemo" */;
187 | buildPhases = (
188 | C5A100AE1E8A9E8000BE5EC6 /* Sources */,
189 | C5A100AF1E8A9E8000BE5EC6 /* Frameworks */,
190 | C5A100B01E8A9E8000BE5EC6 /* Resources */,
191 | );
192 | buildRules = (
193 | );
194 | dependencies = (
195 | );
196 | name = tableViewDemo;
197 | productName = tableViewDemo;
198 | productReference = C5A100B21E8A9E8000BE5EC6 /* tableViewDemo.app */;
199 | productType = "com.apple.product-type.application";
200 | };
201 | C5A100CA1E8A9E8000BE5EC6 /* tableViewDemoTests */ = {
202 | isa = PBXNativeTarget;
203 | buildConfigurationList = C5A100E21E8A9E8000BE5EC6 /* Build configuration list for PBXNativeTarget "tableViewDemoTests" */;
204 | buildPhases = (
205 | C5A100C71E8A9E8000BE5EC6 /* Sources */,
206 | C5A100C81E8A9E8000BE5EC6 /* Frameworks */,
207 | C5A100C91E8A9E8000BE5EC6 /* Resources */,
208 | );
209 | buildRules = (
210 | );
211 | dependencies = (
212 | C5A100CD1E8A9E8000BE5EC6 /* PBXTargetDependency */,
213 | );
214 | name = tableViewDemoTests;
215 | productName = tableViewDemoTests;
216 | productReference = C5A100CB1E8A9E8000BE5EC6 /* tableViewDemoTests.xctest */;
217 | productType = "com.apple.product-type.bundle.unit-test";
218 | };
219 | C5A100D51E8A9E8000BE5EC6 /* tableViewDemoUITests */ = {
220 | isa = PBXNativeTarget;
221 | buildConfigurationList = C5A100E51E8A9E8000BE5EC6 /* Build configuration list for PBXNativeTarget "tableViewDemoUITests" */;
222 | buildPhases = (
223 | C5A100D21E8A9E8000BE5EC6 /* Sources */,
224 | C5A100D31E8A9E8000BE5EC6 /* Frameworks */,
225 | C5A100D41E8A9E8000BE5EC6 /* Resources */,
226 | );
227 | buildRules = (
228 | );
229 | dependencies = (
230 | C5A100D81E8A9E8000BE5EC6 /* PBXTargetDependency */,
231 | );
232 | name = tableViewDemoUITests;
233 | productName = tableViewDemoUITests;
234 | productReference = C5A100D61E8A9E8000BE5EC6 /* tableViewDemoUITests.xctest */;
235 | productType = "com.apple.product-type.bundle.ui-testing";
236 | };
237 | /* End PBXNativeTarget section */
238 |
239 | /* Begin PBXProject section */
240 | C5A100AA1E8A9E8000BE5EC6 /* Project object */ = {
241 | isa = PBXProject;
242 | attributes = {
243 | CLASSPREFIX = LH;
244 | LastUpgradeCheck = 0720;
245 | ORGANIZATIONNAME = liuhao;
246 | TargetAttributes = {
247 | C5A100B11E8A9E8000BE5EC6 = {
248 | CreatedOnToolsVersion = 7.2.1;
249 | };
250 | C5A100CA1E8A9E8000BE5EC6 = {
251 | CreatedOnToolsVersion = 7.2.1;
252 | TestTargetID = C5A100B11E8A9E8000BE5EC6;
253 | };
254 | C5A100D51E8A9E8000BE5EC6 = {
255 | CreatedOnToolsVersion = 7.2.1;
256 | TestTargetID = C5A100B11E8A9E8000BE5EC6;
257 | };
258 | };
259 | };
260 | buildConfigurationList = C5A100AD1E8A9E8000BE5EC6 /* Build configuration list for PBXProject "tableViewDemo" */;
261 | compatibilityVersion = "Xcode 3.2";
262 | developmentRegion = English;
263 | hasScannedForEncodings = 0;
264 | knownRegions = (
265 | en,
266 | Base,
267 | );
268 | mainGroup = C5A100A91E8A9E8000BE5EC6;
269 | productRefGroup = C5A100B31E8A9E8000BE5EC6 /* Products */;
270 | projectDirPath = "";
271 | projectRoot = "";
272 | targets = (
273 | C5A100B11E8A9E8000BE5EC6 /* tableViewDemo */,
274 | C5A100CA1E8A9E8000BE5EC6 /* tableViewDemoTests */,
275 | C5A100D51E8A9E8000BE5EC6 /* tableViewDemoUITests */,
276 | );
277 | };
278 | /* End PBXProject section */
279 |
280 | /* Begin PBXResourcesBuildPhase section */
281 | C5A100B01E8A9E8000BE5EC6 /* Resources */ = {
282 | isa = PBXResourcesBuildPhase;
283 | buildActionMask = 2147483647;
284 | files = (
285 | C5A100C51E8A9E8000BE5EC6 /* LaunchScreen.storyboard in Resources */,
286 | C5A100C21E8A9E8000BE5EC6 /* Assets.xcassets in Resources */,
287 | C5A100C01E8A9E8000BE5EC6 /* Main.storyboard in Resources */,
288 | );
289 | runOnlyForDeploymentPostprocessing = 0;
290 | };
291 | C5A100C91E8A9E8000BE5EC6 /* Resources */ = {
292 | isa = PBXResourcesBuildPhase;
293 | buildActionMask = 2147483647;
294 | files = (
295 | );
296 | runOnlyForDeploymentPostprocessing = 0;
297 | };
298 | C5A100D41E8A9E8000BE5EC6 /* Resources */ = {
299 | isa = PBXResourcesBuildPhase;
300 | buildActionMask = 2147483647;
301 | files = (
302 | );
303 | runOnlyForDeploymentPostprocessing = 0;
304 | };
305 | /* End PBXResourcesBuildPhase section */
306 |
307 | /* Begin PBXSourcesBuildPhase section */
308 | C5A100AE1E8A9E8000BE5EC6 /* Sources */ = {
309 | isa = PBXSourcesBuildPhase;
310 | buildActionMask = 2147483647;
311 | files = (
312 | C5A100F41E8AA6D400BE5EC6 /* LHHAHAController.m in Sources */,
313 | C5A100FA1E8AAED900BE5EC6 /* LHBaseController.m in Sources */,
314 | C5A100EE1E8AA46300BE5EC6 /* LHPageView.m in Sources */,
315 | C5A100BD1E8A9E8000BE5EC6 /* ViewController.m in Sources */,
316 | C5A100F71E8AA6E200BE5EC6 /* LHHEIHEIController.m in Sources */,
317 | C5A100EB1E8A9F8400BE5EC6 /* LHTitlesView.m in Sources */,
318 | C5A100F11E8AA6C200BE5EC6 /* LHHEHEController.m in Sources */,
319 | C5A100BA1E8A9E8000BE5EC6 /* AppDelegate.m in Sources */,
320 | C5A100B71E8A9E8000BE5EC6 /* main.m in Sources */,
321 | );
322 | runOnlyForDeploymentPostprocessing = 0;
323 | };
324 | C5A100C71E8A9E8000BE5EC6 /* Sources */ = {
325 | isa = PBXSourcesBuildPhase;
326 | buildActionMask = 2147483647;
327 | files = (
328 | C5A100D01E8A9E8000BE5EC6 /* tableViewDemoTests.m in Sources */,
329 | );
330 | runOnlyForDeploymentPostprocessing = 0;
331 | };
332 | C5A100D21E8A9E8000BE5EC6 /* Sources */ = {
333 | isa = PBXSourcesBuildPhase;
334 | buildActionMask = 2147483647;
335 | files = (
336 | C5A100DB1E8A9E8000BE5EC6 /* tableViewDemoUITests.m in Sources */,
337 | );
338 | runOnlyForDeploymentPostprocessing = 0;
339 | };
340 | /* End PBXSourcesBuildPhase section */
341 |
342 | /* Begin PBXTargetDependency section */
343 | C5A100CD1E8A9E8000BE5EC6 /* PBXTargetDependency */ = {
344 | isa = PBXTargetDependency;
345 | target = C5A100B11E8A9E8000BE5EC6 /* tableViewDemo */;
346 | targetProxy = C5A100CC1E8A9E8000BE5EC6 /* PBXContainerItemProxy */;
347 | };
348 | C5A100D81E8A9E8000BE5EC6 /* PBXTargetDependency */ = {
349 | isa = PBXTargetDependency;
350 | target = C5A100B11E8A9E8000BE5EC6 /* tableViewDemo */;
351 | targetProxy = C5A100D71E8A9E8000BE5EC6 /* PBXContainerItemProxy */;
352 | };
353 | /* End PBXTargetDependency section */
354 |
355 | /* Begin PBXVariantGroup section */
356 | C5A100BE1E8A9E8000BE5EC6 /* Main.storyboard */ = {
357 | isa = PBXVariantGroup;
358 | children = (
359 | C5A100BF1E8A9E8000BE5EC6 /* Base */,
360 | );
361 | name = Main.storyboard;
362 | sourceTree = "";
363 | };
364 | C5A100C31E8A9E8000BE5EC6 /* LaunchScreen.storyboard */ = {
365 | isa = PBXVariantGroup;
366 | children = (
367 | C5A100C41E8A9E8000BE5EC6 /* Base */,
368 | );
369 | name = LaunchScreen.storyboard;
370 | sourceTree = "";
371 | };
372 | /* End PBXVariantGroup section */
373 |
374 | /* Begin XCBuildConfiguration section */
375 | C5A100DD1E8A9E8000BE5EC6 /* Debug */ = {
376 | isa = XCBuildConfiguration;
377 | buildSettings = {
378 | ALWAYS_SEARCH_USER_PATHS = NO;
379 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
380 | CLANG_CXX_LIBRARY = "libc++";
381 | CLANG_ENABLE_MODULES = YES;
382 | CLANG_ENABLE_OBJC_ARC = YES;
383 | CLANG_WARN_BOOL_CONVERSION = YES;
384 | CLANG_WARN_CONSTANT_CONVERSION = YES;
385 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
386 | CLANG_WARN_EMPTY_BODY = YES;
387 | CLANG_WARN_ENUM_CONVERSION = YES;
388 | CLANG_WARN_INT_CONVERSION = YES;
389 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
390 | CLANG_WARN_UNREACHABLE_CODE = YES;
391 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
392 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
393 | COPY_PHASE_STRIP = NO;
394 | DEBUG_INFORMATION_FORMAT = dwarf;
395 | ENABLE_STRICT_OBJC_MSGSEND = YES;
396 | ENABLE_TESTABILITY = YES;
397 | GCC_C_LANGUAGE_STANDARD = gnu99;
398 | GCC_DYNAMIC_NO_PIC = NO;
399 | GCC_NO_COMMON_BLOCKS = YES;
400 | GCC_OPTIMIZATION_LEVEL = 0;
401 | GCC_PREPROCESSOR_DEFINITIONS = (
402 | "DEBUG=1",
403 | "$(inherited)",
404 | );
405 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
406 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
407 | GCC_WARN_UNDECLARED_SELECTOR = YES;
408 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
409 | GCC_WARN_UNUSED_FUNCTION = YES;
410 | GCC_WARN_UNUSED_VARIABLE = YES;
411 | IPHONEOS_DEPLOYMENT_TARGET = 9.2;
412 | MTL_ENABLE_DEBUG_INFO = YES;
413 | ONLY_ACTIVE_ARCH = YES;
414 | SDKROOT = iphoneos;
415 | TARGETED_DEVICE_FAMILY = "1,2";
416 | };
417 | name = Debug;
418 | };
419 | C5A100DE1E8A9E8000BE5EC6 /* Release */ = {
420 | isa = XCBuildConfiguration;
421 | buildSettings = {
422 | ALWAYS_SEARCH_USER_PATHS = NO;
423 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
424 | CLANG_CXX_LIBRARY = "libc++";
425 | CLANG_ENABLE_MODULES = YES;
426 | CLANG_ENABLE_OBJC_ARC = YES;
427 | CLANG_WARN_BOOL_CONVERSION = YES;
428 | CLANG_WARN_CONSTANT_CONVERSION = YES;
429 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
430 | CLANG_WARN_EMPTY_BODY = YES;
431 | CLANG_WARN_ENUM_CONVERSION = YES;
432 | CLANG_WARN_INT_CONVERSION = YES;
433 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
434 | CLANG_WARN_UNREACHABLE_CODE = YES;
435 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
436 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
437 | COPY_PHASE_STRIP = NO;
438 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
439 | ENABLE_NS_ASSERTIONS = NO;
440 | ENABLE_STRICT_OBJC_MSGSEND = YES;
441 | GCC_C_LANGUAGE_STANDARD = gnu99;
442 | GCC_NO_COMMON_BLOCKS = YES;
443 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
444 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
445 | GCC_WARN_UNDECLARED_SELECTOR = YES;
446 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
447 | GCC_WARN_UNUSED_FUNCTION = YES;
448 | GCC_WARN_UNUSED_VARIABLE = YES;
449 | IPHONEOS_DEPLOYMENT_TARGET = 9.2;
450 | MTL_ENABLE_DEBUG_INFO = NO;
451 | SDKROOT = iphoneos;
452 | TARGETED_DEVICE_FAMILY = "1,2";
453 | VALIDATE_PRODUCT = YES;
454 | };
455 | name = Release;
456 | };
457 | C5A100E01E8A9E8000BE5EC6 /* Debug */ = {
458 | isa = XCBuildConfiguration;
459 | buildSettings = {
460 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
461 | INFOPLIST_FILE = tableViewDemo/Info.plist;
462 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
463 | PRODUCT_BUNDLE_IDENTIFIER = com.liuhao.tableViewDemo;
464 | PRODUCT_NAME = "$(TARGET_NAME)";
465 | };
466 | name = Debug;
467 | };
468 | C5A100E11E8A9E8000BE5EC6 /* Release */ = {
469 | isa = XCBuildConfiguration;
470 | buildSettings = {
471 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
472 | INFOPLIST_FILE = tableViewDemo/Info.plist;
473 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
474 | PRODUCT_BUNDLE_IDENTIFIER = com.liuhao.tableViewDemo;
475 | PRODUCT_NAME = "$(TARGET_NAME)";
476 | };
477 | name = Release;
478 | };
479 | C5A100E31E8A9E8000BE5EC6 /* Debug */ = {
480 | isa = XCBuildConfiguration;
481 | buildSettings = {
482 | BUNDLE_LOADER = "$(TEST_HOST)";
483 | INFOPLIST_FILE = tableViewDemoTests/Info.plist;
484 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
485 | PRODUCT_BUNDLE_IDENTIFIER = com.liuhao.tableViewDemoTests;
486 | PRODUCT_NAME = "$(TARGET_NAME)";
487 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/tableViewDemo.app/tableViewDemo";
488 | };
489 | name = Debug;
490 | };
491 | C5A100E41E8A9E8000BE5EC6 /* Release */ = {
492 | isa = XCBuildConfiguration;
493 | buildSettings = {
494 | BUNDLE_LOADER = "$(TEST_HOST)";
495 | INFOPLIST_FILE = tableViewDemoTests/Info.plist;
496 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
497 | PRODUCT_BUNDLE_IDENTIFIER = com.liuhao.tableViewDemoTests;
498 | PRODUCT_NAME = "$(TARGET_NAME)";
499 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/tableViewDemo.app/tableViewDemo";
500 | };
501 | name = Release;
502 | };
503 | C5A100E61E8A9E8000BE5EC6 /* Debug */ = {
504 | isa = XCBuildConfiguration;
505 | buildSettings = {
506 | INFOPLIST_FILE = tableViewDemoUITests/Info.plist;
507 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
508 | PRODUCT_BUNDLE_IDENTIFIER = com.liuhao.tableViewDemoUITests;
509 | PRODUCT_NAME = "$(TARGET_NAME)";
510 | TEST_TARGET_NAME = tableViewDemo;
511 | USES_XCTRUNNER = YES;
512 | };
513 | name = Debug;
514 | };
515 | C5A100E71E8A9E8000BE5EC6 /* Release */ = {
516 | isa = XCBuildConfiguration;
517 | buildSettings = {
518 | INFOPLIST_FILE = tableViewDemoUITests/Info.plist;
519 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
520 | PRODUCT_BUNDLE_IDENTIFIER = com.liuhao.tableViewDemoUITests;
521 | PRODUCT_NAME = "$(TARGET_NAME)";
522 | TEST_TARGET_NAME = tableViewDemo;
523 | USES_XCTRUNNER = YES;
524 | };
525 | name = Release;
526 | };
527 | /* End XCBuildConfiguration section */
528 |
529 | /* Begin XCConfigurationList section */
530 | C5A100AD1E8A9E8000BE5EC6 /* Build configuration list for PBXProject "tableViewDemo" */ = {
531 | isa = XCConfigurationList;
532 | buildConfigurations = (
533 | C5A100DD1E8A9E8000BE5EC6 /* Debug */,
534 | C5A100DE1E8A9E8000BE5EC6 /* Release */,
535 | );
536 | defaultConfigurationIsVisible = 0;
537 | defaultConfigurationName = Release;
538 | };
539 | C5A100DF1E8A9E8000BE5EC6 /* Build configuration list for PBXNativeTarget "tableViewDemo" */ = {
540 | isa = XCConfigurationList;
541 | buildConfigurations = (
542 | C5A100E01E8A9E8000BE5EC6 /* Debug */,
543 | C5A100E11E8A9E8000BE5EC6 /* Release */,
544 | );
545 | defaultConfigurationIsVisible = 0;
546 | defaultConfigurationName = Release;
547 | };
548 | C5A100E21E8A9E8000BE5EC6 /* Build configuration list for PBXNativeTarget "tableViewDemoTests" */ = {
549 | isa = XCConfigurationList;
550 | buildConfigurations = (
551 | C5A100E31E8A9E8000BE5EC6 /* Debug */,
552 | C5A100E41E8A9E8000BE5EC6 /* Release */,
553 | );
554 | defaultConfigurationIsVisible = 0;
555 | defaultConfigurationName = Release;
556 | };
557 | C5A100E51E8A9E8000BE5EC6 /* Build configuration list for PBXNativeTarget "tableViewDemoUITests" */ = {
558 | isa = XCConfigurationList;
559 | buildConfigurations = (
560 | C5A100E61E8A9E8000BE5EC6 /* Debug */,
561 | C5A100E71E8A9E8000BE5EC6 /* Release */,
562 | );
563 | defaultConfigurationIsVisible = 0;
564 | defaultConfigurationName = Release;
565 | };
566 | /* End XCConfigurationList section */
567 | };
568 | rootObject = C5A100AA1E8A9E8000BE5EC6 /* Project object */;
569 | }
570 |
--------------------------------------------------------------------------------