├── 11.gif
├── shoppingCart
├── iconfont-gouwuche.png
├── iconfont-sanjiao3.png
├── iconfont-sanjiao4.png
├── ViewController.h
├── AppDelegate.h
├── main.m
├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ └── Contents.json
├── ThrowLineTool.h
├── Info.plist
├── Base.lproj
│ ├── LaunchScreen.storyboard
│ └── Main.storyboard
├── AppDelegate.m
├── ThrowLineTool.m
└── ViewController.m
├── shoppingCart.xcodeproj
├── xcuserdata
│ └── yh.xcuserdatad
│ │ ├── xcdebugger
│ │ └── Breakpoints_v2.xcbkptlist
│ │ └── xcschemes
│ │ ├── xcschememanagement.plist
│ │ └── shoppingCart.xcscheme
├── project.xcworkspace
│ └── contents.xcworkspacedata
└── project.pbxproj
├── README.md
├── shoppingCartTests
├── Info.plist
└── shoppingCartTests.m
└── shoppingCartUITests
├── Info.plist
└── shoppingCartUITests.m
/11.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yhangeline/shoppingCart/HEAD/11.gif
--------------------------------------------------------------------------------
/shoppingCart/iconfont-gouwuche.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yhangeline/shoppingCart/HEAD/shoppingCart/iconfont-gouwuche.png
--------------------------------------------------------------------------------
/shoppingCart/iconfont-sanjiao3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yhangeline/shoppingCart/HEAD/shoppingCart/iconfont-sanjiao3.png
--------------------------------------------------------------------------------
/shoppingCart/iconfont-sanjiao4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yhangeline/shoppingCart/HEAD/shoppingCart/iconfont-sanjiao4.png
--------------------------------------------------------------------------------
/shoppingCart.xcodeproj/xcuserdata/yh.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
--------------------------------------------------------------------------------
/shoppingCart.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/shoppingCart/ViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.h
3 | // shoppingCart
4 | //
5 | // Created by yh on 15/11/30.
6 | // Copyright © 2015年 yh. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ViewController : UIViewController
12 |
13 |
14 |
15 |
16 | @end
17 |
18 |
--------------------------------------------------------------------------------
/shoppingCart/AppDelegate.h:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.h
3 | // shoppingCart
4 | //
5 | // Created by yh on 15/11/30.
6 | // Copyright © 2015年 yh. 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 |
--------------------------------------------------------------------------------
/shoppingCart/main.m:
--------------------------------------------------------------------------------
1 | //
2 | // main.m
3 | // shoppingCart
4 | //
5 | // Created by yh on 15/11/30.
6 | // Copyright © 2015年 yh. 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 |
--------------------------------------------------------------------------------
/shoppingCart/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "29x29",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | }
33 | ],
34 | "info" : {
35 | "version" : 1,
36 | "author" : "xcode"
37 | }
38 | }
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | 
2 |
3 | #仿美团购物车
4 |
5 | ```
6 | @protocol ThrowLineToolDelegate;
7 |
8 | @interface ThrowLineTool : NSObject
9 |
10 | @property (nonatomic, assign) iddelegate;
11 | @property (nonatomic, retain) UIView *showingView;
12 |
13 | + (ThrowLineTool *)sharedTool;
14 |
15 | /**
16 | * 将某个view或者layer从起点抛到终点
17 | *
18 | * @param obj 被抛的物体
19 | * @param start 起点坐标
20 | * @param end 终点坐标
21 | * @param height 高度,抛物线最高点比起点/终点y坐标最低(即高度最高)所超出的高度
22 | */
23 | - (void)throwObject:(UIView *)obj from:(CGPoint)start to:(CGPoint)end
24 | height:(CGFloat)height duration:(CGFloat)duration;
25 |
26 | @end
27 |
28 |
29 | @protocol ThrowLineToolDelegate
30 |
31 | /**
32 | * 抛物线结束的回调
33 | */
34 | - (void)animationDidFinish;
35 |
36 | @end
37 |
38 | ```
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/shoppingCartTests/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 |
--------------------------------------------------------------------------------
/shoppingCartUITests/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 |
--------------------------------------------------------------------------------
/shoppingCart.xcodeproj/xcuserdata/yh.xcuserdatad/xcschemes/xcschememanagement.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SchemeUserState
6 |
7 | shoppingCart.xcscheme
8 |
9 | orderHint
10 | 0
11 |
12 |
13 | SuppressBuildableAutocreation
14 |
15 | F829DDF81C0BEFF6005A14B6
16 |
17 | primary
18 |
19 |
20 | F829DE111C0BEFF6005A14B6
21 |
22 | primary
23 |
24 |
25 | F829DE1C1C0BEFF6005A14B6
26 |
27 | primary
28 |
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/shoppingCart/ThrowLineTool.h:
--------------------------------------------------------------------------------
1 | //
2 | // ThrowLineTool.h
3 | // CoreAnimationTest
4 | //
5 | // Created by yh on 15/11/13.
6 | // Copyright © 2015年 yh. All rights reserved.
7 | //
8 |
9 | #import
10 | #import
11 | #import
12 |
13 | @protocol ThrowLineToolDelegate;
14 |
15 | @interface ThrowLineTool : NSObject
16 |
17 | @property (nonatomic, assign) iddelegate;
18 | @property (nonatomic, retain) UIView *showingView;
19 |
20 | + (ThrowLineTool *)sharedTool;
21 |
22 | /**
23 | * 将某个view或者layer从起点抛到终点
24 | *
25 | * @param obj 被抛的物体
26 | * @param start 起点坐标
27 | * @param end 终点坐标
28 | * @param height 高度,抛物线最高点比起点/终点y坐标最低(即高度最高)所超出的高度
29 | */
30 | - (void)throwObject:(UIView *)obj from:(CGPoint)start to:(CGPoint)end
31 | height:(CGFloat)height duration:(CGFloat)duration;
32 |
33 | @end
34 |
35 |
36 | @protocol ThrowLineToolDelegate
37 |
38 | /**
39 | * 抛物线结束的回调
40 | */
41 | - (void)animationDidFinish;
42 |
43 | @end
44 |
45 |
46 |
--------------------------------------------------------------------------------
/shoppingCartTests/shoppingCartTests.m:
--------------------------------------------------------------------------------
1 | //
2 | // shoppingCartTests.m
3 | // shoppingCartTests
4 | //
5 | // Created by yh on 15/11/30.
6 | // Copyright © 2015年 yh. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface shoppingCartTests : XCTestCase
12 |
13 | @end
14 |
15 | @implementation shoppingCartTests
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 |
--------------------------------------------------------------------------------
/shoppingCart/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/shoppingCartUITests/shoppingCartUITests.m:
--------------------------------------------------------------------------------
1 | //
2 | // shoppingCartUITests.m
3 | // shoppingCartUITests
4 | //
5 | // Created by yh on 15/11/30.
6 | // Copyright © 2015年 yh. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface shoppingCartUITests : XCTestCase
12 |
13 | @end
14 |
15 | @implementation shoppingCartUITests
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 |
--------------------------------------------------------------------------------
/shoppingCart/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 |
--------------------------------------------------------------------------------
/shoppingCart/AppDelegate.m:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.m
3 | // shoppingCart
4 | //
5 | // Created by yh on 15/11/30.
6 | // Copyright © 2015年 yh. 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 |
--------------------------------------------------------------------------------
/shoppingCart/ThrowLineTool.m:
--------------------------------------------------------------------------------
1 | //
2 | // ThrowLineTool.m
3 | // CoreAnimationTest
4 | //
5 | // Created by yh on 15/11/13.
6 | // Copyright © 2015年 yh. All rights reserved.
7 | //
8 |
9 | #import "ThrowLineTool.h"
10 |
11 | static ThrowLineTool *s_sharedInstance = nil;
12 | @implementation ThrowLineTool
13 |
14 | + (ThrowLineTool *)sharedTool
15 | {
16 | if (!s_sharedInstance) {
17 | s_sharedInstance = [[[self class] alloc] init];
18 | }
19 | return s_sharedInstance;
20 | }
21 |
22 | /**
23 | * 将某个view或者layer从起点抛到终点
24 | *
25 | * @param obj 被抛的物体
26 | * @param start 起点坐标
27 | * @param end 终点坐标
28 | * @param height 高度,抛物线最高点比起点/终点y坐标最低(即高度最高)所超出的高度
29 | */
30 | - (void)throwObject:(UIView *)obj from:(CGPoint)start to:(CGPoint)end
31 | height:(CGFloat)height duration:(CGFloat)duration
32 | {
33 | self.showingView = obj;
34 | //初始化抛物线path
35 | CGMutablePathRef path = CGPathCreateMutable();
36 | CGFloat cpx = (start.x + end.x) / 2;
37 | CGFloat cpy = -height;
38 |
39 | CGPathMoveToPoint(path, NULL, start.x, start.y);
40 | CGPathAddQuadCurveToPoint(path, NULL, cpx, cpy, end.x, end.y);
41 |
42 | CAKeyframeAnimation *animation = [CAKeyframeAnimation animationWithKeyPath:@"position"];
43 | animation.path = path;
44 | CFRelease(path);
45 |
46 |
47 | CABasicAnimation *scaleAnimation = [CABasicAnimation animationWithKeyPath:@"transform.scale"];
48 | scaleAnimation.autoreverses = YES;
49 | scaleAnimation.toValue = [NSNumber numberWithFloat:(CGFloat)((arc4random() % 4) + 4) / 10.0];
50 |
51 | CAAnimationGroup *groupAnimation = [CAAnimationGroup animation];
52 | groupAnimation.delegate = self;
53 | groupAnimation.repeatCount = 1;
54 | groupAnimation.duration = duration;
55 | groupAnimation.removedOnCompletion = NO;
56 | groupAnimation.animations = @[scaleAnimation, animation];
57 | [obj.layer addAnimation:groupAnimation forKey:@"position scale"];
58 | }
59 |
60 | - (void)animationDidStop:(CAAnimation *)anim finished:(BOOL)flag
61 | {
62 | if (self.delegate && [self.delegate respondsToSelector:@selector(animationDidFinish)]) {
63 | [self.delegate performSelector:@selector(animationDidFinish) withObject:nil];
64 | }
65 | self.showingView = nil;
66 | }
67 |
68 |
69 | @end
70 |
71 |
--------------------------------------------------------------------------------
/shoppingCart/ViewController.m:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.m
3 | // shoppingCart
4 | //
5 | // Created by yh on 15/11/30.
6 | // Copyright © 2015年 yh. All rights reserved.
7 | //
8 |
9 | #import "ViewController.h"
10 | #import "ThrowLineTool.h"
11 |
12 | @interface ViewController ()
13 | @property (weak, nonatomic) IBOutlet UITextField *textField;
14 | @property (weak, nonatomic) IBOutlet UIImageView *shopCart;
15 |
16 | @property (weak, nonatomic) IBOutlet UIButton *rightBtn;
17 |
18 | @property (weak, nonatomic) IBOutlet UILabel *countLabel;
19 |
20 |
21 | @property (strong, nonatomic) UIView *redView;
22 |
23 |
24 |
25 | @end
26 |
27 | @implementation ViewController
28 |
29 |
30 | - (UIView *)redView
31 | {
32 | if (!_redView) {
33 | _redView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 20, 20)];
34 | _redView.backgroundColor = [UIColor redColor];
35 | _redView.center = self.textField.center;
36 | _redView.layer.cornerRadius = 10;
37 | }
38 | return _redView;
39 | }
40 |
41 | - (void)viewDidLoad {
42 | [super viewDidLoad];
43 | // Do any additional setup after loading the view, typically from a nib.
44 | self.textField.userInteractionEnabled = NO;
45 |
46 | [ThrowLineTool sharedTool].delegate = self;
47 |
48 | self.countLabel.layer.masksToBounds = YES;
49 | self.countLabel.layer.cornerRadius = 9;
50 | self.countLabel.hidden = YES;
51 | }
52 |
53 | - (IBAction)leftDown:(id)sender
54 | {
55 | self.textField.text = [NSString stringWithFormat:@"%ld",(self.textField.text.integerValue - 1) > 0 ? (self.textField.text.integerValue - 1) : 0];
56 | self.countLabel.text = self.textField.text;
57 | self.countLabel.hidden = self.countLabel.text.integerValue == 0;
58 |
59 | }
60 |
61 | - (IBAction)rightDown:(id)sender
62 | {
63 | self.textField.text = [NSString stringWithFormat:@"%ld",(self.textField.text.integerValue+1)];
64 | self.countLabel.text = self.textField.text;
65 | self.countLabel.hidden = self.countLabel.text.integerValue == 0;
66 | [self.view addSubview:self.redView];
67 | [[ThrowLineTool sharedTool] throwObject:self.redView from:self.redView.center to:self.shopCart.center height:-350 duration:0.4];
68 |
69 | self.rightBtn.enabled = NO;
70 | }
71 |
72 | - (void)animationDidFinish
73 | {
74 |
75 | [self.redView removeFromSuperview];
76 | [UIView animateWithDuration:0.1 animations:^{
77 | self.shopCart.transform = CGAffineTransformMakeScale(0.8, 0.8);
78 | } completion:^(BOOL finished) {
79 | [UIView animateWithDuration:0.1 animations:^{
80 | self.shopCart.transform = CGAffineTransformMakeScale(1, 1);
81 | } completion:^(BOOL finished) {
82 | self.rightBtn.enabled = YES;
83 |
84 | }];
85 |
86 | }];
87 | }
88 |
89 |
90 | - (void)didReceiveMemoryWarning {
91 | [super didReceiveMemoryWarning];
92 | // Dispose of any resources that can be recreated.
93 | }
94 |
95 | @end
96 |
--------------------------------------------------------------------------------
/shoppingCart.xcodeproj/xcuserdata/yh.xcuserdatad/xcschemes/shoppingCart.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
33 |
39 |
40 |
41 |
43 |
49 |
50 |
51 |
52 |
53 |
59 |
60 |
61 |
62 |
63 |
64 |
74 |
76 |
82 |
83 |
84 |
85 |
86 |
87 |
93 |
95 |
101 |
102 |
103 |
104 |
106 |
107 |
110 |
111 |
112 |
--------------------------------------------------------------------------------
/shoppingCart/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
39 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
--------------------------------------------------------------------------------
/shoppingCart.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | F829DDFE1C0BEFF6005A14B6 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = F829DDFD1C0BEFF6005A14B6 /* main.m */; };
11 | F829DE011C0BEFF6005A14B6 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = F829DE001C0BEFF6005A14B6 /* AppDelegate.m */; };
12 | F829DE041C0BEFF6005A14B6 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F829DE031C0BEFF6005A14B6 /* ViewController.m */; };
13 | F829DE071C0BEFF6005A14B6 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F829DE051C0BEFF6005A14B6 /* Main.storyboard */; };
14 | F829DE091C0BEFF6005A14B6 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F829DE081C0BEFF6005A14B6 /* Assets.xcassets */; };
15 | F829DE0C1C0BEFF6005A14B6 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F829DE0A1C0BEFF6005A14B6 /* LaunchScreen.storyboard */; };
16 | F829DE171C0BEFF6005A14B6 /* shoppingCartTests.m in Sources */ = {isa = PBXBuildFile; fileRef = F829DE161C0BEFF6005A14B6 /* shoppingCartTests.m */; };
17 | F829DE221C0BEFF6005A14B6 /* shoppingCartUITests.m in Sources */ = {isa = PBXBuildFile; fileRef = F829DE211C0BEFF6005A14B6 /* shoppingCartUITests.m */; };
18 | F829DE321C0BF126005A14B6 /* iconfont-gouwuche.png in Resources */ = {isa = PBXBuildFile; fileRef = F829DE2F1C0BF126005A14B6 /* iconfont-gouwuche.png */; settings = {ASSET_TAGS = (); }; };
19 | F829DE331C0BF126005A14B6 /* iconfont-sanjiao3.png in Resources */ = {isa = PBXBuildFile; fileRef = F829DE301C0BF126005A14B6 /* iconfont-sanjiao3.png */; settings = {ASSET_TAGS = (); }; };
20 | F829DE341C0BF126005A14B6 /* iconfont-sanjiao4.png in Resources */ = {isa = PBXBuildFile; fileRef = F829DE311C0BF126005A14B6 /* iconfont-sanjiao4.png */; settings = {ASSET_TAGS = (); }; };
21 | F829DE371C0BF468005A14B6 /* ThrowLineTool.m in Sources */ = {isa = PBXBuildFile; fileRef = F829DE361C0BF468005A14B6 /* ThrowLineTool.m */; settings = {ASSET_TAGS = (); }; };
22 | /* End PBXBuildFile section */
23 |
24 | /* Begin PBXContainerItemProxy section */
25 | F829DE131C0BEFF6005A14B6 /* PBXContainerItemProxy */ = {
26 | isa = PBXContainerItemProxy;
27 | containerPortal = F829DDF11C0BEFF6005A14B6 /* Project object */;
28 | proxyType = 1;
29 | remoteGlobalIDString = F829DDF81C0BEFF6005A14B6;
30 | remoteInfo = shoppingCart;
31 | };
32 | F829DE1E1C0BEFF6005A14B6 /* PBXContainerItemProxy */ = {
33 | isa = PBXContainerItemProxy;
34 | containerPortal = F829DDF11C0BEFF6005A14B6 /* Project object */;
35 | proxyType = 1;
36 | remoteGlobalIDString = F829DDF81C0BEFF6005A14B6;
37 | remoteInfo = shoppingCart;
38 | };
39 | /* End PBXContainerItemProxy section */
40 |
41 | /* Begin PBXFileReference section */
42 | F829DDF91C0BEFF6005A14B6 /* shoppingCart.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = shoppingCart.app; sourceTree = BUILT_PRODUCTS_DIR; };
43 | F829DDFD1C0BEFF6005A14B6 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; };
44 | F829DDFF1C0BEFF6005A14B6 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; };
45 | F829DE001C0BEFF6005A14B6 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; };
46 | F829DE021C0BEFF6005A14B6 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; };
47 | F829DE031C0BEFF6005A14B6 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; };
48 | F829DE061C0BEFF6005A14B6 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
49 | F829DE081C0BEFF6005A14B6 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
50 | F829DE0B1C0BEFF6005A14B6 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
51 | F829DE0D1C0BEFF6005A14B6 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
52 | F829DE121C0BEFF6005A14B6 /* shoppingCartTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = shoppingCartTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
53 | F829DE161C0BEFF6005A14B6 /* shoppingCartTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = shoppingCartTests.m; sourceTree = ""; };
54 | F829DE181C0BEFF6005A14B6 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
55 | F829DE1D1C0BEFF6005A14B6 /* shoppingCartUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = shoppingCartUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
56 | F829DE211C0BEFF6005A14B6 /* shoppingCartUITests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = shoppingCartUITests.m; sourceTree = ""; };
57 | F829DE231C0BEFF6005A14B6 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
58 | F829DE2F1C0BF126005A14B6 /* iconfont-gouwuche.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iconfont-gouwuche.png"; sourceTree = ""; };
59 | F829DE301C0BF126005A14B6 /* iconfont-sanjiao3.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iconfont-sanjiao3.png"; sourceTree = ""; };
60 | F829DE311C0BF126005A14B6 /* iconfont-sanjiao4.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "iconfont-sanjiao4.png"; sourceTree = ""; };
61 | F829DE351C0BF468005A14B6 /* ThrowLineTool.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ThrowLineTool.h; sourceTree = ""; };
62 | F829DE361C0BF468005A14B6 /* ThrowLineTool.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ThrowLineTool.m; sourceTree = ""; };
63 | /* End PBXFileReference section */
64 |
65 | /* Begin PBXFrameworksBuildPhase section */
66 | F829DDF61C0BEFF6005A14B6 /* Frameworks */ = {
67 | isa = PBXFrameworksBuildPhase;
68 | buildActionMask = 2147483647;
69 | files = (
70 | );
71 | runOnlyForDeploymentPostprocessing = 0;
72 | };
73 | F829DE0F1C0BEFF6005A14B6 /* Frameworks */ = {
74 | isa = PBXFrameworksBuildPhase;
75 | buildActionMask = 2147483647;
76 | files = (
77 | );
78 | runOnlyForDeploymentPostprocessing = 0;
79 | };
80 | F829DE1A1C0BEFF6005A14B6 /* Frameworks */ = {
81 | isa = PBXFrameworksBuildPhase;
82 | buildActionMask = 2147483647;
83 | files = (
84 | );
85 | runOnlyForDeploymentPostprocessing = 0;
86 | };
87 | /* End PBXFrameworksBuildPhase section */
88 |
89 | /* Begin PBXGroup section */
90 | F829DDF01C0BEFF6005A14B6 = {
91 | isa = PBXGroup;
92 | children = (
93 | F829DDFB1C0BEFF6005A14B6 /* shoppingCart */,
94 | F829DE151C0BEFF6005A14B6 /* shoppingCartTests */,
95 | F829DE201C0BEFF6005A14B6 /* shoppingCartUITests */,
96 | F829DDFA1C0BEFF6005A14B6 /* Products */,
97 | );
98 | sourceTree = "";
99 | };
100 | F829DDFA1C0BEFF6005A14B6 /* Products */ = {
101 | isa = PBXGroup;
102 | children = (
103 | F829DDF91C0BEFF6005A14B6 /* shoppingCart.app */,
104 | F829DE121C0BEFF6005A14B6 /* shoppingCartTests.xctest */,
105 | F829DE1D1C0BEFF6005A14B6 /* shoppingCartUITests.xctest */,
106 | );
107 | name = Products;
108 | sourceTree = "";
109 | };
110 | F829DDFB1C0BEFF6005A14B6 /* shoppingCart */ = {
111 | isa = PBXGroup;
112 | children = (
113 | F829DE2F1C0BF126005A14B6 /* iconfont-gouwuche.png */,
114 | F829DE301C0BF126005A14B6 /* iconfont-sanjiao3.png */,
115 | F829DE311C0BF126005A14B6 /* iconfont-sanjiao4.png */,
116 | F829DDFF1C0BEFF6005A14B6 /* AppDelegate.h */,
117 | F829DE001C0BEFF6005A14B6 /* AppDelegate.m */,
118 | F829DE021C0BEFF6005A14B6 /* ViewController.h */,
119 | F829DE031C0BEFF6005A14B6 /* ViewController.m */,
120 | F829DE351C0BF468005A14B6 /* ThrowLineTool.h */,
121 | F829DE361C0BF468005A14B6 /* ThrowLineTool.m */,
122 | F829DE051C0BEFF6005A14B6 /* Main.storyboard */,
123 | F829DE081C0BEFF6005A14B6 /* Assets.xcassets */,
124 | F829DE0A1C0BEFF6005A14B6 /* LaunchScreen.storyboard */,
125 | F829DE0D1C0BEFF6005A14B6 /* Info.plist */,
126 | F829DDFC1C0BEFF6005A14B6 /* Supporting Files */,
127 | );
128 | path = shoppingCart;
129 | sourceTree = "";
130 | };
131 | F829DDFC1C0BEFF6005A14B6 /* Supporting Files */ = {
132 | isa = PBXGroup;
133 | children = (
134 | F829DDFD1C0BEFF6005A14B6 /* main.m */,
135 | );
136 | name = "Supporting Files";
137 | sourceTree = "";
138 | };
139 | F829DE151C0BEFF6005A14B6 /* shoppingCartTests */ = {
140 | isa = PBXGroup;
141 | children = (
142 | F829DE161C0BEFF6005A14B6 /* shoppingCartTests.m */,
143 | F829DE181C0BEFF6005A14B6 /* Info.plist */,
144 | );
145 | path = shoppingCartTests;
146 | sourceTree = "";
147 | };
148 | F829DE201C0BEFF6005A14B6 /* shoppingCartUITests */ = {
149 | isa = PBXGroup;
150 | children = (
151 | F829DE211C0BEFF6005A14B6 /* shoppingCartUITests.m */,
152 | F829DE231C0BEFF6005A14B6 /* Info.plist */,
153 | );
154 | path = shoppingCartUITests;
155 | sourceTree = "";
156 | };
157 | /* End PBXGroup section */
158 |
159 | /* Begin PBXNativeTarget section */
160 | F829DDF81C0BEFF6005A14B6 /* shoppingCart */ = {
161 | isa = PBXNativeTarget;
162 | buildConfigurationList = F829DE261C0BEFF6005A14B6 /* Build configuration list for PBXNativeTarget "shoppingCart" */;
163 | buildPhases = (
164 | F829DDF51C0BEFF6005A14B6 /* Sources */,
165 | F829DDF61C0BEFF6005A14B6 /* Frameworks */,
166 | F829DDF71C0BEFF6005A14B6 /* Resources */,
167 | );
168 | buildRules = (
169 | );
170 | dependencies = (
171 | );
172 | name = shoppingCart;
173 | productName = shoppingCart;
174 | productReference = F829DDF91C0BEFF6005A14B6 /* shoppingCart.app */;
175 | productType = "com.apple.product-type.application";
176 | };
177 | F829DE111C0BEFF6005A14B6 /* shoppingCartTests */ = {
178 | isa = PBXNativeTarget;
179 | buildConfigurationList = F829DE291C0BEFF6005A14B6 /* Build configuration list for PBXNativeTarget "shoppingCartTests" */;
180 | buildPhases = (
181 | F829DE0E1C0BEFF6005A14B6 /* Sources */,
182 | F829DE0F1C0BEFF6005A14B6 /* Frameworks */,
183 | F829DE101C0BEFF6005A14B6 /* Resources */,
184 | );
185 | buildRules = (
186 | );
187 | dependencies = (
188 | F829DE141C0BEFF6005A14B6 /* PBXTargetDependency */,
189 | );
190 | name = shoppingCartTests;
191 | productName = shoppingCartTests;
192 | productReference = F829DE121C0BEFF6005A14B6 /* shoppingCartTests.xctest */;
193 | productType = "com.apple.product-type.bundle.unit-test";
194 | };
195 | F829DE1C1C0BEFF6005A14B6 /* shoppingCartUITests */ = {
196 | isa = PBXNativeTarget;
197 | buildConfigurationList = F829DE2C1C0BEFF6005A14B6 /* Build configuration list for PBXNativeTarget "shoppingCartUITests" */;
198 | buildPhases = (
199 | F829DE191C0BEFF6005A14B6 /* Sources */,
200 | F829DE1A1C0BEFF6005A14B6 /* Frameworks */,
201 | F829DE1B1C0BEFF6005A14B6 /* Resources */,
202 | );
203 | buildRules = (
204 | );
205 | dependencies = (
206 | F829DE1F1C0BEFF6005A14B6 /* PBXTargetDependency */,
207 | );
208 | name = shoppingCartUITests;
209 | productName = shoppingCartUITests;
210 | productReference = F829DE1D1C0BEFF6005A14B6 /* shoppingCartUITests.xctest */;
211 | productType = "com.apple.product-type.bundle.ui-testing";
212 | };
213 | /* End PBXNativeTarget section */
214 |
215 | /* Begin PBXProject section */
216 | F829DDF11C0BEFF6005A14B6 /* Project object */ = {
217 | isa = PBXProject;
218 | attributes = {
219 | LastUpgradeCheck = 0700;
220 | ORGANIZATIONNAME = yh;
221 | TargetAttributes = {
222 | F829DDF81C0BEFF6005A14B6 = {
223 | CreatedOnToolsVersion = 7.0;
224 | };
225 | F829DE111C0BEFF6005A14B6 = {
226 | CreatedOnToolsVersion = 7.0;
227 | TestTargetID = F829DDF81C0BEFF6005A14B6;
228 | };
229 | F829DE1C1C0BEFF6005A14B6 = {
230 | CreatedOnToolsVersion = 7.0;
231 | TestTargetID = F829DDF81C0BEFF6005A14B6;
232 | };
233 | };
234 | };
235 | buildConfigurationList = F829DDF41C0BEFF6005A14B6 /* Build configuration list for PBXProject "shoppingCart" */;
236 | compatibilityVersion = "Xcode 3.2";
237 | developmentRegion = English;
238 | hasScannedForEncodings = 0;
239 | knownRegions = (
240 | en,
241 | Base,
242 | );
243 | mainGroup = F829DDF01C0BEFF6005A14B6;
244 | productRefGroup = F829DDFA1C0BEFF6005A14B6 /* Products */;
245 | projectDirPath = "";
246 | projectRoot = "";
247 | targets = (
248 | F829DDF81C0BEFF6005A14B6 /* shoppingCart */,
249 | F829DE111C0BEFF6005A14B6 /* shoppingCartTests */,
250 | F829DE1C1C0BEFF6005A14B6 /* shoppingCartUITests */,
251 | );
252 | };
253 | /* End PBXProject section */
254 |
255 | /* Begin PBXResourcesBuildPhase section */
256 | F829DDF71C0BEFF6005A14B6 /* Resources */ = {
257 | isa = PBXResourcesBuildPhase;
258 | buildActionMask = 2147483647;
259 | files = (
260 | F829DE341C0BF126005A14B6 /* iconfont-sanjiao4.png in Resources */,
261 | F829DE331C0BF126005A14B6 /* iconfont-sanjiao3.png in Resources */,
262 | F829DE321C0BF126005A14B6 /* iconfont-gouwuche.png in Resources */,
263 | F829DE0C1C0BEFF6005A14B6 /* LaunchScreen.storyboard in Resources */,
264 | F829DE091C0BEFF6005A14B6 /* Assets.xcassets in Resources */,
265 | F829DE071C0BEFF6005A14B6 /* Main.storyboard in Resources */,
266 | );
267 | runOnlyForDeploymentPostprocessing = 0;
268 | };
269 | F829DE101C0BEFF6005A14B6 /* Resources */ = {
270 | isa = PBXResourcesBuildPhase;
271 | buildActionMask = 2147483647;
272 | files = (
273 | );
274 | runOnlyForDeploymentPostprocessing = 0;
275 | };
276 | F829DE1B1C0BEFF6005A14B6 /* Resources */ = {
277 | isa = PBXResourcesBuildPhase;
278 | buildActionMask = 2147483647;
279 | files = (
280 | );
281 | runOnlyForDeploymentPostprocessing = 0;
282 | };
283 | /* End PBXResourcesBuildPhase section */
284 |
285 | /* Begin PBXSourcesBuildPhase section */
286 | F829DDF51C0BEFF6005A14B6 /* Sources */ = {
287 | isa = PBXSourcesBuildPhase;
288 | buildActionMask = 2147483647;
289 | files = (
290 | F829DE371C0BF468005A14B6 /* ThrowLineTool.m in Sources */,
291 | F829DE041C0BEFF6005A14B6 /* ViewController.m in Sources */,
292 | F829DE011C0BEFF6005A14B6 /* AppDelegate.m in Sources */,
293 | F829DDFE1C0BEFF6005A14B6 /* main.m in Sources */,
294 | );
295 | runOnlyForDeploymentPostprocessing = 0;
296 | };
297 | F829DE0E1C0BEFF6005A14B6 /* Sources */ = {
298 | isa = PBXSourcesBuildPhase;
299 | buildActionMask = 2147483647;
300 | files = (
301 | F829DE171C0BEFF6005A14B6 /* shoppingCartTests.m in Sources */,
302 | );
303 | runOnlyForDeploymentPostprocessing = 0;
304 | };
305 | F829DE191C0BEFF6005A14B6 /* Sources */ = {
306 | isa = PBXSourcesBuildPhase;
307 | buildActionMask = 2147483647;
308 | files = (
309 | F829DE221C0BEFF6005A14B6 /* shoppingCartUITests.m in Sources */,
310 | );
311 | runOnlyForDeploymentPostprocessing = 0;
312 | };
313 | /* End PBXSourcesBuildPhase section */
314 |
315 | /* Begin PBXTargetDependency section */
316 | F829DE141C0BEFF6005A14B6 /* PBXTargetDependency */ = {
317 | isa = PBXTargetDependency;
318 | target = F829DDF81C0BEFF6005A14B6 /* shoppingCart */;
319 | targetProxy = F829DE131C0BEFF6005A14B6 /* PBXContainerItemProxy */;
320 | };
321 | F829DE1F1C0BEFF6005A14B6 /* PBXTargetDependency */ = {
322 | isa = PBXTargetDependency;
323 | target = F829DDF81C0BEFF6005A14B6 /* shoppingCart */;
324 | targetProxy = F829DE1E1C0BEFF6005A14B6 /* PBXContainerItemProxy */;
325 | };
326 | /* End PBXTargetDependency section */
327 |
328 | /* Begin PBXVariantGroup section */
329 | F829DE051C0BEFF6005A14B6 /* Main.storyboard */ = {
330 | isa = PBXVariantGroup;
331 | children = (
332 | F829DE061C0BEFF6005A14B6 /* Base */,
333 | );
334 | name = Main.storyboard;
335 | sourceTree = "";
336 | };
337 | F829DE0A1C0BEFF6005A14B6 /* LaunchScreen.storyboard */ = {
338 | isa = PBXVariantGroup;
339 | children = (
340 | F829DE0B1C0BEFF6005A14B6 /* Base */,
341 | );
342 | name = LaunchScreen.storyboard;
343 | sourceTree = "";
344 | };
345 | /* End PBXVariantGroup section */
346 |
347 | /* Begin XCBuildConfiguration section */
348 | F829DE241C0BEFF6005A14B6 /* Debug */ = {
349 | isa = XCBuildConfiguration;
350 | buildSettings = {
351 | ALWAYS_SEARCH_USER_PATHS = NO;
352 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
353 | CLANG_CXX_LIBRARY = "libc++";
354 | CLANG_ENABLE_MODULES = YES;
355 | CLANG_ENABLE_OBJC_ARC = YES;
356 | CLANG_WARN_BOOL_CONVERSION = YES;
357 | CLANG_WARN_CONSTANT_CONVERSION = YES;
358 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
359 | CLANG_WARN_EMPTY_BODY = YES;
360 | CLANG_WARN_ENUM_CONVERSION = YES;
361 | CLANG_WARN_INT_CONVERSION = YES;
362 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
363 | CLANG_WARN_UNREACHABLE_CODE = YES;
364 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
365 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
366 | COPY_PHASE_STRIP = NO;
367 | DEBUG_INFORMATION_FORMAT = dwarf;
368 | ENABLE_STRICT_OBJC_MSGSEND = YES;
369 | ENABLE_TESTABILITY = YES;
370 | GCC_C_LANGUAGE_STANDARD = gnu99;
371 | GCC_DYNAMIC_NO_PIC = NO;
372 | GCC_NO_COMMON_BLOCKS = YES;
373 | GCC_OPTIMIZATION_LEVEL = 0;
374 | GCC_PREPROCESSOR_DEFINITIONS = (
375 | "DEBUG=1",
376 | "$(inherited)",
377 | );
378 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
379 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
380 | GCC_WARN_UNDECLARED_SELECTOR = YES;
381 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
382 | GCC_WARN_UNUSED_FUNCTION = YES;
383 | GCC_WARN_UNUSED_VARIABLE = YES;
384 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
385 | MTL_ENABLE_DEBUG_INFO = YES;
386 | ONLY_ACTIVE_ARCH = YES;
387 | SDKROOT = iphoneos;
388 | };
389 | name = Debug;
390 | };
391 | F829DE251C0BEFF6005A14B6 /* Release */ = {
392 | isa = XCBuildConfiguration;
393 | buildSettings = {
394 | ALWAYS_SEARCH_USER_PATHS = NO;
395 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
396 | CLANG_CXX_LIBRARY = "libc++";
397 | CLANG_ENABLE_MODULES = YES;
398 | CLANG_ENABLE_OBJC_ARC = YES;
399 | CLANG_WARN_BOOL_CONVERSION = YES;
400 | CLANG_WARN_CONSTANT_CONVERSION = YES;
401 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
402 | CLANG_WARN_EMPTY_BODY = YES;
403 | CLANG_WARN_ENUM_CONVERSION = YES;
404 | CLANG_WARN_INT_CONVERSION = YES;
405 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
406 | CLANG_WARN_UNREACHABLE_CODE = YES;
407 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
408 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
409 | COPY_PHASE_STRIP = NO;
410 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
411 | ENABLE_NS_ASSERTIONS = NO;
412 | ENABLE_STRICT_OBJC_MSGSEND = YES;
413 | GCC_C_LANGUAGE_STANDARD = gnu99;
414 | GCC_NO_COMMON_BLOCKS = YES;
415 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
416 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
417 | GCC_WARN_UNDECLARED_SELECTOR = YES;
418 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
419 | GCC_WARN_UNUSED_FUNCTION = YES;
420 | GCC_WARN_UNUSED_VARIABLE = YES;
421 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
422 | MTL_ENABLE_DEBUG_INFO = NO;
423 | SDKROOT = iphoneos;
424 | VALIDATE_PRODUCT = YES;
425 | };
426 | name = Release;
427 | };
428 | F829DE271C0BEFF6005A14B6 /* Debug */ = {
429 | isa = XCBuildConfiguration;
430 | buildSettings = {
431 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
432 | INFOPLIST_FILE = shoppingCart/Info.plist;
433 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
434 | PRODUCT_BUNDLE_IDENTIFIER = yh.shoppingCart;
435 | PRODUCT_NAME = "$(TARGET_NAME)";
436 | };
437 | name = Debug;
438 | };
439 | F829DE281C0BEFF6005A14B6 /* Release */ = {
440 | isa = XCBuildConfiguration;
441 | buildSettings = {
442 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
443 | INFOPLIST_FILE = shoppingCart/Info.plist;
444 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
445 | PRODUCT_BUNDLE_IDENTIFIER = yh.shoppingCart;
446 | PRODUCT_NAME = "$(TARGET_NAME)";
447 | };
448 | name = Release;
449 | };
450 | F829DE2A1C0BEFF6005A14B6 /* Debug */ = {
451 | isa = XCBuildConfiguration;
452 | buildSettings = {
453 | BUNDLE_LOADER = "$(TEST_HOST)";
454 | INFOPLIST_FILE = shoppingCartTests/Info.plist;
455 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
456 | PRODUCT_BUNDLE_IDENTIFIER = yh.shoppingCartTests;
457 | PRODUCT_NAME = "$(TARGET_NAME)";
458 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/shoppingCart.app/shoppingCart";
459 | };
460 | name = Debug;
461 | };
462 | F829DE2B1C0BEFF6005A14B6 /* Release */ = {
463 | isa = XCBuildConfiguration;
464 | buildSettings = {
465 | BUNDLE_LOADER = "$(TEST_HOST)";
466 | INFOPLIST_FILE = shoppingCartTests/Info.plist;
467 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
468 | PRODUCT_BUNDLE_IDENTIFIER = yh.shoppingCartTests;
469 | PRODUCT_NAME = "$(TARGET_NAME)";
470 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/shoppingCart.app/shoppingCart";
471 | };
472 | name = Release;
473 | };
474 | F829DE2D1C0BEFF6005A14B6 /* Debug */ = {
475 | isa = XCBuildConfiguration;
476 | buildSettings = {
477 | INFOPLIST_FILE = shoppingCartUITests/Info.plist;
478 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
479 | PRODUCT_BUNDLE_IDENTIFIER = yh.shoppingCartUITests;
480 | PRODUCT_NAME = "$(TARGET_NAME)";
481 | TEST_TARGET_NAME = shoppingCart;
482 | USES_XCTRUNNER = YES;
483 | };
484 | name = Debug;
485 | };
486 | F829DE2E1C0BEFF6005A14B6 /* Release */ = {
487 | isa = XCBuildConfiguration;
488 | buildSettings = {
489 | INFOPLIST_FILE = shoppingCartUITests/Info.plist;
490 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
491 | PRODUCT_BUNDLE_IDENTIFIER = yh.shoppingCartUITests;
492 | PRODUCT_NAME = "$(TARGET_NAME)";
493 | TEST_TARGET_NAME = shoppingCart;
494 | USES_XCTRUNNER = YES;
495 | };
496 | name = Release;
497 | };
498 | /* End XCBuildConfiguration section */
499 |
500 | /* Begin XCConfigurationList section */
501 | F829DDF41C0BEFF6005A14B6 /* Build configuration list for PBXProject "shoppingCart" */ = {
502 | isa = XCConfigurationList;
503 | buildConfigurations = (
504 | F829DE241C0BEFF6005A14B6 /* Debug */,
505 | F829DE251C0BEFF6005A14B6 /* Release */,
506 | );
507 | defaultConfigurationIsVisible = 0;
508 | defaultConfigurationName = Release;
509 | };
510 | F829DE261C0BEFF6005A14B6 /* Build configuration list for PBXNativeTarget "shoppingCart" */ = {
511 | isa = XCConfigurationList;
512 | buildConfigurations = (
513 | F829DE271C0BEFF6005A14B6 /* Debug */,
514 | F829DE281C0BEFF6005A14B6 /* Release */,
515 | );
516 | defaultConfigurationIsVisible = 0;
517 | };
518 | F829DE291C0BEFF6005A14B6 /* Build configuration list for PBXNativeTarget "shoppingCartTests" */ = {
519 | isa = XCConfigurationList;
520 | buildConfigurations = (
521 | F829DE2A1C0BEFF6005A14B6 /* Debug */,
522 | F829DE2B1C0BEFF6005A14B6 /* Release */,
523 | );
524 | defaultConfigurationIsVisible = 0;
525 | };
526 | F829DE2C1C0BEFF6005A14B6 /* Build configuration list for PBXNativeTarget "shoppingCartUITests" */ = {
527 | isa = XCConfigurationList;
528 | buildConfigurations = (
529 | F829DE2D1C0BEFF6005A14B6 /* Debug */,
530 | F829DE2E1C0BEFF6005A14B6 /* Release */,
531 | );
532 | defaultConfigurationIsVisible = 0;
533 | };
534 | /* End XCConfigurationList section */
535 | };
536 | rootObject = F829DDF11C0BEFF6005A14B6 /* Project object */;
537 | }
538 |
--------------------------------------------------------------------------------