Skip to content

Commit e47c8e9

Browse files
committed
workset 2012-06-10
1 parent 8bf7dca commit e47c8e9

29 files changed

+3413
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,295 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 46;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
4C942E551570502B00085BD3 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C942E541570502B00085BD3 /* UIKit.framework */; };
11+
4C942E571570502B00085BD3 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C942E561570502B00085BD3 /* Foundation.framework */; };
12+
4C942E591570502B00085BD3 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C942E581570502B00085BD3 /* CoreGraphics.framework */; };
13+
4C942E5F1570502B00085BD3 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 4C942E5D1570502B00085BD3 /* InfoPlist.strings */; };
14+
4C942E611570502B00085BD3 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C942E601570502B00085BD3 /* main.m */; };
15+
4C942E651570502B00085BD3 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C942E641570502B00085BD3 /* AppDelegate.m */; };
16+
4C942E681570502B00085BD3 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C942E671570502B00085BD3 /* ViewController.m */; };
17+
4C942E6B1570502B00085BD3 /* ViewController_iPhone.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4C942E691570502B00085BD3 /* ViewController_iPhone.xib */; };
18+
4C942E6E1570502B00085BD3 /* ViewController_iPad.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4C942E6C1570502B00085BD3 /* ViewController_iPad.xib */; };
19+
/* End PBXBuildFile section */
20+
21+
/* Begin PBXFileReference section */
22+
4C942E501570502B00085BD3 /* CoreMotionStudy.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CoreMotionStudy.app; sourceTree = BUILT_PRODUCTS_DIR; };
23+
4C942E541570502B00085BD3 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
24+
4C942E561570502B00085BD3 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
25+
4C942E581570502B00085BD3 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
26+
4C942E5C1570502B00085BD3 /* CoreMotionStudy-Info.plist */ = {isa = PBXFileReference; path = "CoreMotionStudy-Info.plist"; sourceTree = "<group>"; };
27+
4C942E5E1570502B00085BD3 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
28+
4C942E601570502B00085BD3 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
29+
4C942E621570502B00085BD3 /* CoreMotionStudy-Prefix.pch */ = {isa = PBXFileReference; path = "CoreMotionStudy-Prefix.pch"; sourceTree = "<group>"; };
30+
4C942E631570502B00085BD3 /* AppDelegate.h */ = {isa = PBXFileReference; path = AppDelegate.h; sourceTree = "<group>"; };
31+
4C942E641570502B00085BD3 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
32+
4C942E661570502B00085BD3 /* ViewController.h */ = {isa = PBXFileReference; path = ViewController.h; sourceTree = "<group>"; };
33+
4C942E671570502B00085BD3 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
34+
4C942E6A1570502B00085BD3 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/ViewController_iPhone.xib; sourceTree = "<group>"; };
35+
4C942E6D1570502B00085BD3 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/ViewController_iPad.xib; sourceTree = "<group>"; };
36+
/* End PBXFileReference section */
37+
38+
/* Begin PBXFrameworksBuildPhase section */
39+
4C942E4D1570502B00085BD3 /* Frameworks */ = {
40+
isa = PBXFrameworksBuildPhase;
41+
buildActionMask = 2147483647;
42+
files = (
43+
4C942E551570502B00085BD3 /* UIKit.framework in Frameworks */,
44+
4C942E571570502B00085BD3 /* Foundation.framework in Frameworks */,
45+
4C942E591570502B00085BD3 /* CoreGraphics.framework in Frameworks */,
46+
);
47+
runOnlyForDeploymentPostprocessing = 0;
48+
};
49+
/* End PBXFrameworksBuildPhase section */
50+
51+
/* Begin PBXGroup section */
52+
4C942E451570502A00085BD3 = {
53+
isa = PBXGroup;
54+
children = (
55+
4C942E5A1570502B00085BD3 /* CoreMotionStudy */,
56+
4C942E531570502B00085BD3 /* Frameworks */,
57+
4C942E511570502B00085BD3 /* Products */,
58+
);
59+
sourceTree = "<group>";
60+
};
61+
4C942E511570502B00085BD3 /* Products */ = {
62+
isa = PBXGroup;
63+
children = (
64+
4C942E501570502B00085BD3 /* CoreMotionStudy.app */,
65+
);
66+
name = Products;
67+
sourceTree = "<group>";
68+
};
69+
4C942E531570502B00085BD3 /* Frameworks */ = {
70+
isa = PBXGroup;
71+
children = (
72+
4C942E541570502B00085BD3 /* UIKit.framework */,
73+
4C942E561570502B00085BD3 /* Foundation.framework */,
74+
4C942E581570502B00085BD3 /* CoreGraphics.framework */,
75+
);
76+
name = Frameworks;
77+
sourceTree = "<group>";
78+
};
79+
4C942E5A1570502B00085BD3 /* CoreMotionStudy */ = {
80+
isa = PBXGroup;
81+
children = (
82+
4C942E631570502B00085BD3 /* AppDelegate.h */,
83+
4C942E641570502B00085BD3 /* AppDelegate.m */,
84+
4C942E661570502B00085BD3 /* ViewController.h */,
85+
4C942E671570502B00085BD3 /* ViewController.m */,
86+
4C942E691570502B00085BD3 /* ViewController_iPhone.xib */,
87+
4C942E6C1570502B00085BD3 /* ViewController_iPad.xib */,
88+
4C942E5B1570502B00085BD3 /* Supporting Files */,
89+
);
90+
path = CoreMotionStudy;
91+
sourceTree = "<group>";
92+
};
93+
4C942E5B1570502B00085BD3 /* Supporting Files */ = {
94+
isa = PBXGroup;
95+
children = (
96+
4C942E5C1570502B00085BD3 /* CoreMotionStudy-Info.plist */,
97+
4C942E5D1570502B00085BD3 /* InfoPlist.strings */,
98+
4C942E601570502B00085BD3 /* main.m */,
99+
4C942E621570502B00085BD3 /* CoreMotionStudy-Prefix.pch */,
100+
);
101+
name = "Supporting Files";
102+
sourceTree = "<group>";
103+
};
104+
/* End PBXGroup section */
105+
106+
/* Begin PBXNativeTarget section */
107+
4C942E4F1570502B00085BD3 /* CoreMotionStudy */ = {
108+
isa = PBXNativeTarget;
109+
buildConfigurationList = 4C942E711570502B00085BD3 /* Build configuration list for PBXNativeTarget "CoreMotionStudy" */;
110+
buildPhases = (
111+
4C942E4C1570502B00085BD3 /* Sources */,
112+
4C942E4D1570502B00085BD3 /* Frameworks */,
113+
4C942E4E1570502B00085BD3 /* Resources */,
114+
);
115+
buildRules = (
116+
);
117+
dependencies = (
118+
);
119+
name = CoreMotionStudy;
120+
productName = CoreMotionStudy;
121+
productReference = 4C942E501570502B00085BD3 /* CoreMotionStudy.app */;
122+
productType = "com.apple.product-type.application";
123+
};
124+
/* End PBXNativeTarget section */
125+
126+
/* Begin PBXProject section */
127+
4C942E471570502A00085BD3 /* Project object */ = {
128+
isa = PBXProject;
129+
attributes = {
130+
LastUpgradeCheck = 0430;
131+
};
132+
buildConfigurationList = 4C942E4A1570502A00085BD3 /* Build configuration list for PBXProject "CoreMotionStudy" */;
133+
compatibilityVersion = "Xcode 3.2";
134+
developmentRegion = English;
135+
hasScannedForEncodings = 0;
136+
knownRegions = (
137+
en,
138+
);
139+
mainGroup = 4C942E451570502A00085BD3;
140+
productRefGroup = 4C942E511570502B00085BD3 /* Products */;
141+
projectDirPath = "";
142+
projectRoot = "";
143+
targets = (
144+
4C942E4F1570502B00085BD3 /* CoreMotionStudy */,
145+
);
146+
};
147+
/* End PBXProject section */
148+
149+
/* Begin PBXResourcesBuildPhase section */
150+
4C942E4E1570502B00085BD3 /* Resources */ = {
151+
isa = PBXResourcesBuildPhase;
152+
buildActionMask = 2147483647;
153+
files = (
154+
4C942E5F1570502B00085BD3 /* InfoPlist.strings in Resources */,
155+
4C942E6B1570502B00085BD3 /* ViewController_iPhone.xib in Resources */,
156+
4C942E6E1570502B00085BD3 /* ViewController_iPad.xib in Resources */,
157+
);
158+
runOnlyForDeploymentPostprocessing = 0;
159+
};
160+
/* End PBXResourcesBuildPhase section */
161+
162+
/* Begin PBXSourcesBuildPhase section */
163+
4C942E4C1570502B00085BD3 /* Sources */ = {
164+
isa = PBXSourcesBuildPhase;
165+
buildActionMask = 2147483647;
166+
files = (
167+
4C942E611570502B00085BD3 /* main.m in Sources */,
168+
4C942E651570502B00085BD3 /* AppDelegate.m in Sources */,
169+
4C942E681570502B00085BD3 /* ViewController.m in Sources */,
170+
);
171+
runOnlyForDeploymentPostprocessing = 0;
172+
};
173+
/* End PBXSourcesBuildPhase section */
174+
175+
/* Begin PBXVariantGroup section */
176+
4C942E5D1570502B00085BD3 /* InfoPlist.strings */ = {
177+
isa = PBXVariantGroup;
178+
children = (
179+
4C942E5E1570502B00085BD3 /* en */,
180+
);
181+
name = InfoPlist.strings;
182+
sourceTree = "<group>";
183+
};
184+
4C942E691570502B00085BD3 /* ViewController_iPhone.xib */ = {
185+
isa = PBXVariantGroup;
186+
children = (
187+
4C942E6A1570502B00085BD3 /* en */,
188+
);
189+
name = ViewController_iPhone.xib;
190+
sourceTree = "<group>";
191+
};
192+
4C942E6C1570502B00085BD3 /* ViewController_iPad.xib */ = {
193+
isa = PBXVariantGroup;
194+
children = (
195+
4C942E6D1570502B00085BD3 /* en */,
196+
);
197+
name = ViewController_iPad.xib;
198+
sourceTree = "<group>";
199+
};
200+
/* End PBXVariantGroup section */
201+
202+
/* Begin XCBuildConfiguration section */
203+
4C942E6F1570502B00085BD3 /* Debug */ = {
204+
isa = XCBuildConfiguration;
205+
buildSettings = {
206+
ALWAYS_SEARCH_USER_PATHS = NO;
207+
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
208+
CLANG_ENABLE_OBJC_ARC = YES;
209+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
210+
COPY_PHASE_STRIP = NO;
211+
GCC_C_LANGUAGE_STANDARD = gnu99;
212+
GCC_DYNAMIC_NO_PIC = NO;
213+
GCC_OPTIMIZATION_LEVEL = 0;
214+
GCC_PREPROCESSOR_DEFINITIONS = (
215+
"DEBUG=1",
216+
"$(inherited)",
217+
);
218+
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
219+
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
220+
GCC_WARN_ABOUT_RETURN_TYPE = YES;
221+
GCC_WARN_UNINITIALIZED_AUTOS = YES;
222+
GCC_WARN_UNUSED_VARIABLE = YES;
223+
IPHONEOS_DEPLOYMENT_TARGET = 5.1;
224+
SDKROOT = iphoneos;
225+
TARGETED_DEVICE_FAMILY = "1,2";
226+
};
227+
name = Debug;
228+
};
229+
4C942E701570502B00085BD3 /* Release */ = {
230+
isa = XCBuildConfiguration;
231+
buildSettings = {
232+
ALWAYS_SEARCH_USER_PATHS = NO;
233+
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
234+
CLANG_ENABLE_OBJC_ARC = YES;
235+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
236+
COPY_PHASE_STRIP = YES;
237+
GCC_C_LANGUAGE_STANDARD = gnu99;
238+
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
239+
GCC_WARN_ABOUT_RETURN_TYPE = YES;
240+
GCC_WARN_UNINITIALIZED_AUTOS = YES;
241+
GCC_WARN_UNUSED_VARIABLE = YES;
242+
IPHONEOS_DEPLOYMENT_TARGET = 5.1;
243+
OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
244+
SDKROOT = iphoneos;
245+
TARGETED_DEVICE_FAMILY = "1,2";
246+
VALIDATE_PRODUCT = YES;
247+
};
248+
name = Release;
249+
};
250+
4C942E721570502B00085BD3 /* Debug */ = {
251+
isa = XCBuildConfiguration;
252+
buildSettings = {
253+
GCC_PRECOMPILE_PREFIX_HEADER = YES;
254+
GCC_PREFIX_HEADER = "CoreMotionStudy/CoreMotionStudy-Prefix.pch";
255+
INFOPLIST_FILE = "CoreMotionStudy/CoreMotionStudy-Info.plist";
256+
PRODUCT_NAME = "$(TARGET_NAME)";
257+
WRAPPER_EXTENSION = app;
258+
};
259+
name = Debug;
260+
};
261+
4C942E731570502B00085BD3 /* Release */ = {
262+
isa = XCBuildConfiguration;
263+
buildSettings = {
264+
GCC_PRECOMPILE_PREFIX_HEADER = YES;
265+
GCC_PREFIX_HEADER = "CoreMotionStudy/CoreMotionStudy-Prefix.pch";
266+
INFOPLIST_FILE = "CoreMotionStudy/CoreMotionStudy-Info.plist";
267+
PRODUCT_NAME = "$(TARGET_NAME)";
268+
WRAPPER_EXTENSION = app;
269+
};
270+
name = Release;
271+
};
272+
/* End XCBuildConfiguration section */
273+
274+
/* Begin XCConfigurationList section */
275+
4C942E4A1570502A00085BD3 /* Build configuration list for PBXProject "CoreMotionStudy" */ = {
276+
isa = XCConfigurationList;
277+
buildConfigurations = (
278+
4C942E6F1570502B00085BD3 /* Debug */,
279+
4C942E701570502B00085BD3 /* Release */,
280+
);
281+
defaultConfigurationIsVisible = 0;
282+
defaultConfigurationName = Release;
283+
};
284+
4C942E711570502B00085BD3 /* Build configuration list for PBXNativeTarget "CoreMotionStudy" */ = {
285+
isa = XCConfigurationList;
286+
buildConfigurations = (
287+
4C942E721570502B00085BD3 /* Debug */,
288+
4C942E731570502B00085BD3 /* Release */,
289+
);
290+
defaultConfigurationIsVisible = 0;
291+
};
292+
/* End XCConfigurationList section */
293+
};
294+
rootObject = 4C942E471570502A00085BD3 /* Project object */;
295+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
//
2+
// AppDelegate.h
3+
// CoreMotionStudy
4+
//
5+
// Created by 橋口 湖 on 5/26/12.
6+
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
7+
//
8+
9+
#import <UIKit/UIKit.h>
10+
11+
@class ViewController;
12+
13+
@interface AppDelegate : UIResponder <UIApplicationDelegate>
14+
15+
@property (strong, nonatomic) UIWindow *window;
16+
17+
@property (strong, nonatomic) ViewController *viewController;
18+
19+
@end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
//
2+
// AppDelegate.m
3+
// CoreMotionStudy
4+
//
5+
// Created by 橋口 湖 on 5/26/12.
6+
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
7+
//
8+
9+
#import "AppDelegate.h"
10+
11+
#import "ViewController.h"
12+
13+
@implementation AppDelegate
14+
15+
@synthesize window = _window;
16+
@synthesize viewController = _viewController;
17+
18+
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
19+
{
20+
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
21+
// Override point for customization after application launch.
22+
if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone) {
23+
self.viewController = [[ViewController alloc] initWithNibName:@"ViewController_iPhone" bundle:nil];
24+
} else {
25+
self.viewController = [[ViewController alloc] initWithNibName:@"ViewController_iPad" bundle:nil];
26+
}
27+
self.window.rootViewController = self.viewController;
28+
[self.window makeKeyAndVisible];
29+
return YES;
30+
}
31+
32+
- (void)applicationWillResignActive:(UIApplication *)application
33+
{
34+
// 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.
35+
// 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.
36+
}
37+
38+
- (void)applicationDidEnterBackground:(UIApplication *)application
39+
{
40+
// 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.
41+
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
42+
}
43+
44+
- (void)applicationWillEnterForeground:(UIApplication *)application
45+
{
46+
// 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.
47+
}
48+
49+
- (void)applicationDidBecomeActive:(UIApplication *)application
50+
{
51+
// 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.
52+
}
53+
54+
- (void)applicationWillTerminate:(UIApplication *)application
55+
{
56+
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
57+
}
58+
59+
@end

0 commit comments

Comments
 (0)