資源簡介
xcode編寫的一個iphone的計算器,模擬iphone上的計算器

代碼片段和文件信息
//
//??hylAppDelegate.m
//??Calculator2
//
//??Created?by??on?12-2-4.
//??Copyright?(c)?2012年?__MyCompanyName__.?All?rights?reserved.
//
#import?“hylAppDelegate.h“
#import?“hylViewController.h“
@implementation?hylAppDelegate
@synthesize?window?=?_window;
@synthesize?viewController?=?_viewController;
-?(void)dealloc
{
????[_window?release];
????[_viewController?release];
????
????[super?dealloc];
}
-?(BOOL)application:(UIApplication?*)application?didFinishLaunchingWithOptions:(NSDictionary?*)launchOptions
{
????self.window?=?[[[UIWindow?alloc]?initWithframe:[[UIScreen?mainScreen]?bounds]]?autorelease];
????//?Override?point?for?customization?after?application?launch.
????self.viewController?=?[[[hylViewController?alloc]?initWithNibName:@“hylViewController“?bundle:nil]?autorelease];
????self.window.rootViewController?=?self.viewController;
????[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??2012-02-04?16:53??Calculator2\
?????目錄???????????0??2012-02-09?11:38??Calculator2\.git\
?????目錄???????????0??2012-02-04?16:53??Calculator2\.git\branches\
?????文件??????????15??2012-02-04?16:53??Calculator2\.git\COMMIT_EDITMSG
?????文件?????????111??2012-02-04?16:53??Calculator2\.git\config
?????文件??????????73??2012-02-04?16:53??Calculator2\.git\desc
?????文件??????????23??2012-02-04?16:53??Calculator2\.git\HEAD
?????目錄???????????0??2012-02-04?16:53??Calculator2\.git\hooks\
?????文件?????????452??2012-02-04?16:53??Calculator2\.git\hooks\applypatch-msg.sample
?????文件?????????896??2012-02-04?16:53??Calculator2\.git\hooks\commit-msg.sample
?????文件?????????160??2012-02-04?16:53??Calculator2\.git\hooks\post-commit.sample
?????文件?????????552??2012-02-04?16:53??Calculator2\.git\hooks\post-receive.sample
?????文件?????????189??2012-02-04?16:53??Calculator2\.git\hooks\post-update.sample
?????文件?????????398??2012-02-04?16:53??Calculator2\.git\hooks\pre-applypatch.sample
?????文件????????1578??2012-02-04?16:53??Calculator2\.git\hooks\pre-commit.sample
?????文件????????4951??2012-02-04?16:53??Calculator2\.git\hooks\pre-reba
?????文件????????1239??2012-02-04?16:53??Calculator2\.git\hooks\prepare-commit-msg.sample
?????文件????????3611??2012-02-04?16:53??Calculator2\.git\hooks\update.sample
?????文件????????1032??2012-02-04?16:53??Calculator2\.git\index
?????目錄???????????0??2012-02-04?16:53??Calculator2\.git\info\
?????文件??????????35??2012-02-04?16:53??Calculator2\.git\info\exclude
?????目錄???????????0??2012-07-11?08:58??__MACOSX\
?????目錄???????????0??2012-07-11?08:58??__MACOSX\Calculator2\
?????目錄???????????0??2012-07-11?08:58??__MACOSX\Calculator2\.git\
?????目錄???????????0??2012-07-11?08:58??__MACOSX\Calculator2\.git\info\
?????文件?????????171??2012-02-04?16:53??__MACOSX\Calculator2\.git\info\._exclude
?????目錄???????????0??2012-02-04?16:53??Calculator2\.git\logs\
?????文件?????????170??2012-02-04?16:53??Calculator2\.git\logs\HEAD
?????目錄???????????0??2012-02-04?16:53??Calculator2\.git\logs\refs\
?????目錄???????????0??2012-02-04?16:53??Calculator2\.git\logs\refs\heads\
?????文件?????????170??2012-02-04?16:53??Calculator2\.git\logs\refs\heads\master
............此處省略71個文件信息
- 上一篇:FPGA實現MPSK解調
- 下一篇:使用modbus4j獲取數據的源代碼
評論
共有 條評論