├── README
├── UIActionSheetTry
├── en.lproj
│ ├── InfoPlist.strings
│ ├── UIActionSheetTryViewController.xib
│ └── MainWindow.xib
├── UIActionSheetTry-Prefix.pch
├── UIActionSheetTryViewController.h
├── main.m
├── UIActionSheetTryAppDelegate.h
├── UIActionSheetTry-Info.plist
├── UIActionSheetTryAppDelegate.m
└── UIActionSheetTryViewController.m
├── .gitignore
└── UIActionSheetTry.xcodeproj
├── project.xcworkspace
└── contents.xcworkspacedata
└── project.pbxproj
/README:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/UIActionSheetTry/en.lproj/InfoPlist.strings:
--------------------------------------------------------------------------------
1 | /* Localized versions of Info.plist keys */
2 |
3 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | _Store
2 | *.swp
3 | *~.nib
4 | build/
5 | *.pbxuser
6 | *.perspective
7 | *.perspectivev3
8 | xcuserdata
9 |
--------------------------------------------------------------------------------
/UIActionSheetTry.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/UIActionSheetTry/UIActionSheetTry-Prefix.pch:
--------------------------------------------------------------------------------
1 | //
2 | // Prefix header for all source files of the 'UIActionSheetTry' target in the 'UIActionSheetTry' project
3 | //
4 |
5 | #import
6 |
7 | #ifndef __IPHONE_3_0
8 | #warning "This project uses features only available in iPhone SDK 3.0 and later."
9 | #endif
10 |
11 | #ifdef __OBJC__
12 | #import
13 | #import
14 | #endif
15 |
--------------------------------------------------------------------------------
/UIActionSheetTry/UIActionSheetTryViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // UIActionSheetTryViewController.h
3 | // UIActionSheetTry
4 | //
5 | // Created by on 2011/10/6.
6 | // Copyright 2011年 __MyCompanyName__. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface UIActionSheetTryViewController : UIViewController {
12 |
13 | }
14 | -(IBAction)notifyPress:(id)sender;
15 |
16 |
17 | @end
18 |
--------------------------------------------------------------------------------
/UIActionSheetTry/main.m:
--------------------------------------------------------------------------------
1 | //
2 | // main.m
3 | // UIActionSheetTry
4 | //
5 | // Created by on 2011/10/6.
6 | // Copyright 2011年 __MyCompanyName__. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | int main(int argc, char *argv[])
12 | {
13 | NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
14 | int retVal = UIApplicationMain(argc, argv, nil, nil);
15 | [pool release];
16 | return retVal;
17 | }
18 |
--------------------------------------------------------------------------------
/UIActionSheetTry/UIActionSheetTryAppDelegate.h:
--------------------------------------------------------------------------------
1 | //
2 | // UIActionSheetTryAppDelegate.h
3 | // UIActionSheetTry
4 | //
5 | // Created by on 2011/10/6.
6 | // Copyright 2011年 __MyCompanyName__. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @class UIActionSheetTryViewController;
12 |
13 | @interface UIActionSheetTryAppDelegate : NSObject
14 |
15 | @property (nonatomic, retain) IBOutlet UIWindow *window;
16 |
17 | @property (nonatomic, retain) IBOutlet UIActionSheetTryViewController *viewController;
18 |
19 | @end
20 |
--------------------------------------------------------------------------------
/UIActionSheetTry/UIActionSheetTry-Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleDisplayName
8 | ${PRODUCT_NAME}
9 | CFBundleExecutable
10 | ${EXECUTABLE_NAME}
11 | CFBundleIconFile
12 |
13 | CFBundleIdentifier
14 | com.pcschool.${PRODUCT_NAME:rfc1034identifier}
15 | CFBundleInfoDictionaryVersion
16 | 6.0
17 | CFBundleName
18 | ${PRODUCT_NAME}
19 | CFBundlePackageType
20 | APPL
21 | CFBundleShortVersionString
22 | 1.0
23 | CFBundleSignature
24 | ????
25 | CFBundleVersion
26 | 1.0
27 | LSRequiresIPhoneOS
28 |
29 | NSMainNibFile
30 | MainWindow
31 | UISupportedInterfaceOrientations
32 |
33 | UIInterfaceOrientationPortrait
34 | UIInterfaceOrientationLandscapeLeft
35 | UIInterfaceOrientationLandscapeRight
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/UIActionSheetTry/UIActionSheetTryAppDelegate.m:
--------------------------------------------------------------------------------
1 | //
2 | // UIActionSheetTryAppDelegate.m
3 | // UIActionSheetTry
4 | //
5 | // Created by on 2011/10/6.
6 | // Copyright 2011年 __MyCompanyName__. All rights reserved.
7 | //
8 |
9 | #import "UIActionSheetTryAppDelegate.h"
10 |
11 | #import "UIActionSheetTryViewController.h"
12 |
13 | @implementation UIActionSheetTryAppDelegate
14 |
15 | @synthesize window = _window;
16 | @synthesize viewController = _viewController;
17 |
18 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
19 | {
20 | // Override point for customization after application launch.
21 |
22 | self.window.rootViewController = self.viewController;
23 | [self.window makeKeyAndVisible];
24 | return YES;
25 | }
26 |
27 | - (void)applicationWillResignActive:(UIApplication *)application
28 | {
29 | /*
30 | 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.
31 | 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.
32 | */
33 | }
34 |
35 | - (void)applicationDidEnterBackground:(UIApplication *)application
36 | {
37 | /*
38 | 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.
39 | If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
40 | */
41 | }
42 |
43 | - (void)applicationWillEnterForeground:(UIApplication *)application
44 | {
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 |
50 | - (void)applicationDidBecomeActive:(UIApplication *)application
51 | {
52 | /*
53 | 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.
54 | */
55 | }
56 |
57 | - (void)applicationWillTerminate:(UIApplication *)application
58 | {
59 | /*
60 | Called when the application is about to terminate.
61 | Save data if appropriate.
62 | See also applicationDidEnterBackground:.
63 | */
64 | }
65 |
66 | - (void)dealloc
67 | {
68 | [_window release];
69 | [_viewController release];
70 | [super dealloc];
71 | }
72 |
73 | @end
74 |
--------------------------------------------------------------------------------
/UIActionSheetTry/UIActionSheetTryViewController.m:
--------------------------------------------------------------------------------
1 | //
2 | // UIActionSheetTryViewController.m
3 | // UIActionSheetTry
4 | //
5 | // Created by on 2011/10/6.
6 | // Copyright 2011年 __MyCompanyName__. All rights reserved.
7 | //
8 |
9 | #import "UIActionSheetTryViewController.h"
10 |
11 | @implementation UIActionSheetTryViewController
12 |
13 | -(void)callPhone1999{
14 | NSLog(@"call 1999");
15 | [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel:1999"]];
16 | }
17 |
18 | - (void)didReceiveMemoryWarning
19 | {
20 | // Releases the view if it doesn't have a superview.
21 | [super didReceiveMemoryWarning];
22 |
23 | // Release any cached data, images, etc that aren't in use.
24 | }
25 |
26 | #pragma mark - View lifecycle
27 |
28 | /*
29 | // Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
30 | - (void)viewDidLoad
31 | {
32 | [super viewDidLoad];
33 | }
34 | */
35 |
36 | - (void)viewDidUnload
37 | {
38 | [super viewDidUnload];
39 | // Release any retained subviews of the main view.
40 | // e.g. self.myOutlet = nil;
41 | }
42 |
43 | - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
44 | {
45 | // Return YES for supported orientations
46 | return (interfaceOrientation == UIInterfaceOrientationPortrait);
47 | }
48 | -(IBAction)notifyPress:(id)sender{
49 | NSLog(@"notifyPressed");
50 | UIActionSheet *notifySheet = [[UIActionSheet alloc]initWithTitle:@"台北市老樹災害通報" delegate:self cancelButtonTitle:@"取消" destructiveButtonTitle:@"撥打 1999 免付費電話" otherButtonTitles:@"發送mail給台北市政府", nil];
51 | [notifySheet showInView:self.view];
52 | [notifySheet release];
53 | }
54 |
55 | //請加在 LOTChapter02TreeDetailViewController.h
56 | -(void)mailTo{
57 | NSLog(@"mail");
58 | //設定主旨
59 | NSString *subject = @"保護樹木 民眾提報";
60 | //設定內文
61 | NSString *text = @"樹木所在位置: 樹木所在位置: 您的姓名: 您的聯絡電話:";
62 | //設定收件人的Email並帶入主旨與內文
63 | NSString *url = [NSString stringWithFormat:@"mailto://iphone_developer@googlegroups.com?subject=%@&body=%@", subject, text];
64 | //重新格式化字串為UTF8
65 | url = [url stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]; [[UIApplication sharedApplication] openURL:[NSURL URLWithString:url]];
66 |
67 | //直接寄送,不代入主旨及內文
68 | //[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"mailto://iphone_developer@googlegroups.com"]];
69 | }
70 |
71 | - (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex {
72 | NSLog(@"Button index:%i", buttonIndex);
73 |
74 | switch (buttonIndex) {
75 | case 0:
76 | NSLog(@"callPhone");
77 | [self callPhone1999];
78 | break;
79 | case 1:
80 | NSLog(@"mailTo");
81 | [self mailTo];
82 | break;
83 | }
84 | }
85 |
86 |
87 |
88 | @end
89 |
--------------------------------------------------------------------------------
/UIActionSheetTry/en.lproj/UIActionSheetTryViewController.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 1280
5 | 10K549
6 | 1938
7 | 1038.36
8 | 461.00
9 |
13 |
19 |
23 |
27 |
94 |
95 |
96 | YES
97 |
98 |
99 | view
100 |
101 |
102 |
103 | 7
104 |
105 |
106 |
107 | notifyPress:
108 |
109 |
110 | 7
111 |
112 | 9
113 |
114 |
115 |
116 |
117 | YES
118 |
119 | 0
120 |
121 | YES
122 |
123 |
124 |
125 |
126 |
127 | -1
128 |
129 |
130 | File's Owner
131 |
132 |
133 | -2
134 |
135 |
136 |
137 |
138 | 6
139 |
140 |
141 | YES
142 |
143 |
144 |
145 |
146 |
147 | 8
148 |
149 |
150 |
151 |
152 |
153 |
154 | YES
155 |
156 | YES
157 | -1.CustomClassName
158 | -1.IBPluginDependency
159 | -2.CustomClassName
160 | -2.IBPluginDependency
161 | 6.IBPluginDependency
162 | 8.IBPluginDependency
163 |
164 |
165 | YES
166 | UIActionSheetTryViewController
167 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin
168 | UIResponder
169 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin
170 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin
171 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin
172 |
173 |
174 |
175 | YES
176 |
177 |
178 |
179 |
180 |
181 | YES
182 |
183 |
184 |
185 |
186 | 9
187 |
188 |
189 | 0
190 | IBCocoaTouchFramework
191 |
192 | com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3
193 |
194 |
195 | YES
196 | 3
197 | 933
198 |
199 |
200 |
--------------------------------------------------------------------------------
/UIActionSheetTry.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | DD14919F143D86AA0093C0AA /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DD14919E143D86AA0093C0AA /* UIKit.framework */; };
11 | DD1491A1143D86AA0093C0AA /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DD1491A0143D86AA0093C0AA /* Foundation.framework */; };
12 | DD1491A3143D86AA0093C0AA /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DD1491A2143D86AA0093C0AA /* CoreGraphics.framework */; };
13 | DD1491A9143D86AA0093C0AA /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = DD1491A7143D86AA0093C0AA /* InfoPlist.strings */; };
14 | DD1491AB143D86AA0093C0AA /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = DD1491AA143D86AA0093C0AA /* main.m */; };
15 | DD1491AF143D86AA0093C0AA /* UIActionSheetTryAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = DD1491AE143D86AA0093C0AA /* UIActionSheetTryAppDelegate.m */; };
16 | DD1491B2143D86AA0093C0AA /* MainWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = DD1491B0143D86AA0093C0AA /* MainWindow.xib */; };
17 | DD1491B5143D86AA0093C0AA /* UIActionSheetTryViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = DD1491B4143D86AA0093C0AA /* UIActionSheetTryViewController.m */; };
18 | DD1491B8143D86AB0093C0AA /* UIActionSheetTryViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = DD1491B6143D86AA0093C0AA /* UIActionSheetTryViewController.xib */; };
19 | /* End PBXBuildFile section */
20 |
21 | /* Begin PBXFileReference section */
22 | DD14919A143D86AA0093C0AA /* UIActionSheetTry.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = UIActionSheetTry.app; sourceTree = BUILT_PRODUCTS_DIR; };
23 | DD14919E143D86AA0093C0AA /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
24 | DD1491A0143D86AA0093C0AA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
25 | DD1491A2143D86AA0093C0AA /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
26 | DD1491A6143D86AA0093C0AA /* UIActionSheetTry-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "UIActionSheetTry-Info.plist"; sourceTree = ""; };
27 | DD1491A8143D86AA0093C0AA /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; };
28 | DD1491AA143D86AA0093C0AA /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; };
29 | DD1491AC143D86AA0093C0AA /* UIActionSheetTry-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "UIActionSheetTry-Prefix.pch"; sourceTree = ""; };
30 | DD1491AD143D86AA0093C0AA /* UIActionSheetTryAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = UIActionSheetTryAppDelegate.h; sourceTree = ""; };
31 | DD1491AE143D86AA0093C0AA /* UIActionSheetTryAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = UIActionSheetTryAppDelegate.m; sourceTree = ""; };
32 | DD1491B1143D86AA0093C0AA /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainWindow.xib; sourceTree = ""; };
33 | DD1491B3143D86AA0093C0AA /* UIActionSheetTryViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = UIActionSheetTryViewController.h; sourceTree = ""; };
34 | DD1491B4143D86AA0093C0AA /* UIActionSheetTryViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = UIActionSheetTryViewController.m; sourceTree = ""; };
35 | DD1491B7143D86AB0093C0AA /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/UIActionSheetTryViewController.xib; sourceTree = ""; };
36 | /* End PBXFileReference section */
37 |
38 | /* Begin PBXFrameworksBuildPhase section */
39 | DD149197143D86AA0093C0AA /* Frameworks */ = {
40 | isa = PBXFrameworksBuildPhase;
41 | buildActionMask = 2147483647;
42 | files = (
43 | DD14919F143D86AA0093C0AA /* UIKit.framework in Frameworks */,
44 | DD1491A1143D86AA0093C0AA /* Foundation.framework in Frameworks */,
45 | DD1491A3143D86AA0093C0AA /* CoreGraphics.framework in Frameworks */,
46 | );
47 | runOnlyForDeploymentPostprocessing = 0;
48 | };
49 | /* End PBXFrameworksBuildPhase section */
50 |
51 | /* Begin PBXGroup section */
52 | DD14918F143D86AA0093C0AA = {
53 | isa = PBXGroup;
54 | children = (
55 | DD1491A4143D86AA0093C0AA /* UIActionSheetTry */,
56 | DD14919D143D86AA0093C0AA /* Frameworks */,
57 | DD14919B143D86AA0093C0AA /* Products */,
58 | );
59 | sourceTree = "";
60 | };
61 | DD14919B143D86AA0093C0AA /* Products */ = {
62 | isa = PBXGroup;
63 | children = (
64 | DD14919A143D86AA0093C0AA /* UIActionSheetTry.app */,
65 | );
66 | name = Products;
67 | sourceTree = "";
68 | };
69 | DD14919D143D86AA0093C0AA /* Frameworks */ = {
70 | isa = PBXGroup;
71 | children = (
72 | DD14919E143D86AA0093C0AA /* UIKit.framework */,
73 | DD1491A0143D86AA0093C0AA /* Foundation.framework */,
74 | DD1491A2143D86AA0093C0AA /* CoreGraphics.framework */,
75 | );
76 | name = Frameworks;
77 | sourceTree = "";
78 | };
79 | DD1491A4143D86AA0093C0AA /* UIActionSheetTry */ = {
80 | isa = PBXGroup;
81 | children = (
82 | DD1491AD143D86AA0093C0AA /* UIActionSheetTryAppDelegate.h */,
83 | DD1491AE143D86AA0093C0AA /* UIActionSheetTryAppDelegate.m */,
84 | DD1491B0143D86AA0093C0AA /* MainWindow.xib */,
85 | DD1491B3143D86AA0093C0AA /* UIActionSheetTryViewController.h */,
86 | DD1491B4143D86AA0093C0AA /* UIActionSheetTryViewController.m */,
87 | DD1491B6143D86AA0093C0AA /* UIActionSheetTryViewController.xib */,
88 | DD1491A5143D86AA0093C0AA /* Supporting Files */,
89 | );
90 | path = UIActionSheetTry;
91 | sourceTree = "";
92 | };
93 | DD1491A5143D86AA0093C0AA /* Supporting Files */ = {
94 | isa = PBXGroup;
95 | children = (
96 | DD1491A6143D86AA0093C0AA /* UIActionSheetTry-Info.plist */,
97 | DD1491A7143D86AA0093C0AA /* InfoPlist.strings */,
98 | DD1491AA143D86AA0093C0AA /* main.m */,
99 | DD1491AC143D86AA0093C0AA /* UIActionSheetTry-Prefix.pch */,
100 | );
101 | name = "Supporting Files";
102 | sourceTree = "";
103 | };
104 | /* End PBXGroup section */
105 |
106 | /* Begin PBXNativeTarget section */
107 | DD149199143D86AA0093C0AA /* UIActionSheetTry */ = {
108 | isa = PBXNativeTarget;
109 | buildConfigurationList = DD1491BB143D86AB0093C0AA /* Build configuration list for PBXNativeTarget "UIActionSheetTry" */;
110 | buildPhases = (
111 | DD149196143D86AA0093C0AA /* Sources */,
112 | DD149197143D86AA0093C0AA /* Frameworks */,
113 | DD149198143D86AA0093C0AA /* Resources */,
114 | );
115 | buildRules = (
116 | );
117 | dependencies = (
118 | );
119 | name = UIActionSheetTry;
120 | productName = UIActionSheetTry;
121 | productReference = DD14919A143D86AA0093C0AA /* UIActionSheetTry.app */;
122 | productType = "com.apple.product-type.application";
123 | };
124 | /* End PBXNativeTarget section */
125 |
126 | /* Begin PBXProject section */
127 | DD149191143D86AA0093C0AA /* Project object */ = {
128 | isa = PBXProject;
129 | buildConfigurationList = DD149194143D86AA0093C0AA /* Build configuration list for PBXProject "UIActionSheetTry" */;
130 | compatibilityVersion = "Xcode 3.2";
131 | developmentRegion = English;
132 | hasScannedForEncodings = 0;
133 | knownRegions = (
134 | en,
135 | );
136 | mainGroup = DD14918F143D86AA0093C0AA;
137 | productRefGroup = DD14919B143D86AA0093C0AA /* Products */;
138 | projectDirPath = "";
139 | projectRoot = "";
140 | targets = (
141 | DD149199143D86AA0093C0AA /* UIActionSheetTry */,
142 | );
143 | };
144 | /* End PBXProject section */
145 |
146 | /* Begin PBXResourcesBuildPhase section */
147 | DD149198143D86AA0093C0AA /* Resources */ = {
148 | isa = PBXResourcesBuildPhase;
149 | buildActionMask = 2147483647;
150 | files = (
151 | DD1491A9143D86AA0093C0AA /* InfoPlist.strings in Resources */,
152 | DD1491B2143D86AA0093C0AA /* MainWindow.xib in Resources */,
153 | DD1491B8143D86AB0093C0AA /* UIActionSheetTryViewController.xib in Resources */,
154 | );
155 | runOnlyForDeploymentPostprocessing = 0;
156 | };
157 | /* End PBXResourcesBuildPhase section */
158 |
159 | /* Begin PBXSourcesBuildPhase section */
160 | DD149196143D86AA0093C0AA /* Sources */ = {
161 | isa = PBXSourcesBuildPhase;
162 | buildActionMask = 2147483647;
163 | files = (
164 | DD1491AB143D86AA0093C0AA /* main.m in Sources */,
165 | DD1491AF143D86AA0093C0AA /* UIActionSheetTryAppDelegate.m in Sources */,
166 | DD1491B5143D86AA0093C0AA /* UIActionSheetTryViewController.m in Sources */,
167 | );
168 | runOnlyForDeploymentPostprocessing = 0;
169 | };
170 | /* End PBXSourcesBuildPhase section */
171 |
172 | /* Begin PBXVariantGroup section */
173 | DD1491A7143D86AA0093C0AA /* InfoPlist.strings */ = {
174 | isa = PBXVariantGroup;
175 | children = (
176 | DD1491A8143D86AA0093C0AA /* en */,
177 | );
178 | name = InfoPlist.strings;
179 | sourceTree = "";
180 | };
181 | DD1491B0143D86AA0093C0AA /* MainWindow.xib */ = {
182 | isa = PBXVariantGroup;
183 | children = (
184 | DD1491B1143D86AA0093C0AA /* en */,
185 | );
186 | name = MainWindow.xib;
187 | sourceTree = "";
188 | };
189 | DD1491B6143D86AA0093C0AA /* UIActionSheetTryViewController.xib */ = {
190 | isa = PBXVariantGroup;
191 | children = (
192 | DD1491B7143D86AB0093C0AA /* en */,
193 | );
194 | name = UIActionSheetTryViewController.xib;
195 | sourceTree = "";
196 | };
197 | /* End PBXVariantGroup section */
198 |
199 | /* Begin XCBuildConfiguration section */
200 | DD1491B9143D86AB0093C0AA /* Debug */ = {
201 | isa = XCBuildConfiguration;
202 | buildSettings = {
203 | ALWAYS_SEARCH_USER_PATHS = NO;
204 | ARCHS = "$(ARCHS_STANDARD_32_BIT)";
205 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
206 | COPY_PHASE_STRIP = NO;
207 | GCC_C_LANGUAGE_STANDARD = gnu99;
208 | GCC_DYNAMIC_NO_PIC = NO;
209 | GCC_OPTIMIZATION_LEVEL = 0;
210 | GCC_PREPROCESSOR_DEFINITIONS = (
211 | "DEBUG=1",
212 | "$(inherited)",
213 | );
214 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
215 | GCC_VERSION = com.apple.compilers.llvmgcc42;
216 | GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
217 | GCC_WARN_ABOUT_RETURN_TYPE = YES;
218 | GCC_WARN_UNUSED_VARIABLE = YES;
219 | IPHONEOS_DEPLOYMENT_TARGET = 4.3;
220 | SDKROOT = iphoneos;
221 | };
222 | name = Debug;
223 | };
224 | DD1491BA143D86AB0093C0AA /* Release */ = {
225 | isa = XCBuildConfiguration;
226 | buildSettings = {
227 | ALWAYS_SEARCH_USER_PATHS = NO;
228 | ARCHS = "$(ARCHS_STANDARD_32_BIT)";
229 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
230 | COPY_PHASE_STRIP = YES;
231 | GCC_C_LANGUAGE_STANDARD = gnu99;
232 | GCC_VERSION = com.apple.compilers.llvmgcc42;
233 | GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
234 | GCC_WARN_ABOUT_RETURN_TYPE = YES;
235 | GCC_WARN_UNUSED_VARIABLE = YES;
236 | IPHONEOS_DEPLOYMENT_TARGET = 4.3;
237 | OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
238 | SDKROOT = iphoneos;
239 | VALIDATE_PRODUCT = YES;
240 | };
241 | name = Release;
242 | };
243 | DD1491BC143D86AB0093C0AA /* Debug */ = {
244 | isa = XCBuildConfiguration;
245 | buildSettings = {
246 | GCC_PRECOMPILE_PREFIX_HEADER = YES;
247 | GCC_PREFIX_HEADER = "UIActionSheetTry/UIActionSheetTry-Prefix.pch";
248 | INFOPLIST_FILE = "UIActionSheetTry/UIActionSheetTry-Info.plist";
249 | PRODUCT_NAME = "$(TARGET_NAME)";
250 | WRAPPER_EXTENSION = app;
251 | };
252 | name = Debug;
253 | };
254 | DD1491BD143D86AB0093C0AA /* Release */ = {
255 | isa = XCBuildConfiguration;
256 | buildSettings = {
257 | GCC_PRECOMPILE_PREFIX_HEADER = YES;
258 | GCC_PREFIX_HEADER = "UIActionSheetTry/UIActionSheetTry-Prefix.pch";
259 | INFOPLIST_FILE = "UIActionSheetTry/UIActionSheetTry-Info.plist";
260 | PRODUCT_NAME = "$(TARGET_NAME)";
261 | WRAPPER_EXTENSION = app;
262 | };
263 | name = Release;
264 | };
265 | /* End XCBuildConfiguration section */
266 |
267 | /* Begin XCConfigurationList section */
268 | DD149194143D86AA0093C0AA /* Build configuration list for PBXProject "UIActionSheetTry" */ = {
269 | isa = XCConfigurationList;
270 | buildConfigurations = (
271 | DD1491B9143D86AB0093C0AA /* Debug */,
272 | DD1491BA143D86AB0093C0AA /* Release */,
273 | );
274 | defaultConfigurationIsVisible = 0;
275 | defaultConfigurationName = Release;
276 | };
277 | DD1491BB143D86AB0093C0AA /* Build configuration list for PBXNativeTarget "UIActionSheetTry" */ = {
278 | isa = XCConfigurationList;
279 | buildConfigurations = (
280 | DD1491BC143D86AB0093C0AA /* Debug */,
281 | DD1491BD143D86AB0093C0AA /* Release */,
282 | );
283 | defaultConfigurationIsVisible = 0;
284 | };
285 | /* End XCConfigurationList section */
286 | };
287 | rootObject = DD149191143D86AA0093C0AA /* Project object */;
288 | }
289 |
--------------------------------------------------------------------------------
/UIActionSheetTry/en.lproj/MainWindow.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 1024
5 | 10D571
6 | 786
7 | 1038.29
8 | 460.00
9 |
10 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin
11 | 112
12 |
13 |
14 | YES
15 |
16 |
17 |
18 | YES
19 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin
20 |
21 |
22 | YES
23 |
24 | YES
25 |
26 |
27 | YES
28 |
29 |
30 |
31 | YES
32 |
33 | IBFilesOwner
34 | IBCocoaTouchFramework
35 |
36 |
37 | IBFirstResponder
38 | IBCocoaTouchFramework
39 |
40 |
41 | IBCocoaTouchFramework
42 |
43 |
44 | UIActionSheetTryViewController
45 |
46 |
47 | 1
48 |
49 | IBCocoaTouchFramework
50 | NO
51 |
52 |
53 |
54 | 292
55 | {320, 480}
56 |
57 | 1
58 | MSAxIDEAA
59 |
60 | NO
61 | NO
62 |
63 | IBCocoaTouchFramework
64 | YES
65 |
66 |
67 |
68 |
69 | YES
70 |
71 |
72 | delegate
73 |
74 |
75 |
76 | 4
77 |
78 |
79 |
80 | viewController
81 |
82 |
83 |
84 | 11
85 |
86 |
87 |
88 | window
89 |
90 |
91 |
92 | 14
93 |
94 |
95 |
96 |
97 | YES
98 |
99 | 0
100 |
101 |
102 |
103 |
104 |
105 | -1
106 |
107 |
108 | File's Owner
109 |
110 |
111 | 3
112 |
113 |
114 | UIActionSheetTry App Delegate
115 |
116 |
117 | -2
118 |
119 |
120 |
121 |
122 | 10
123 |
124 |
125 |
126 |
127 | 12
128 |
129 |
130 |
131 |
132 |
133 |
134 | YES
135 |
136 | YES
137 | -1.CustomClassName
138 | -2.CustomClassName
139 | 10.CustomClassName
140 | 10.IBEditorWindowLastContentRect
141 | 10.IBPluginDependency
142 | 12.IBEditorWindowLastContentRect
143 | 12.IBPluginDependency
144 | 3.CustomClassName
145 | 3.IBPluginDependency
146 |
147 |
148 | YES
149 | UIApplication
150 | UIResponder
151 | UIActionSheetTryViewController
152 | {{234, 376}, {320, 480}}
153 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin
154 | {{525, 346}, {320, 480}}
155 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin
156 | UIActionSheetTryAppDelegate
157 | com.apple.InterfaceBuilder.IBCocoaTouchPlugin
158 |
159 |
160 |
161 | YES
162 |
163 |
164 | YES
165 |
166 |
167 |
168 |
169 | YES
170 |
171 |
172 | YES
173 |
174 |
175 |
176 | 15
177 |
178 |
179 |
180 | YES
181 |
182 | UIWindow
183 | UIView
184 |
185 | IBUserSource
186 |
187 |
188 |
189 |
190 | UIActionSheetTryAppDelegate
191 | NSObject
192 |
193 | YES
194 |
195 | YES
196 | viewController
197 | window
198 |
199 |
200 | YES
201 | UIActionSheetTryViewController
202 | UIWindow
203 |
204 |
205 |
206 | YES
207 |
208 | YES
209 | viewController
210 | window
211 |
212 |
213 | YES
214 |
215 | viewController
216 | UIActionSheetTryViewController
217 |
218 |
219 | window
220 | UIWindow
221 |
222 |
223 |
224 |
225 | IBProjectSource
226 | UIActionSheetTryAppDelegate.h
227 |
228 |
229 |
230 | UIActionSheetTryAppDelegate
231 | NSObject
232 |
233 | IBUserSource
234 |
235 |
236 |
237 |
238 | UIActionSheetTryViewController
239 | UIViewController
240 |
241 | IBProjectSource
242 | UIActionSheetTryViewController.h
243 |
244 |
245 |
246 |
247 | YES
248 |
249 | NSObject
250 |
251 | IBFrameworkSource
252 | Foundation.framework/Headers/NSError.h
253 |
254 |
255 |
256 | NSObject
257 |
258 | IBFrameworkSource
259 | Foundation.framework/Headers/NSFileManager.h
260 |
261 |
262 |
263 | NSObject
264 |
265 | IBFrameworkSource
266 | Foundation.framework/Headers/NSKeyValueCoding.h
267 |
268 |
269 |
270 | NSObject
271 |
272 | IBFrameworkSource
273 | Foundation.framework/Headers/NSKeyValueObserving.h
274 |
275 |
276 |
277 | NSObject
278 |
279 | IBFrameworkSource
280 | Foundation.framework/Headers/NSKeyedArchiver.h
281 |
282 |
283 |
284 | NSObject
285 |
286 | IBFrameworkSource
287 | Foundation.framework/Headers/NSObject.h
288 |
289 |
290 |
291 | NSObject
292 |
293 | IBFrameworkSource
294 | Foundation.framework/Headers/NSRunLoop.h
295 |
296 |
297 |
298 | NSObject
299 |
300 | IBFrameworkSource
301 | Foundation.framework/Headers/NSThread.h
302 |
303 |
304 |
305 | NSObject
306 |
307 | IBFrameworkSource
308 | Foundation.framework/Headers/NSURL.h
309 |
310 |
311 |
312 | NSObject
313 |
314 | IBFrameworkSource
315 | Foundation.framework/Headers/NSURLConnection.h
316 |
317 |
318 |
319 | NSObject
320 |
321 | IBFrameworkSource
322 | UIKit.framework/Headers/UIAccessibility.h
323 |
324 |
325 |
326 | NSObject
327 |
328 | IBFrameworkSource
329 | UIKit.framework/Headers/UINibLoading.h
330 |
331 |
332 |
333 | NSObject
334 |
335 | IBFrameworkSource
336 | UIKit.framework/Headers/UIResponder.h
337 |
338 |
339 |
340 | UIApplication
341 | UIResponder
342 |
343 | IBFrameworkSource
344 | UIKit.framework/Headers/UIApplication.h
345 |
346 |
347 |
348 | UIResponder
349 | NSObject
350 |
351 |
352 |
353 | UISearchBar
354 | UIView
355 |
356 | IBFrameworkSource
357 | UIKit.framework/Headers/UISearchBar.h
358 |
359 |
360 |
361 | UISearchDisplayController
362 | NSObject
363 |
364 | IBFrameworkSource
365 | UIKit.framework/Headers/UISearchDisplayController.h
366 |
367 |
368 |
369 | UIView
370 |
371 | IBFrameworkSource
372 | UIKit.framework/Headers/UITextField.h
373 |
374 |
375 |
376 | UIView
377 | UIResponder
378 |
379 | IBFrameworkSource
380 | UIKit.framework/Headers/UIView.h
381 |
382 |
383 |
384 | UIViewController
385 |
386 | IBFrameworkSource
387 | UIKit.framework/Headers/UINavigationController.h
388 |
389 |
390 |
391 | UIViewController
392 |
393 | IBFrameworkSource
394 | UIKit.framework/Headers/UIPopoverController.h
395 |
396 |
397 |
398 | UIViewController
399 |
400 | IBFrameworkSource
401 | UIKit.framework/Headers/UISplitViewController.h
402 |
403 |
404 |
405 | UIViewController
406 |
407 | IBFrameworkSource
408 | UIKit.framework/Headers/UITabBarController.h
409 |
410 |
411 |
412 | UIViewController
413 | UIResponder
414 |
415 | IBFrameworkSource
416 | UIKit.framework/Headers/UIViewController.h
417 |
418 |
419 |
420 | UIWindow
421 | UIView
422 |
423 | IBFrameworkSource
424 | UIKit.framework/Headers/UIWindow.h
425 |
426 |
427 |
428 |
429 | 0
430 | IBCocoaTouchFramework
431 |
432 | com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS
433 |
434 |
435 |
436 | com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3
437 |
438 |
439 | YES
440 | UIActionSheetTry.xcodeproj
441 | 3
442 | 112
443 |
444 |
445 |
--------------------------------------------------------------------------------