├── screenshot
└── preview.gif
├── SlideMenuView
├── Images.xcassets
│ ├── avatar.imageset
│ │ ├── avatar.png
│ │ └── Contents.json
│ ├── background.imageset
│ │ ├── background.png
│ │ └── Contents.json
│ └── AppIcon.appiconset
│ │ └── Contents.json
├── ViewController.h
├── FirstViewController.h
├── ThirdViewController.h
├── SecondViewController.h
├── MenuViewController.h
├── main.m
├── AppDelegate.h
├── ViewController.m
├── lib
│ ├── SlideMenuView.h
│ └── SlideMenuView.m
├── ThirdViewController.m
├── SecondViewController.m
├── FirstViewController.m
├── Info.plist
├── Base.lproj
│ ├── Main.storyboard
│ └── LaunchScreen.xib
├── AppDelegate.m
└── MenuViewController.m
├── SlideMenuView.xcodeproj
├── project.xcworkspace
│ └── contents.xcworkspacedata
└── project.pbxproj
├── .gitignore
├── README.md
├── SlideMenuViewTests
├── Info.plist
└── SlideMenuViewTests.m
└── LICENSE
/screenshot/preview.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/app-bootstrap/SlideMenuView/HEAD/screenshot/preview.gif
--------------------------------------------------------------------------------
/SlideMenuView/Images.xcassets/avatar.imageset/avatar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/app-bootstrap/SlideMenuView/HEAD/SlideMenuView/Images.xcassets/avatar.imageset/avatar.png
--------------------------------------------------------------------------------
/SlideMenuView/Images.xcassets/background.imageset/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/app-bootstrap/SlideMenuView/HEAD/SlideMenuView/Images.xcassets/background.imageset/background.png
--------------------------------------------------------------------------------
/SlideMenuView.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/SlideMenuView/ViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.h
3 | // SlideMenuView
4 | //
5 | // Created by xdf on 4/20/15.
6 | // Copyright (c) 2015 xdf. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ViewController : UIViewController
12 |
13 | @end
14 |
15 |
--------------------------------------------------------------------------------
/SlideMenuView/FirstViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // FirstViewController.h
3 | // SlideMenuView
4 | //
5 | // Created by xdf on 4/20/15.
6 | // Copyright (c) 2015 xdf. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface FirstViewController : UIViewController
12 |
13 | @end
14 |
--------------------------------------------------------------------------------
/SlideMenuView/ThirdViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // ThirdViewController.h
3 | // SlideMenuView
4 | //
5 | // Created by xdf on 4/20/15.
6 | // Copyright (c) 2015 xdf. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ThirdViewController : UIViewController
12 |
13 | @end
14 |
--------------------------------------------------------------------------------
/SlideMenuView/SecondViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // SecondViewController.h
3 | // SlideMenuView
4 | //
5 | // Created by xdf on 4/20/15.
6 | // Copyright (c) 2015 xdf. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface SecondViewController : UIViewController
12 |
13 | @end
14 |
--------------------------------------------------------------------------------
/SlideMenuView/MenuViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // MenuViewController.h
3 | // SlideMenuView
4 | //
5 | // Created by xdf on 4/20/15.
6 | // Copyright (c) 2015 xdf. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface MenuViewController : UIViewController
12 | @property(nonatomic, strong) UIImageView *avatarImage;
13 | @property(nonatomic, assign) NSInteger selectedIndex;
14 | @end
--------------------------------------------------------------------------------
/SlideMenuView/main.m:
--------------------------------------------------------------------------------
1 | //
2 | // main.m
3 | // SlideMenuView
4 | //
5 | // Created by xdf on 4/20/15.
6 | // Copyright (c) 2015 xdf. 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 |
--------------------------------------------------------------------------------
/SlideMenuView/AppDelegate.h:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.h
3 | // SlideMenuView
4 | //
5 | // Created by xdf on 4/20/15.
6 | // Copyright (c) 2015 xdf. All rights reserved.
7 | //
8 |
9 | #import
10 | #import "SlideMenuView.h"
11 |
12 | @interface AppDelegate : UIResponder
13 | @property (strong, nonatomic) UIWindow *window;
14 | @property(nonatomic, strong) SlideMenuView *slideMenu;
15 | @end
--------------------------------------------------------------------------------
/SlideMenuView/Images.xcassets/avatar.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x",
6 | "filename" : "avatar.png"
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 | }
--------------------------------------------------------------------------------
/SlideMenuView/Images.xcassets/background.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x",
6 | "filename" : "background.png"
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 | }
--------------------------------------------------------------------------------
/SlideMenuView/ViewController.m:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.m
3 | // SlideMenuView
4 | //
5 | // Created by xdf on 4/20/15.
6 | // Copyright (c) 2015 xdf. All rights reserved.
7 | //
8 |
9 | #import "ViewController.h"
10 |
11 | @interface ViewController ()
12 |
13 | @end
14 |
15 | @implementation ViewController
16 |
17 | - (void)viewDidLoad {
18 | [super viewDidLoad];
19 | }
20 |
21 | - (void)didReceiveMemoryWarning {
22 | [super didReceiveMemoryWarning];
23 | }
24 |
25 | @end
26 |
--------------------------------------------------------------------------------
/SlideMenuView/lib/SlideMenuView.h:
--------------------------------------------------------------------------------
1 | //
2 | // SlideMenuView.h
3 | // SlideMenuView
4 | //
5 | // Created by xdf on 4/20/15.
6 | // Copyright (c) 2015 xdf. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface SlideMenuView : UIViewController
12 | @property(nonatomic, strong) UIViewController *leftViewController;
13 | @property(nonatomic, strong) UIViewController *rootViewController;
14 | @property(nonatomic, strong) UIImageView *backgroundImageView;
15 | - (id)initWithRootController:(UIViewController *)rootViewController;
16 | @end
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Xcode
2 | #
3 | build/
4 | *.pbxuser
5 | !default.pbxuser
6 | *.mode1v3
7 | !default.mode1v3
8 | *.mode2v3
9 | !default.mode2v3
10 | *.perspectivev3
11 | !default.perspectivev3
12 | xcuserdata
13 | *.xccheckout
14 | *.moved-aside
15 | DerivedData
16 | *.hmap
17 | *.ipa
18 | *.xcuserstate
19 |
20 | # CocoaPods
21 | #
22 | # We recommend against adding the Pods directory to your .gitignore. However
23 | # you should judge for yourself, the pros and cons are mentioned at:
24 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
25 | #
26 | Pods/
27 |
28 | #temp
29 | .DS_Store
30 | Thumbs.db
31 | *.sw*
32 | *.un~
33 |
--------------------------------------------------------------------------------
/SlideMenuView/ThirdViewController.m:
--------------------------------------------------------------------------------
1 | //
2 | // ThirdViewController.m
3 | // SlideMenuView
4 | //
5 | // Created by xdf on 4/20/15.
6 | // Copyright (c) 2015 xdf. All rights reserved.
7 | //
8 |
9 | #import "ThirdViewController.h"
10 |
11 | @interface ThirdViewController ()
12 | @end
13 |
14 | @implementation ThirdViewController
15 | - (void)viewDidLoad {
16 | [super viewDidLoad];
17 | [self initView];
18 | }
19 |
20 | - (void)initView {
21 | self.navigationItem.title = @"Third";
22 | self.navigationController.view.backgroundColor = [UIColor whiteColor];
23 | }
24 |
25 | - (void)didReceiveMemoryWarning {
26 | [super didReceiveMemoryWarning];
27 | }
28 |
29 | @end
30 |
--------------------------------------------------------------------------------
/SlideMenuView/SecondViewController.m:
--------------------------------------------------------------------------------
1 | //
2 | // SecondViewController.m
3 | // SlideMenuView
4 | //
5 | // Created by xdf on 4/20/15.
6 | // Copyright (c) 2015 xdf. All rights reserved.
7 | //
8 |
9 | #import "SecondViewController.h"
10 |
11 | @interface SecondViewController ()
12 |
13 | @end
14 |
15 | @implementation SecondViewController
16 | - (void)viewDidLoad {
17 | [super viewDidLoad];
18 | [self initView];
19 | }
20 |
21 | - (void)initView {
22 | self.navigationItem.title = @"Second";
23 | self.navigationController.view.backgroundColor = [UIColor whiteColor];
24 | }
25 |
26 | - (void)didReceiveMemoryWarning {
27 | [super didReceiveMemoryWarning];
28 | }
29 |
30 | @end
31 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # SlideMenuView
2 |
3 | ## Preview
4 |
5 | 
6 |
7 | ## Usage
8 |
9 | ### Installation
10 |
11 | copy `SlideMenuView.h`, `SlideMenuView.m` into your project.
12 |
13 |
14 | Add the following import to the top of the file:
15 |
16 | ``` objc
17 | #import "SlideMenuView.h"
18 | ```
19 |
20 | ### Configuration
21 |
22 | ``` objc
23 | UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:mainSide];
24 | SlideMenuView *slideMenu = [[SlideMenuView alloc] initWithRootController:nav];
25 | ...
26 | self.window.rootViewController = slideMenu;
27 | ```
28 |
29 | ## License
30 |
31 | The MIT License (MIT)
32 |
33 | Copyright (c) 2015 xdf
34 |
--------------------------------------------------------------------------------
/SlideMenuView/Images.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "29x29",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | }
33 | ],
34 | "info" : {
35 | "version" : 1,
36 | "author" : "xcode"
37 | }
38 | }
--------------------------------------------------------------------------------
/SlideMenuViewTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | xudafeng.com.$(PRODUCT_NAME:rfc1034identifier)
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 |
--------------------------------------------------------------------------------
/SlideMenuViewTests/SlideMenuViewTests.m:
--------------------------------------------------------------------------------
1 | //
2 | // SlideMenuViewTests.m
3 | // SlideMenuViewTests
4 | //
5 | // Created by xdf on 4/20/15.
6 | // Copyright (c) 2015 xdf. All rights reserved.
7 | //
8 |
9 | #import
10 | #import
11 |
12 | @interface SlideMenuViewTests : XCTestCase
13 |
14 | @end
15 |
16 | @implementation SlideMenuViewTests
17 |
18 | - (void)setUp {
19 | [super setUp];
20 | // Put setup code here. This method is called before the invocation of each test method in the class.
21 | }
22 |
23 | - (void)tearDown {
24 | // Put teardown code here. This method is called after the invocation of each test method in the class.
25 | [super tearDown];
26 | }
27 |
28 | - (void)testExample {
29 | // This is an example of a functional test case.
30 | XCTAssert(YES, @"Pass");
31 | }
32 |
33 | - (void)testPerformanceExample {
34 | // This is an example of a performance test case.
35 | [self measureBlock:^{
36 | // Put the code you want to measure the time of here.
37 | }];
38 | }
39 |
40 | @end
41 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2015 xdf
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy of
6 | this software and associated documentation files (the "Software"), to deal in
7 | the Software without restriction, including without limitation the rights to
8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9 | the Software, and to permit persons to whom the Software is furnished to do so,
10 | subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 |
--------------------------------------------------------------------------------
/SlideMenuView/FirstViewController.m:
--------------------------------------------------------------------------------
1 | //
2 | // FirstViewController.m
3 | // SlideMenuView
4 | //
5 | // Created by xdf on 4/20/15.
6 | // Copyright (c) 2015 xdf. All rights reserved.
7 | //
8 |
9 | #import "FirstViewController.h"
10 |
11 | @interface FirstViewController ()
12 | @property (strong, nonatomic) UIWebView *webView;
13 | @end
14 |
15 | @implementation FirstViewController
16 | - (void)viewDidLoad {
17 | [super viewDidLoad];
18 | [self initView];
19 | }
20 |
21 | - (void)initView {
22 | self.navigationItem.title = @"First";
23 | self.navigationController.view.backgroundColor = [UIColor whiteColor];
24 | [self initWebview];
25 | }
26 |
27 | - (void)initWebview {
28 | self.webView = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height)];
29 | [self.webView setScalesPageToFit: YES];
30 | [self.view addSubview: self.webView];
31 | NSURLRequest *request =[NSURLRequest requestWithURL:[NSURL URLWithString: @"http://www.baidu.com"]];
32 | [self.webView loadRequest:request];
33 | }
34 |
35 | - (void)didReceiveMemoryWarning {
36 | [super didReceiveMemoryWarning];
37 | }
38 |
39 | @end
40 |
--------------------------------------------------------------------------------
/SlideMenuView/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | xudafeng.com.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/SlideMenuView/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 |
--------------------------------------------------------------------------------
/SlideMenuView/AppDelegate.m:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.m
3 | // SlideMenuView
4 | //
5 | // Created by xdf on 4/20/15.
6 | // Copyright (c) 2015 xdf. All rights reserved.
7 | //
8 |
9 | #import "AppDelegate.h"
10 | #import "FirstViewController.h"
11 | #import "MenuViewController.h"
12 |
13 | @interface AppDelegate ()
14 |
15 | @end
16 |
17 | @implementation AppDelegate
18 |
19 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
20 | FirstViewController *mainSide = [[FirstViewController alloc] init];
21 | MenuViewController *leftSide = [[MenuViewController alloc] init];
22 | leftSide.selectedIndex = 0;
23 | UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:mainSide];
24 | SlideMenuView *slideMenu = [[SlideMenuView alloc] initWithRootController:nav];
25 | slideMenu.leftViewController = leftSide;
26 | self.window.rootViewController = slideMenu;
27 | self.slideMenu = slideMenu;
28 | return YES;
29 | }
30 |
31 | - (void)applicationWillResignActive:(UIApplication *)application {
32 | // 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.
33 | // 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.
34 | }
35 |
36 | - (void)applicationDidEnterBackground:(UIApplication *)application {
37 | // 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.
38 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
39 | }
40 |
41 | - (void)applicationWillEnterForeground:(UIApplication *)application {
42 | // 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.
43 | }
44 |
45 | - (void)applicationDidBecomeActive:(UIApplication *)application {
46 | // 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.
47 | }
48 |
49 | - (void)applicationWillTerminate:(UIApplication *)application {
50 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
51 | }
52 |
53 | @end
54 |
--------------------------------------------------------------------------------
/SlideMenuView/Base.lproj/LaunchScreen.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
20 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/SlideMenuView/MenuViewController.m:
--------------------------------------------------------------------------------
1 | //
2 | // MenuViewController.m
3 | // SlideMenuView
4 | //
5 | // Created by xdf on 4/20/15.
6 | // Copyright (c) 2015 xdf. All rights reserved.
7 | //
8 |
9 | #import "AppDelegate.h"
10 | #import "FirstViewController.h"
11 | #import "SecondViewController.h"
12 | #import "ThirdViewController.h"
13 | #import "MenuViewController.h"
14 |
15 | @interface MenuViewController ()
16 | @property(strong,nonatomic)UITableView *tableview;
17 | @property(strong,nonatomic)UIButton *settingButton;
18 | @property(nonatomic, strong)NSArray *titles;
19 | @property(nonatomic, assign)CGFloat avatarViewWidth;
20 | @property(nonatomic, assign)CGFloat avatarViewHeight;
21 | @property(strong,nonatomic)FirstViewController *mainSide;
22 | @end
23 |
24 | @implementation MenuViewController
25 |
26 | - (void)viewDidLoad {
27 | [super viewDidLoad];
28 | self.titles = @[@"First", @"Second", @"Third"];
29 | self.avatarViewHeight = 60;
30 | self.avatarViewWidth = 60;
31 | self.view.backgroundColor = [UIColor clearColor];
32 | self.tableview = [[UITableView alloc]initWithFrame:CGRectMake(0, self.view.bounds.size.height / 8 + self.avatarViewHeight / 2 + 10, self.view.bounds.size.width - self.view.bounds.size.width / 6, self.view.bounds.size.height / 4 * 3 - self.avatarViewHeight / 2 - 10) style:UITableViewStylePlain];
33 | self.tableview.delegate = self;
34 | self.tableview.dataSource= self;
35 | self.tableview.backgroundColor = [UIColor clearColor];
36 | self.tableview.separatorStyle = UITableViewCellSeparatorStyleNone;
37 | [self.view addSubview:self.tableview];
38 | [self initAvatarImage];
39 | [self setTableSelectedIndex];
40 | [self initFooter];
41 | }
42 |
43 | - (void)initAvatarImage {
44 | self.avatarImage = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"avatar.png"]];
45 | self.avatarImage.backgroundColor = [UIColor blueColor];
46 | self.avatarImage.layer.cornerRadius = self.avatarViewHeight / 2;
47 | self.avatarImage.layer.masksToBounds = YES;
48 | self.avatarImage.frame = CGRectMake(10, self.view.bounds.size.height / 8 - self.avatarViewHeight / 2, self.avatarViewWidth, self.avatarViewHeight);
49 | [self.view addSubview:self.avatarImage];
50 | }
51 |
52 | - (void)setTableSelectedIndex {
53 | [self.tableview selectRowAtIndexPath:[NSIndexPath indexPathForItem:self.selectedIndex inSection:0] animated:NO scrollPosition:UITableViewScrollPositionNone];
54 | }
55 |
56 | - (void)initFooter {
57 | NSInteger marginBottom = 40;
58 | self.settingButton = [[UIButton alloc] initWithFrame:CGRectMake(0, self.view.frame.size.height - marginBottom, 80, marginBottom)];
59 | [self.settingButton setTitleColor:[UIColor whiteColor]forState:UIControlStateNormal];
60 | [self.settingButton setAlpha: .6];
61 | [self.settingButton setTitle:@"setting" forState:UIControlStateNormal];
62 | [self.view addSubview: self.settingButton];
63 | }
64 |
65 | - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
66 | return self.titles.count;
67 | }
68 |
69 | -(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
70 | static NSString *CellIdentifier =@"Cell";
71 | UITableViewCell *cell = [self.tableview dequeueReusableCellWithIdentifier:CellIdentifier];
72 | if (cell == nil) {
73 | cell = [[UITableViewCell alloc]initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:CellIdentifier];
74 | cell.textLabel.textColor = [UIColor whiteColor];
75 | cell.textLabel.highlightedTextColor = [UIColor blackColor];
76 | cell.backgroundColor = [UIColor colorWithRed: 240.0 / 255.0 green:240.0 / 255.0 blue: 240.0 / 255.0 alpha: 0.08 * (indexPath.row + 1)];
77 | cell.textLabel.font = [UIFont systemFontOfSize:16];
78 | cell.selectedBackgroundView = [[[UIView alloc] initWithFrame:cell.frame] init];
79 | cell.selectedBackgroundView.backgroundColor = [UIColor colorWithRed: 240.0 / 255.0 green:240.0 / 255.0 blue: 240.0 / 255.0 alpha: 0.1 * (indexPath.row + 1)];
80 | cell.textLabel.text =[NSString stringWithFormat: @"%@", self.titles[indexPath.row]];
81 | }
82 | return cell;
83 | }
84 |
85 | - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
86 | return 50.0f;
87 | }
88 |
89 | - (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath {
90 | return NO;
91 | }
92 |
93 | - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
94 |
95 | switch (indexPath.row) {
96 | case 0:
97 | [self launchFirstView];
98 | break;
99 | case 1:
100 | [self launchSecondView];
101 | break;
102 | case 2:
103 | [self launchThirdView];
104 | break;
105 | default:
106 | break;
107 | }
108 | }
109 |
110 | - (void)launchFirstView {
111 | AppDelegate *app = [UIApplication sharedApplication].delegate;
112 | if (!self.mainSide) {
113 | FirstViewController *mainSide = [[FirstViewController alloc] init];
114 | self.mainSide = mainSide;
115 | }
116 | UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController: _mainSide];
117 | app.slideMenu.rootViewController = nav;
118 | }
119 |
120 | - (void)launchSecondView {
121 | AppDelegate *app = [UIApplication sharedApplication].delegate;
122 | SecondViewController *mainSide = [[SecondViewController alloc] init];
123 | UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController: mainSide];
124 | app.slideMenu.rootViewController = nav;
125 | }
126 |
127 | - (void)launchThirdView {
128 | AppDelegate *app = [UIApplication sharedApplication].delegate;
129 | ThirdViewController *mainSide = [[ThirdViewController alloc] init];
130 | UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController: mainSide];
131 | app.slideMenu.rootViewController = nav;
132 | }
133 |
134 | - (void)didReceiveMemoryWarning {
135 | [super didReceiveMemoryWarning];
136 | }
137 | @end
--------------------------------------------------------------------------------
/SlideMenuView/lib/SlideMenuView.m:
--------------------------------------------------------------------------------
1 | //
2 | // SlideMenuView.m
3 | // SlideMenuView
4 | //
5 | // Created by xdf on 4/20/15.
6 | // Copyright (c) 2015 xdf. All rights reserved.
7 | //
8 |
9 | #import "SlideMenuView.h"
10 |
11 | @interface SlideMenuView ()
12 | @property(nonatomic, strong) UIPanGestureRecognizer *rightSide;
13 | @property(nonatomic, strong) UIPanGestureRecognizer *leftSide;
14 | @property(nonatomic, strong) UITapGestureRecognizer *tap;
15 | @property(nonatomic, assign) CGFloat visibleWidthLeft;
16 | @property(nonatomic, assign) CGPoint startPoint;
17 | @property(nonatomic, assign) BOOL isAnimated;
18 | @end
19 |
20 | @implementation SlideMenuView
21 |
22 | - (id)initWithRootController:(UIViewController *)rootViewController {
23 | self = [self init];
24 | if (self) {
25 | self.rootViewController = rootViewController;
26 | }
27 | [self initBackground];
28 | return self;
29 | }
30 |
31 | - (id)init {
32 | self.visibleWidthLeft = self.view.bounds.size.width / 6;
33 | self = [super init];
34 | if (self) {
35 | self.isAnimated = NO;
36 | }
37 | return self;
38 | }
39 |
40 | - (void)initBackground {
41 | self.backgroundImageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"background.png"]];
42 | self.backgroundImageView.frame = self.view.frame;
43 | [self.view insertSubview:self.backgroundImageView atIndex:0];
44 | }
45 |
46 | - (void)viewDidLoad {
47 | [super viewDidLoad];
48 |
49 | }
50 |
51 | - (void)addmenuItem {
52 | UIViewController *mainViewcontroller = nil;
53 | if ([self.rootViewController isKindOfClass:[UINavigationController class]]) {
54 | UINavigationController *nav = (UINavigationController *)self.rootViewController;
55 | mainViewcontroller = nav.viewControllers.firstObject;
56 | }
57 | UIBarButtonItem *barItem = [[UIBarButtonItem alloc] initWithTitle:@"Menu" style:UIBarButtonItemStylePlain target:self action:@selector(slideOutAnimate)];
58 | mainViewcontroller.navigationItem.leftBarButtonItem = barItem;
59 | }
60 |
61 | - (void)setRootViewController:(UIViewController *)rootViewController {
62 | if (_rootViewController) {
63 | [_rootViewController.view removeFromSuperview];
64 | _rootViewController = nil;
65 | }
66 | _rootViewController = rootViewController;
67 | if (self.rootViewController) {
68 | UIView *view = self.rootViewController.view;
69 | view.frame = self.view.frame;
70 | [self.view insertSubview:view atIndex:2];
71 | [self addmenuItem];
72 | }
73 | UIPanGestureRecognizer *pan = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(handlePan:)];
74 | pan.delegate = (id )self;
75 | [self.rootViewController.view addGestureRecognizer:pan];
76 | self.rightSide = pan;
77 |
78 | UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(handleTap:)];
79 | [self.rootViewController.view addGestureRecognizer:tap];
80 | self.tap = tap;
81 | tap.enabled = NO;
82 |
83 | UIPanGestureRecognizer *leftSide = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(handleleftSide:)];
84 | leftSide.delegate = (id )self;
85 | [self.rootViewController.view addGestureRecognizer:leftSide];
86 | self.leftSide = leftSide;
87 | self.leftSide.enabled = NO;
88 | if (self.isAnimated) {
89 | CGRect rect = self.rootViewController.view.frame;
90 | rect.origin.x = self.view.bounds.size.width - self.visibleWidthLeft;
91 | rect.origin.y = self.view.bounds.size.height / 8;
92 | rect.size.height = self.view.bounds.size.height / 4 * 3;
93 | rect.size.width = self.view.bounds.size.width / 2;
94 | self.rootViewController.view.transform = CGAffineTransformMakeScale(0.5, 0.5);
95 | self.rootViewController.view.frame = rect;
96 | [self slideOutAnimate];
97 | }
98 | }
99 |
100 | - (void)setLeftViewController:(UIViewController *)leftViewController {
101 | _leftViewController = leftViewController;
102 | UIView *view = self.leftViewController.view;
103 | view.frame = self.view.frame;
104 | [self.view insertSubview:view atIndex:1];
105 | CGRect rect = self.leftViewController.view.frame;
106 | rect.origin.x = -self.visibleWidthLeft;
107 | rect.origin.y = self.view.bounds.size.height / 8;
108 | rect.size.height = self.view.bounds.size.height / 4 * 3;
109 | rect.size.width = self.view.bounds.size.width / 2;
110 | self.leftViewController.view.transform = CGAffineTransformMakeScale(0.5, 0.5);
111 | self.leftViewController.view.frame = rect;
112 | self.leftViewController.view.alpha = 0;
113 | }
114 |
115 | - (void)rootIsSCrolling:(BOOL)isScroll {
116 | UIViewController *mainViewcontroller = nil;
117 | if ([self.rootViewController isKindOfClass:[UINavigationController class]]) {
118 | UINavigationController *nav = (UINavigationController *)self.rootViewController;
119 | mainViewcontroller = nav.viewControllers.firstObject;
120 | mainViewcontroller.view.userInteractionEnabled = isScroll;
121 | }
122 | }
123 |
124 | - (void)handleleftSide:(UIPanGestureRecognizer *)leftSide {
125 | CGPoint locationPoint = [leftSide locationInView:self.view];
126 | CGFloat offsetX = - (locationPoint.x - self.startPoint.x);
127 | if (leftSide.state == UIGestureRecognizerStateChanged) {
128 | if (locationPoint.x - self.startPoint.x <= -6) {
129 | CGFloat leftOffsetX = offsetX * self.visibleWidthLeft / (self.view.bounds.size.width - self.visibleWidthLeft);
130 | CGFloat rootZoom = offsetX / (self.view.bounds.size.width - self.visibleWidthLeft) * 0.5;
131 | CGRect rootRect = self.rootViewController.view.frame;
132 | rootRect.origin.x = [UIScreen mainScreen].bounds.size.width - self.visibleWidthLeft - offsetX;
133 | self.rootViewController.view.frame = rootRect;
134 | self.rootViewController.view.transform = CGAffineTransformMakeScale(0.5 + rootZoom, 0.5 +rootZoom);
135 | CGRect leftRect = self.leftViewController.view.frame;
136 | leftRect.origin.x = -leftOffsetX;
137 | self.leftViewController.view.frame = leftRect;
138 | self.leftViewController.view.transform = CGAffineTransformMakeScale(1 - rootZoom ,1 - rootZoom);
139 | self.leftViewController.view.alpha = 1.0 - offsetX / (self.view.bounds.size.width - self.visibleWidthLeft) * 1.0;
140 | } else {
141 | return;
142 | }
143 | if (offsetX >= (self.view.bounds.size.width - self.visibleWidthLeft)) {
144 | leftSide.enabled = NO;
145 | }
146 | } else if (leftSide.state == UIGestureRecognizerStateCancelled || leftSide.state == UIGestureRecognizerStateEnded) {
147 | if (offsetX >= [UIScreen mainScreen].bounds.size.width / 2) {
148 | CGRect rect = self.rootViewController.view.frame;
149 | rect.origin.x = 0;
150 | rect.origin.y = 0;
151 | rect.size.height = self.view.bounds.size.height;
152 | rect.size.width = self.view.bounds.size.width;
153 | CGRect nextrect = self.leftViewController.view.frame;
154 | nextrect.origin.x = -self.visibleWidthLeft;
155 | nextrect.origin.y = self.view.bounds.size.height / 8;
156 | nextrect.size.height = self.view.bounds.size.height / 4 * 3;
157 | nextrect.size.width = self.view.bounds.size.width / 2;
158 | [UIView animateWithDuration:.5 animations:^{
159 | self.rootViewController.view.transform = CGAffineTransformMakeScale(1, 1);
160 | self.rootViewController.view.frame = rect;
161 | self.leftViewController.view.transform = CGAffineTransformMakeScale(0.5, 0.5);
162 | self.leftViewController.view.frame = nextrect;
163 | self.leftViewController.view.alpha = 0;
164 | } completion:^(BOOL finished) {
165 | self.isAnimated = !self.isAnimated;
166 | self.rightSide.enabled = YES;
167 | self.leftSide.enabled = NO;
168 | self.tap.enabled = NO;
169 | [self rootIsSCrolling:YES];
170 | }];
171 | } else {
172 | CGRect rect = self.rootViewController.view.frame;
173 | rect.origin.x = self.view.bounds.size.width - self.visibleWidthLeft;
174 | rect.origin.y = self.view.bounds.size.height / 8;
175 | rect.size.height = self.view.bounds.size.height / 4 * 3;
176 | rect.size.width = self.view.bounds.size.width / 2;
177 | CGRect nextrect = self.leftViewController.view.frame;
178 | nextrect.origin.x = 0;
179 | nextrect.origin.y = 0;
180 | nextrect.size.height = self.view.bounds.size.height;
181 | nextrect.size.width = self.view.bounds.size.width;
182 | [UIView animateWithDuration:0.5 animations:^{
183 | self.rootViewController.view.transform = CGAffineTransformMakeScale(0.5, 0.5);
184 | self.rootViewController.view.frame = rect;
185 | self.leftViewController.view.transform = CGAffineTransformMakeScale(1, 1);
186 | self.leftViewController.view.frame = nextrect;
187 | self.leftViewController.view.alpha = 1;
188 | } completion:^(BOOL finished) {
189 | self.isAnimated = YES;
190 | self.leftSide.enabled = YES;
191 | self.tap.enabled = YES;
192 | [self rootIsSCrolling:NO];
193 | }];
194 | }
195 | }
196 | }
197 |
198 | - (void)handleTap:(UITapGestureRecognizer *)tap {
199 | if (self.isAnimated) {
200 | [self slideOutAnimate];
201 | }
202 | }
203 |
204 |
205 | - (void)handlePan:(UIPanGestureRecognizer *)pan {
206 | CGPoint locationPoint = [pan locationInView:self.view];
207 | CGFloat offsetX = locationPoint.x - self.startPoint.x;
208 | if (pan.state == UIGestureRecognizerStateChanged) {
209 | if (locationPoint.x - self.startPoint.x >= 6) {
210 | CGFloat leftOffsetX = offsetX * self.visibleWidthLeft / (self.view.bounds.size.width - self.visibleWidthLeft);
211 | CGFloat rootZoom = offsetX/(self.view.bounds.size.width - self.visibleWidthLeft) * 0.5;
212 | CGRect rootRect = self.rootViewController.view.frame;
213 | rootRect.origin.x = offsetX;
214 | self.rootViewController.view.frame = rootRect;
215 | self.rootViewController.view.transform = CGAffineTransformMakeScale(1 - rootZoom, 1 - rootZoom);
216 | CGRect leftRect = self.leftViewController.view.frame;
217 | leftRect.origin.x = leftOffsetX - self.visibleWidthLeft;
218 | leftRect.size.width = self.view.bounds.size.width / 2 + leftOffsetX * self.view.bounds.size.width / 2 / self.visibleWidthLeft;
219 | self.leftViewController.view.frame = leftRect;
220 | self.leftViewController.view.transform = CGAffineTransformMakeScale(0.5 + rootZoom , 0.5 + rootZoom);
221 | self.leftViewController.view.alpha = offsetX/(self.view.bounds.size.width - self.visibleWidthLeft) * 1.0;
222 | } else {
223 | return;
224 | }
225 | if (offsetX >= (self.view.bounds.size.width - self.visibleWidthLeft)) {
226 | pan.enabled = NO;
227 | }
228 | } else if (pan.state == UIGestureRecognizerStateEnded || pan.state == UIGestureRecognizerStateCancelled) {
229 | if (offsetX >= [UIScreen mainScreen].bounds.size.width / 2) {
230 | CGRect rect = self.rootViewController.view.frame;
231 | rect.origin.x = self.view.bounds.size.width - self.visibleWidthLeft;
232 | rect.origin.y = self.view.bounds.size.height / 8;
233 | rect.size.height = self.view.bounds.size.height / 4 * 3;
234 | rect.size.width = self.view.bounds.size.width / 2;
235 | CGRect nextrect = self.leftViewController.view.frame;
236 | nextrect.origin.x = 0;
237 | nextrect.origin.y = 0;
238 | nextrect.size.height = self.view.bounds.size.height;
239 | nextrect.size.width = self.view.bounds.size.width;
240 | [UIView animateWithDuration:0.5 animations:^{
241 | self.rootViewController.view.transform = CGAffineTransformMakeScale(0.5, 0.5);
242 | self.rootViewController.view.frame = rect;
243 | self.leftViewController.view.transform = CGAffineTransformMakeScale(1, 1);
244 | self.leftViewController.view.frame = nextrect;
245 | self.leftViewController.view.alpha = 1;
246 | } completion:^(BOOL finished) {
247 | self.isAnimated = YES;
248 | self.leftSide.enabled = YES;
249 | self.tap.enabled = YES;
250 | [self rootIsSCrolling:NO];
251 | }];
252 | } else {
253 | CGRect rect = self.rootViewController.view.frame;
254 | rect.origin.x = 0;
255 | rect.origin.y = 0;
256 | rect.size.height = self.view.bounds.size.height;
257 | rect.size.width = self.view.bounds.size.width;
258 | CGRect nextrect = self.leftViewController.view.frame;
259 | nextrect.origin.x = -self.visibleWidthLeft;
260 | nextrect.origin.y = self.view.bounds.size.height / 8;
261 | nextrect.size.height = self.view.bounds.size.height / 4 * 3;
262 | nextrect.size.width = self.view.bounds.size.width / 2;
263 | [UIView animateWithDuration:0.5 animations:^{
264 | self.rootViewController.view.transform = CGAffineTransformMakeScale(1.0, 1.0);
265 | self.rootViewController.view.frame = rect;
266 | self.leftViewController.view.transform = CGAffineTransformMakeScale(0.5, 0.5);
267 | self.leftViewController.view.frame = nextrect;
268 | self.leftViewController.view.alpha = 0;
269 | } completion:^(BOOL finished) {
270 | self.isAnimated = NO;
271 | self.tap.enabled = NO;
272 | }];
273 | }
274 | }
275 | }
276 |
277 | - (void)slideOutAnimate {
278 | if (!self.isAnimated) {
279 | CGRect rect = self.rootViewController.view.frame;
280 | rect.origin.x = [UIScreen mainScreen].bounds.size.width - self.visibleWidthLeft;
281 | rect.origin.y =self.view.bounds.size.height / 8;
282 | rect.size.height = self.view.bounds.size.height / 4 * 3;
283 | rect.size.width = self.view.bounds.size.width / 2;
284 | CGRect nextrect = self.leftViewController.view.frame;
285 | nextrect.origin.x = 0;
286 | nextrect.origin.y = 0;
287 | nextrect.size.height = self.view.bounds.size.height;
288 | nextrect.size.width = self.view.bounds.size.width;
289 | [UIView animateWithDuration:.5 animations:^{
290 | self.rootViewController.view.transform = CGAffineTransformMakeScale(0.5, 0.5);
291 | self.rootViewController.view.frame = rect;
292 | self.leftViewController.view.transform = CGAffineTransformMakeScale(1, 1);
293 | self.leftViewController.view.frame = nextrect;
294 | self.leftViewController.view.alpha = 1.0;
295 | } completion:^(BOOL finished) {
296 | self.isAnimated = !self.isAnimated;
297 | self.leftSide.enabled = YES;
298 | self.tap.enabled = YES;
299 | [self rootIsSCrolling:NO];
300 | }];
301 | } else {
302 | CGRect rect = self.rootViewController.view.frame;
303 | rect.origin.x = 0;
304 | rect.origin.y = 0;
305 | rect.size.height = self.view.bounds.size.height;
306 | rect.size.width = self.view.bounds.size.width;
307 | CGRect nextrect = self.leftViewController.view.frame;
308 | nextrect.origin.x = -self.visibleWidthLeft;
309 | nextrect.origin.y = self.view.bounds.size.height / 8;
310 | nextrect.size.height = self.view.bounds.size.height / 4 * 3;
311 | nextrect.size.width = self.view.bounds.size.width / 2;
312 | [UIView animateWithDuration:.5 animations:^{
313 | self.rootViewController.view.transform = CGAffineTransformMakeScale(1, 1);
314 | self.rootViewController.view.frame = rect;
315 | self.leftViewController.view.transform = CGAffineTransformMakeScale(0.5, 0.5);
316 | self.leftViewController.view.frame = nextrect;
317 | self.leftViewController.view.alpha = 0;
318 | } completion:^(BOOL finished) {
319 | self.isAnimated = !self.isAnimated;
320 | self.rightSide.enabled = YES;
321 | self.leftSide.enabled = NO;
322 | self.tap.enabled = NO;
323 | [self rootIsSCrolling:YES];
324 | }];
325 | }
326 | }
327 |
328 | #pragma mark- UIGestureRecognizerDelegate
329 |
330 | - (BOOL)gestureRecognizerShouldBegin:(UIGestureRecognizer *)gestureRecognizer {
331 | self.startPoint = [gestureRecognizer locationInView:self.view];
332 | if (gestureRecognizer == self.rightSide) {
333 | if ([self.rootViewController isKindOfClass:[UINavigationController class]]) {
334 | UINavigationController *nav = (UINavigationController *)self.rootViewController;
335 | NSArray *viewControllers = nav.viewControllers;
336 | if (viewControllers.count > 1) {
337 | return NO;
338 | }
339 | }
340 | }
341 | return YES;
342 | }
343 |
344 | - (void)didReceiveMemoryWarning {
345 | [super didReceiveMemoryWarning];
346 | }
347 | @end
348 |
--------------------------------------------------------------------------------
/SlideMenuView.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 63A439DF1AE4AED0006B984A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 63A439DE1AE4AED0006B984A /* main.m */; };
11 | 63A439E21AE4AED0006B984A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 63A439E11AE4AED0006B984A /* AppDelegate.m */; };
12 | 63A439E51AE4AED0006B984A /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 63A439E41AE4AED0006B984A /* ViewController.m */; };
13 | 63A439E81AE4AED0006B984A /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 63A439E61AE4AED0006B984A /* Main.storyboard */; };
14 | 63A439EA1AE4AED0006B984A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 63A439E91AE4AED0006B984A /* Images.xcassets */; };
15 | 63A439ED1AE4AED0006B984A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 63A439EB1AE4AED0006B984A /* LaunchScreen.xib */; };
16 | 63A439F91AE4AED0006B984A /* SlideMenuViewTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 63A439F81AE4AED0006B984A /* SlideMenuViewTests.m */; };
17 | 63A43A041AE4AF94006B984A /* SlideMenuView.m in Sources */ = {isa = PBXBuildFile; fileRef = 63A43A031AE4AF94006B984A /* SlideMenuView.m */; };
18 | 63CB67DD1AE7851900A5DE4E /* FirstViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 63CB67D71AE7851900A5DE4E /* FirstViewController.m */; };
19 | 63CB67DE1AE7851900A5DE4E /* MenuViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 63CB67D91AE7851900A5DE4E /* MenuViewController.m */; };
20 | 63CB67DF1AE7851900A5DE4E /* SecondViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 63CB67DB1AE7851900A5DE4E /* SecondViewController.m */; };
21 | 63CB67E01AE7851900A5DE4E /* ThirdViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 63CB67DC1AE7851900A5DE4E /* ThirdViewController.m */; };
22 | /* End PBXBuildFile section */
23 |
24 | /* Begin PBXContainerItemProxy section */
25 | 63A439F31AE4AED0006B984A /* PBXContainerItemProxy */ = {
26 | isa = PBXContainerItemProxy;
27 | containerPortal = 63A439D11AE4AED0006B984A /* Project object */;
28 | proxyType = 1;
29 | remoteGlobalIDString = 63A439D81AE4AED0006B984A;
30 | remoteInfo = SlideMenuView;
31 | };
32 | /* End PBXContainerItemProxy section */
33 |
34 | /* Begin PBXFileReference section */
35 | 63A439D91AE4AED0006B984A /* SlideMenuView.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SlideMenuView.app; sourceTree = BUILT_PRODUCTS_DIR; };
36 | 63A439DD1AE4AED0006B984A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
37 | 63A439DE1AE4AED0006B984A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; };
38 | 63A439E01AE4AED0006B984A /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; };
39 | 63A439E11AE4AED0006B984A /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; };
40 | 63A439E31AE4AED0006B984A /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; };
41 | 63A439E41AE4AED0006B984A /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; };
42 | 63A439E71AE4AED0006B984A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
43 | 63A439E91AE4AED0006B984A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; };
44 | 63A439EC1AE4AED0006B984A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
45 | 63A439F21AE4AED0006B984A /* SlideMenuViewTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SlideMenuViewTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
46 | 63A439F71AE4AED0006B984A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
47 | 63A439F81AE4AED0006B984A /* SlideMenuViewTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SlideMenuViewTests.m; sourceTree = ""; };
48 | 63A43A021AE4AF94006B984A /* SlideMenuView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SlideMenuView.h; path = lib/SlideMenuView.h; sourceTree = ""; };
49 | 63A43A031AE4AF94006B984A /* SlideMenuView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SlideMenuView.m; path = lib/SlideMenuView.m; sourceTree = ""; };
50 | 63CB67D61AE7851900A5DE4E /* FirstViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FirstViewController.h; sourceTree = ""; };
51 | 63CB67D71AE7851900A5DE4E /* FirstViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FirstViewController.m; sourceTree = ""; };
52 | 63CB67D81AE7851900A5DE4E /* MenuViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MenuViewController.h; sourceTree = ""; };
53 | 63CB67D91AE7851900A5DE4E /* MenuViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MenuViewController.m; sourceTree = ""; };
54 | 63CB67DA1AE7851900A5DE4E /* SecondViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SecondViewController.h; sourceTree = ""; };
55 | 63CB67DB1AE7851900A5DE4E /* SecondViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SecondViewController.m; sourceTree = ""; };
56 | 63CB67DC1AE7851900A5DE4E /* ThirdViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ThirdViewController.m; sourceTree = ""; };
57 | 63CB67E11AE7853F00A5DE4E /* ThirdViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ThirdViewController.h; sourceTree = ""; };
58 | /* End PBXFileReference section */
59 |
60 | /* Begin PBXFrameworksBuildPhase section */
61 | 63A439D61AE4AED0006B984A /* Frameworks */ = {
62 | isa = PBXFrameworksBuildPhase;
63 | buildActionMask = 2147483647;
64 | files = (
65 | );
66 | runOnlyForDeploymentPostprocessing = 0;
67 | };
68 | 63A439EF1AE4AED0006B984A /* Frameworks */ = {
69 | isa = PBXFrameworksBuildPhase;
70 | buildActionMask = 2147483647;
71 | files = (
72 | );
73 | runOnlyForDeploymentPostprocessing = 0;
74 | };
75 | /* End PBXFrameworksBuildPhase section */
76 |
77 | /* Begin PBXGroup section */
78 | 63A439D01AE4AED0006B984A = {
79 | isa = PBXGroup;
80 | children = (
81 | 63A439DB1AE4AED0006B984A /* SlideMenuView */,
82 | 63A439F51AE4AED0006B984A /* SlideMenuViewTests */,
83 | 63A439DA1AE4AED0006B984A /* Products */,
84 | );
85 | sourceTree = "";
86 | };
87 | 63A439DA1AE4AED0006B984A /* Products */ = {
88 | isa = PBXGroup;
89 | children = (
90 | 63A439D91AE4AED0006B984A /* SlideMenuView.app */,
91 | 63A439F21AE4AED0006B984A /* SlideMenuViewTests.xctest */,
92 | );
93 | name = Products;
94 | sourceTree = "";
95 | };
96 | 63A439DB1AE4AED0006B984A /* SlideMenuView */ = {
97 | isa = PBXGroup;
98 | children = (
99 | 63CB67E11AE7853F00A5DE4E /* ThirdViewController.h */,
100 | 63CB67D61AE7851900A5DE4E /* FirstViewController.h */,
101 | 63CB67D71AE7851900A5DE4E /* FirstViewController.m */,
102 | 63CB67D81AE7851900A5DE4E /* MenuViewController.h */,
103 | 63CB67D91AE7851900A5DE4E /* MenuViewController.m */,
104 | 63CB67DA1AE7851900A5DE4E /* SecondViewController.h */,
105 | 63CB67DB1AE7851900A5DE4E /* SecondViewController.m */,
106 | 63CB67DC1AE7851900A5DE4E /* ThirdViewController.m */,
107 | 63A43A021AE4AF94006B984A /* SlideMenuView.h */,
108 | 63A43A031AE4AF94006B984A /* SlideMenuView.m */,
109 | 63A439E01AE4AED0006B984A /* AppDelegate.h */,
110 | 63A439E11AE4AED0006B984A /* AppDelegate.m */,
111 | 63A439E31AE4AED0006B984A /* ViewController.h */,
112 | 63A439E41AE4AED0006B984A /* ViewController.m */,
113 | 63A439E61AE4AED0006B984A /* Main.storyboard */,
114 | 63A439E91AE4AED0006B984A /* Images.xcassets */,
115 | 63A439EB1AE4AED0006B984A /* LaunchScreen.xib */,
116 | 63A439DC1AE4AED0006B984A /* Supporting Files */,
117 | );
118 | path = SlideMenuView;
119 | sourceTree = "";
120 | };
121 | 63A439DC1AE4AED0006B984A /* Supporting Files */ = {
122 | isa = PBXGroup;
123 | children = (
124 | 63A439DD1AE4AED0006B984A /* Info.plist */,
125 | 63A439DE1AE4AED0006B984A /* main.m */,
126 | );
127 | name = "Supporting Files";
128 | sourceTree = "";
129 | };
130 | 63A439F51AE4AED0006B984A /* SlideMenuViewTests */ = {
131 | isa = PBXGroup;
132 | children = (
133 | 63A439F81AE4AED0006B984A /* SlideMenuViewTests.m */,
134 | 63A439F61AE4AED0006B984A /* Supporting Files */,
135 | );
136 | path = SlideMenuViewTests;
137 | sourceTree = "";
138 | };
139 | 63A439F61AE4AED0006B984A /* Supporting Files */ = {
140 | isa = PBXGroup;
141 | children = (
142 | 63A439F71AE4AED0006B984A /* Info.plist */,
143 | );
144 | name = "Supporting Files";
145 | sourceTree = "";
146 | };
147 | /* End PBXGroup section */
148 |
149 | /* Begin PBXNativeTarget section */
150 | 63A439D81AE4AED0006B984A /* SlideMenuView */ = {
151 | isa = PBXNativeTarget;
152 | buildConfigurationList = 63A439FC1AE4AED0006B984A /* Build configuration list for PBXNativeTarget "SlideMenuView" */;
153 | buildPhases = (
154 | 63A439D51AE4AED0006B984A /* Sources */,
155 | 63A439D61AE4AED0006B984A /* Frameworks */,
156 | 63A439D71AE4AED0006B984A /* Resources */,
157 | );
158 | buildRules = (
159 | );
160 | dependencies = (
161 | );
162 | name = SlideMenuView;
163 | productName = SlideMenuView;
164 | productReference = 63A439D91AE4AED0006B984A /* SlideMenuView.app */;
165 | productType = "com.apple.product-type.application";
166 | };
167 | 63A439F11AE4AED0006B984A /* SlideMenuViewTests */ = {
168 | isa = PBXNativeTarget;
169 | buildConfigurationList = 63A439FF1AE4AED0006B984A /* Build configuration list for PBXNativeTarget "SlideMenuViewTests" */;
170 | buildPhases = (
171 | 63A439EE1AE4AED0006B984A /* Sources */,
172 | 63A439EF1AE4AED0006B984A /* Frameworks */,
173 | 63A439F01AE4AED0006B984A /* Resources */,
174 | );
175 | buildRules = (
176 | );
177 | dependencies = (
178 | 63A439F41AE4AED0006B984A /* PBXTargetDependency */,
179 | );
180 | name = SlideMenuViewTests;
181 | productName = SlideMenuViewTests;
182 | productReference = 63A439F21AE4AED0006B984A /* SlideMenuViewTests.xctest */;
183 | productType = "com.apple.product-type.bundle.unit-test";
184 | };
185 | /* End PBXNativeTarget section */
186 |
187 | /* Begin PBXProject section */
188 | 63A439D11AE4AED0006B984A /* Project object */ = {
189 | isa = PBXProject;
190 | attributes = {
191 | LastUpgradeCheck = 0630;
192 | ORGANIZATIONNAME = xdf;
193 | TargetAttributes = {
194 | 63A439D81AE4AED0006B984A = {
195 | CreatedOnToolsVersion = 6.3;
196 | };
197 | 63A439F11AE4AED0006B984A = {
198 | CreatedOnToolsVersion = 6.3;
199 | TestTargetID = 63A439D81AE4AED0006B984A;
200 | };
201 | };
202 | };
203 | buildConfigurationList = 63A439D41AE4AED0006B984A /* Build configuration list for PBXProject "SlideMenuView" */;
204 | compatibilityVersion = "Xcode 3.2";
205 | developmentRegion = English;
206 | hasScannedForEncodings = 0;
207 | knownRegions = (
208 | en,
209 | Base,
210 | );
211 | mainGroup = 63A439D01AE4AED0006B984A;
212 | productRefGroup = 63A439DA1AE4AED0006B984A /* Products */;
213 | projectDirPath = "";
214 | projectRoot = "";
215 | targets = (
216 | 63A439D81AE4AED0006B984A /* SlideMenuView */,
217 | 63A439F11AE4AED0006B984A /* SlideMenuViewTests */,
218 | );
219 | };
220 | /* End PBXProject section */
221 |
222 | /* Begin PBXResourcesBuildPhase section */
223 | 63A439D71AE4AED0006B984A /* Resources */ = {
224 | isa = PBXResourcesBuildPhase;
225 | buildActionMask = 2147483647;
226 | files = (
227 | 63A439E81AE4AED0006B984A /* Main.storyboard in Resources */,
228 | 63A439ED1AE4AED0006B984A /* LaunchScreen.xib in Resources */,
229 | 63A439EA1AE4AED0006B984A /* Images.xcassets in Resources */,
230 | );
231 | runOnlyForDeploymentPostprocessing = 0;
232 | };
233 | 63A439F01AE4AED0006B984A /* Resources */ = {
234 | isa = PBXResourcesBuildPhase;
235 | buildActionMask = 2147483647;
236 | files = (
237 | );
238 | runOnlyForDeploymentPostprocessing = 0;
239 | };
240 | /* End PBXResourcesBuildPhase section */
241 |
242 | /* Begin PBXSourcesBuildPhase section */
243 | 63A439D51AE4AED0006B984A /* Sources */ = {
244 | isa = PBXSourcesBuildPhase;
245 | buildActionMask = 2147483647;
246 | files = (
247 | 63A439E51AE4AED0006B984A /* ViewController.m in Sources */,
248 | 63CB67DE1AE7851900A5DE4E /* MenuViewController.m in Sources */,
249 | 63CB67E01AE7851900A5DE4E /* ThirdViewController.m in Sources */,
250 | 63A439E21AE4AED0006B984A /* AppDelegate.m in Sources */,
251 | 63CB67DF1AE7851900A5DE4E /* SecondViewController.m in Sources */,
252 | 63CB67DD1AE7851900A5DE4E /* FirstViewController.m in Sources */,
253 | 63A439DF1AE4AED0006B984A /* main.m in Sources */,
254 | 63A43A041AE4AF94006B984A /* SlideMenuView.m in Sources */,
255 | );
256 | runOnlyForDeploymentPostprocessing = 0;
257 | };
258 | 63A439EE1AE4AED0006B984A /* Sources */ = {
259 | isa = PBXSourcesBuildPhase;
260 | buildActionMask = 2147483647;
261 | files = (
262 | 63A439F91AE4AED0006B984A /* SlideMenuViewTests.m in Sources */,
263 | );
264 | runOnlyForDeploymentPostprocessing = 0;
265 | };
266 | /* End PBXSourcesBuildPhase section */
267 |
268 | /* Begin PBXTargetDependency section */
269 | 63A439F41AE4AED0006B984A /* PBXTargetDependency */ = {
270 | isa = PBXTargetDependency;
271 | target = 63A439D81AE4AED0006B984A /* SlideMenuView */;
272 | targetProxy = 63A439F31AE4AED0006B984A /* PBXContainerItemProxy */;
273 | };
274 | /* End PBXTargetDependency section */
275 |
276 | /* Begin PBXVariantGroup section */
277 | 63A439E61AE4AED0006B984A /* Main.storyboard */ = {
278 | isa = PBXVariantGroup;
279 | children = (
280 | 63A439E71AE4AED0006B984A /* Base */,
281 | );
282 | name = Main.storyboard;
283 | sourceTree = "";
284 | };
285 | 63A439EB1AE4AED0006B984A /* LaunchScreen.xib */ = {
286 | isa = PBXVariantGroup;
287 | children = (
288 | 63A439EC1AE4AED0006B984A /* Base */,
289 | );
290 | name = LaunchScreen.xib;
291 | sourceTree = "";
292 | };
293 | /* End PBXVariantGroup section */
294 |
295 | /* Begin XCBuildConfiguration section */
296 | 63A439FA1AE4AED0006B984A /* Debug */ = {
297 | isa = XCBuildConfiguration;
298 | buildSettings = {
299 | ALWAYS_SEARCH_USER_PATHS = NO;
300 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
301 | CLANG_CXX_LIBRARY = "libc++";
302 | CLANG_ENABLE_MODULES = YES;
303 | CLANG_ENABLE_OBJC_ARC = YES;
304 | CLANG_WARN_BOOL_CONVERSION = YES;
305 | CLANG_WARN_CONSTANT_CONVERSION = YES;
306 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
307 | CLANG_WARN_EMPTY_BODY = YES;
308 | CLANG_WARN_ENUM_CONVERSION = YES;
309 | CLANG_WARN_INT_CONVERSION = YES;
310 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
311 | CLANG_WARN_UNREACHABLE_CODE = YES;
312 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
313 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
314 | COPY_PHASE_STRIP = NO;
315 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
316 | ENABLE_STRICT_OBJC_MSGSEND = YES;
317 | GCC_C_LANGUAGE_STANDARD = gnu99;
318 | GCC_DYNAMIC_NO_PIC = NO;
319 | GCC_NO_COMMON_BLOCKS = YES;
320 | GCC_OPTIMIZATION_LEVEL = 0;
321 | GCC_PREPROCESSOR_DEFINITIONS = (
322 | "DEBUG=1",
323 | "$(inherited)",
324 | );
325 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
326 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
327 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
328 | GCC_WARN_UNDECLARED_SELECTOR = YES;
329 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
330 | GCC_WARN_UNUSED_FUNCTION = YES;
331 | GCC_WARN_UNUSED_VARIABLE = YES;
332 | IPHONEOS_DEPLOYMENT_TARGET = 8.3;
333 | MTL_ENABLE_DEBUG_INFO = YES;
334 | ONLY_ACTIVE_ARCH = YES;
335 | SDKROOT = iphoneos;
336 | };
337 | name = Debug;
338 | };
339 | 63A439FB1AE4AED0006B984A /* Release */ = {
340 | isa = XCBuildConfiguration;
341 | buildSettings = {
342 | ALWAYS_SEARCH_USER_PATHS = NO;
343 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
344 | CLANG_CXX_LIBRARY = "libc++";
345 | CLANG_ENABLE_MODULES = YES;
346 | CLANG_ENABLE_OBJC_ARC = YES;
347 | CLANG_WARN_BOOL_CONVERSION = YES;
348 | CLANG_WARN_CONSTANT_CONVERSION = YES;
349 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
350 | CLANG_WARN_EMPTY_BODY = YES;
351 | CLANG_WARN_ENUM_CONVERSION = YES;
352 | CLANG_WARN_INT_CONVERSION = YES;
353 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
354 | CLANG_WARN_UNREACHABLE_CODE = YES;
355 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
356 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
357 | COPY_PHASE_STRIP = NO;
358 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
359 | ENABLE_NS_ASSERTIONS = NO;
360 | ENABLE_STRICT_OBJC_MSGSEND = YES;
361 | GCC_C_LANGUAGE_STANDARD = gnu99;
362 | GCC_NO_COMMON_BLOCKS = YES;
363 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
364 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
365 | GCC_WARN_UNDECLARED_SELECTOR = YES;
366 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
367 | GCC_WARN_UNUSED_FUNCTION = YES;
368 | GCC_WARN_UNUSED_VARIABLE = YES;
369 | IPHONEOS_DEPLOYMENT_TARGET = 8.3;
370 | MTL_ENABLE_DEBUG_INFO = NO;
371 | SDKROOT = iphoneos;
372 | VALIDATE_PRODUCT = YES;
373 | };
374 | name = Release;
375 | };
376 | 63A439FD1AE4AED0006B984A /* Debug */ = {
377 | isa = XCBuildConfiguration;
378 | buildSettings = {
379 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
380 | INFOPLIST_FILE = SlideMenuView/Info.plist;
381 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
382 | PRODUCT_NAME = "$(TARGET_NAME)";
383 | };
384 | name = Debug;
385 | };
386 | 63A439FE1AE4AED0006B984A /* Release */ = {
387 | isa = XCBuildConfiguration;
388 | buildSettings = {
389 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
390 | INFOPLIST_FILE = SlideMenuView/Info.plist;
391 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
392 | PRODUCT_NAME = "$(TARGET_NAME)";
393 | };
394 | name = Release;
395 | };
396 | 63A43A001AE4AED0006B984A /* Debug */ = {
397 | isa = XCBuildConfiguration;
398 | buildSettings = {
399 | BUNDLE_LOADER = "$(TEST_HOST)";
400 | FRAMEWORK_SEARCH_PATHS = (
401 | "$(SDKROOT)/Developer/Library/Frameworks",
402 | "$(inherited)",
403 | );
404 | GCC_PREPROCESSOR_DEFINITIONS = (
405 | "DEBUG=1",
406 | "$(inherited)",
407 | );
408 | INFOPLIST_FILE = SlideMenuViewTests/Info.plist;
409 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
410 | PRODUCT_NAME = "$(TARGET_NAME)";
411 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SlideMenuView.app/SlideMenuView";
412 | };
413 | name = Debug;
414 | };
415 | 63A43A011AE4AED0006B984A /* Release */ = {
416 | isa = XCBuildConfiguration;
417 | buildSettings = {
418 | BUNDLE_LOADER = "$(TEST_HOST)";
419 | FRAMEWORK_SEARCH_PATHS = (
420 | "$(SDKROOT)/Developer/Library/Frameworks",
421 | "$(inherited)",
422 | );
423 | INFOPLIST_FILE = SlideMenuViewTests/Info.plist;
424 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
425 | PRODUCT_NAME = "$(TARGET_NAME)";
426 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SlideMenuView.app/SlideMenuView";
427 | };
428 | name = Release;
429 | };
430 | /* End XCBuildConfiguration section */
431 |
432 | /* Begin XCConfigurationList section */
433 | 63A439D41AE4AED0006B984A /* Build configuration list for PBXProject "SlideMenuView" */ = {
434 | isa = XCConfigurationList;
435 | buildConfigurations = (
436 | 63A439FA1AE4AED0006B984A /* Debug */,
437 | 63A439FB1AE4AED0006B984A /* Release */,
438 | );
439 | defaultConfigurationIsVisible = 0;
440 | defaultConfigurationName = Release;
441 | };
442 | 63A439FC1AE4AED0006B984A /* Build configuration list for PBXNativeTarget "SlideMenuView" */ = {
443 | isa = XCConfigurationList;
444 | buildConfigurations = (
445 | 63A439FD1AE4AED0006B984A /* Debug */,
446 | 63A439FE1AE4AED0006B984A /* Release */,
447 | );
448 | defaultConfigurationIsVisible = 0;
449 | defaultConfigurationName = Release;
450 | };
451 | 63A439FF1AE4AED0006B984A /* Build configuration list for PBXNativeTarget "SlideMenuViewTests" */ = {
452 | isa = XCConfigurationList;
453 | buildConfigurations = (
454 | 63A43A001AE4AED0006B984A /* Debug */,
455 | 63A43A011AE4AED0006B984A /* Release */,
456 | );
457 | defaultConfigurationIsVisible = 0;
458 | defaultConfigurationName = Release;
459 | };
460 | /* End XCConfigurationList section */
461 | };
462 | rootObject = 63A439D11AE4AED0006B984A /* Project object */;
463 | }
464 |
--------------------------------------------------------------------------------