資源簡介
(修改版)修復打開崩潰問題
計算器 學習UI的第二天寫的 主要通過字符串分解計算 簡單實現功能 。 可以處理括號,加減乘除,負數和簡單浮點數

代碼片段和文件信息
//
//??CXHAppDelegate.m
//??計算器
//
//??Created?by?ChengXiangHe?on?14-12-7.
//??Copyright?(c)?2014年?cn.?All?rights?reserved.
//
#import?“CXHAppDelegate.h“
#import?“CXHViewController.h“
@interface?CXHAppDelegate?()
@end
@implementation?CXHAppDelegate
-?(BOOL)application:(UIApplication?*)application?didFinishLaunchingWithOptions:(NSDictionary?*)launchOptions
{
????self.window?=?[[UIWindow?alloc]?initWithframe:[[UIScreen?mainScreen]?bounds]];
????//?Override?point?for?customization?after?application?launch.
????self.window.backgroundColor?=?[UIColor?whiteColor];
????self.window.rootViewController?=?[[CXHViewController?alloc]?init];
????
?????
????[self.window?makeKeyAndVisible];
????return?YES;
}
-?(void)applicationWillResignActive:(UIApplication?*)application
{
????//?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.
????//?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.
}
-?(void)applicationDidEnterBackground:(UIApplication?*)application
{
????//?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.?
????//?If?your?application?supports?background?execution?this?method?is?called?instead?of?applicationWillTerminate:?when?the?user?quits.
}
-?(void)applicationWillEnterForeground:(UIApplication?*)application
{
????//?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.
}
-?(void)applicationDidBecomeActive:(UIApplication?*)application
{
????//?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.
}
-?(void)applicationWillTerminate:(UIApplication?*)application
{
????//?Called?when?the?application?is?about?to?terminate.?Save?data?if?appropriate.?See?also?applicationDidEnterBackground:.
}
@end
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????????0??2016-06-03?11:24??UIDay2璁$畻鍣?
?????文件????????6148??2016-06-03?11:24??UIDay2璁$畻鍣?.DS_Store
?????目錄???????????0??2016-06-03?11:24??__MACOSX\
?????文件???????????0??2016-06-03?11:24??__MACOSX\UIDay2璁$畻鍣?
?????文件?????????223??2016-06-03?11:24??__MACOSX\UIDay2璁$畻鍣?._.DS_Store
?????文件???????????0??2016-06-03?11:24??UIDay2璁$畻鍣?璁$畻鍣?
?????文件?????????280??2016-06-03?11:23??UIDay2璁$畻鍣?璁$畻鍣?CXHAppDelegate.h
?????文件???????????0??2016-06-03?11:24??__MACOSX\UIDay2璁$畻鍣?璁$畻鍣?
?????文件?????????171??2016-06-03?11:23??__MACOSX\UIDay2璁$畻鍣?璁$畻鍣?._CXHAppDelegate.h
?????文件????????2333??2016-06-03?11:23??UIDay2璁$畻鍣?璁$畻鍣?CXHAppDelegate.m
?????文件?????????171??2016-06-03?11:23??__MACOSX\UIDay2璁$畻鍣?璁$畻鍣?._CXHAppDelegate.m
?????文件?????????216??2016-06-03?11:23??UIDay2璁$畻鍣?璁$畻鍣?CXHViewController.h
?????文件?????????171??2016-06-03?11:23??__MACOSX\UIDay2璁$畻鍣?璁$畻鍣?._CXHViewController.h
?????文件???????10923??2016-06-03?11:23??UIDay2璁$畻鍣?璁$畻鍣?CXHViewController.m
?????文件?????????171??2016-06-03?11:23??__MACOSX\UIDay2璁$畻鍣?璁$畻鍣?._CXHViewController.m
?????目錄???????????0??2014-12-08?22:37??UIDay2璁$畻鍣?璁$畻鍣?en.lproj\
?????文件??????????45??2014-12-07?20:16??UIDay2璁$畻鍣?璁$畻鍣?en.lproj\InfoPlist.strings
?????目錄???????????0??2016-06-03?11:24??__MACOSX\UIDay2璁$畻鍣?璁$畻鍣?en.lproj\
?????文件?????????223??2014-12-07?20:16??__MACOSX\UIDay2璁$畻鍣?璁$畻鍣?en.lproj\._InfoPlist.strings
?????文件?????????223??2014-12-08?22:37??__MACOSX\UIDay2璁$畻鍣?璁$畻鍣?._en.lproj
?????文件???????10586??2010-11-19?10:38??UIDay2璁$畻鍣?璁$畻鍣?header.png
?????文件?????????223??2010-11-19?10:38??__MACOSX\UIDay2璁$畻鍣?璁$畻鍣?._header.png
?????目錄???????????0??2016-06-03?11:24??UIDay2璁$畻鍣?璁$畻鍣?Images.xcassets\
?????目錄???????????0??2014-12-08?22:37??UIDay2璁$畻鍣?璁$畻鍣?Images.xcassets\AppIcon.appiconset\
?????文件?????????333??2014-12-07?20:16??UIDay2璁$畻鍣?璁$畻鍣?Images.xcassets\AppIcon.appiconset\Contents.json
?????目錄???????????0??2016-06-03?11:24??__MACOSX\UIDay2璁$畻鍣?璁$畻鍣?Images.xcassets\
?????目錄???????????0??2016-06-03?11:24??__MACOSX\UIDay2璁$畻鍣?璁$畻鍣?Images.xcassets\AppIcon.appiconset\
?????文件?????????223??2014-12-07?20:16??__MACOSX\UIDay2璁$畻鍣?璁$畻鍣?Images.xcassets\AppIcon.appiconset\._Contents.json
?????文件?????????223??2014-12-08?22:37??__MACOSX\UIDay2璁$畻鍣?璁$畻鍣?Images.xcassets\._AppIcon.appiconset
?????目錄???????????0??2014-12-08?22:37??UIDay2璁$畻鍣?璁$畻鍣?Images.xcassets\LaunchImage.launchimage\
?????文件?????????442??2014-12-07?20:16??UIDay2璁$畻鍣?璁$畻鍣?Images.xcassets\LaunchImage.launchimage\Contents.json
............此處省略74個文件信息
- 上一篇:家庭理財管理系統課程設計
- 下一篇:徐小湛.txt
評論
共有 條評論