資源簡介
用OC編寫的計算機小程序,實現(xiàn)了加減乘除等等,清零,刪除等功能

代碼片段和文件信息
//
//??AppDelegate.m
//??UI_Homework1_Computer
//
//??Created?by?姜鑫?on?14-6-7.
//??Copyright?(c)?2014年?l@yout.com?雷鷗科技.?All?rights?reserved.
//
#import?“AppDelegate.h“
#import?“MainViewController.h“
@implementation?AppDelegate
-?(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?makeKeyAndVisible];
????MainViewController?*mainVC?=?[[MainViewController?alloc]init];
????self.window.rootViewController?=?mainVC;
????
????[mainVC?release];
????[_window?release];
????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??2014-06-08?12:46??UI_Homework1_Computer\
?????文件????????6148??2014-06-09?23:39??UI_Homework1_Computer\.DS_Store
?????目錄???????????0??2014-06-19?22:45??__MACOSX\
?????目錄???????????0??2014-06-19?22:45??__MACOSX\UI_Homework1_Computer\
?????文件?????????120??2014-06-09?23:39??__MACOSX\UI_Homework1_Computer\._.DS_Store
?????目錄???????????0??2014-06-12?23:26??UI_Homework1_Computer\UI_Homework1_Computer\
?????文件?????????300??2014-06-07?14:00??UI_Homework1_Computer\UI_Homework1_Computer\AppDelegate.h
?????目錄???????????0??2014-06-19?22:45??__MACOSX\UI_Homework1_Computer\UI_Homework1_Computer\
?????文件?????????171??2014-06-07?14:00??__MACOSX\UI_Homework1_Computer\UI_Homework1_Computer\._AppDelegate.h
?????文件????????2391??2014-06-07?14:46??UI_Homework1_Computer\UI_Homework1_Computer\AppDelegate.m
?????文件?????????171??2014-06-07?14:46??__MACOSX\UI_Homework1_Computer\UI_Homework1_Computer\._AppDelegate.m
?????目錄???????????0??2014-06-07?14:00??UI_Homework1_Computer\UI_Homework1_Computer\en.lproj\
?????文件??????????45??2014-06-07?14:00??UI_Homework1_Computer\UI_Homework1_Computer\en.lproj\InfoPlist.strings
?????目錄???????????0??2014-06-19?22:45??__MACOSX\UI_Homework1_Computer\UI_Homework1_Computer\en.lproj\
?????文件?????????171??2014-06-07?14:00??__MACOSX\UI_Homework1_Computer\UI_Homework1_Computer\en.lproj\._InfoPlist.strings
?????目錄???????????0??2014-06-07?14:00??UI_Homework1_Computer\UI_Homework1_Computer\Images.xcassets\
?????目錄???????????0??2014-06-07?14:00??UI_Homework1_Computer\UI_Homework1_Computer\Images.xcassets\AppIcon.appiconset\
?????文件?????????333??2014-06-07?14:00??UI_Homework1_Computer\UI_Homework1_Computer\Images.xcassets\AppIcon.appiconset\Contents.json
?????目錄???????????0??2014-06-19?22:45??__MACOSX\UI_Homework1_Computer\UI_Homework1_Computer\Images.xcassets\
?????目錄???????????0??2014-06-19?22:45??__MACOSX\UI_Homework1_Computer\UI_Homework1_Computer\Images.xcassets\AppIcon.appiconset\
?????文件?????????171??2014-06-07?14:00??__MACOSX\UI_Homework1_Computer\UI_Homework1_Computer\Images.xcassets\AppIcon.appiconset\._Contents.json
?????目錄???????????0??2014-06-07?14:00??UI_Homework1_Computer\UI_Homework1_Computer\Images.xcassets\LaunchImage.launchimage\
?????文件?????????442??2014-06-07?14:00??UI_Homework1_Computer\UI_Homework1_Computer\Images.xcassets\LaunchImage.launchimage\Contents.json
?????目錄???????????0??2014-06-19?22:45??__MACOSX\UI_Homework1_Computer\UI_Homework1_Computer\Images.xcassets\LaunchImage.launchimage\
?????文件?????????171??2014-06-07?14:00??__MACOSX\UI_Homework1_Computer\UI_Homework1_Computer\Images.xcassets\LaunchImage.launchimage\._Contents.json
?????文件?????????359??2014-06-07?16:56??UI_Homework1_Computer\UI_Homework1_Computer\main.m
?????文件?????????171??2014-06-07?16:56??__MACOSX\UI_Homework1_Computer\UI_Homework1_Computer\._main.m
?????文件?????????530??2014-06-12?23:26??UI_Homework1_Computer\UI_Homework1_Computer\MainViewController.h
?????文件?????????171??2014-06-12?23:26??__MACOSX\UI_Homework1_Computer\UI_Homework1_Computer\._MainViewController.h
?????文件???????13346??2014-06-12?23:26??UI_Homework1_Computer\UI_Homework1_Computer\MainViewController.m
?????文件?????????171??2014-06-12?23:26??__MACOSX\UI_Homework1_Computer\UI_Homework1_Computer\._MainViewController.m
............此處省略30個文件信息
評論
共有 條評論