91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 31KB
    文件類型: .zip
    金幣: 2
    下載: 1 次
    發布日期: 2021-06-08
  • 語言: 其他
  • 標簽: iOS??手游??貪吃蛇??

資源簡介

iOS貪吃蛇,iOS初級入門學習,簡單實現iOS功能,代碼簡單易懂。當初學習時練手用的,只是實現了簡單的移動,增加身子的功能。適合初學者

資源截圖

代碼片段和文件信息

//
//??AppDelegate.m
//??Snake
//
//??Created?by?LaoTao?on?14-2-28.
//??Copyright?(c)?2014年?LaoTao.?All?rights?reserved.
//

#import?“AppDelegate.h“
#import?“RootViewController.h“

@implementation?AppDelegate

-(void)dealloc?{
????[_window?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.
????RootViewController?*root?=?[[RootViewController?alloc]?init];
????self.window.rootViewController?=?root;
????[root?release];
????
????self.window.backgroundColor?=?[UIColor?whiteColor];
????[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??2014-03-03?14:59??Snake\
?????文件????????6148??2014-03-03?15:37??Snake\.DS_Store
?????目錄???????????0??2014-05-04?20:59??__MACOSX\
?????目錄???????????0??2014-05-04?20:59??__MACOSX\Snake\
?????文件?????????120??2014-03-03?15:37??__MACOSX\Snake\._.DS_Store
?????目錄???????????0??2014-03-01?09:57??Snake\Snake\
?????文件?????????268??2014-02-28?19:18??Snake\Snake\AppDelegate.h
?????目錄???????????0??2014-05-04?20:59??__MACOSX\Snake\Snake\
?????文件?????????171??2014-02-28?19:18??__MACOSX\Snake\Snake\._AppDelegate.h
?????文件????????2409??2014-02-28?19:22??Snake\Snake\AppDelegate.m
?????文件?????????171??2014-02-28?19:22??__MACOSX\Snake\Snake\._AppDelegate.m
?????目錄???????????0??2014-02-28?19:18??Snake\Snake\en.lproj\
?????文件??????????45??2014-02-28?19:18??Snake\Snake\en.lproj\InfoPlist.strings
?????目錄???????????0??2014-05-04?20:59??__MACOSX\Snake\Snake\en.lproj\
?????文件?????????171??2014-02-28?19:18??__MACOSX\Snake\Snake\en.lproj\._InfoPlist.strings
?????目錄???????????0??2014-02-28?19:18??Snake\Snake\Images.xcassets\
?????目錄???????????0??2014-02-28?19:18??Snake\Snake\Images.xcassets\AppIcon.appiconset\
?????文件?????????333??2014-02-28?19:18??Snake\Snake\Images.xcassets\AppIcon.appiconset\Contents.json
?????目錄???????????0??2014-05-04?20:59??__MACOSX\Snake\Snake\Images.xcassets\
?????目錄???????????0??2014-05-04?20:59??__MACOSX\Snake\Snake\Images.xcassets\AppIcon.appiconset\
?????文件?????????171??2014-02-28?19:18??__MACOSX\Snake\Snake\Images.xcassets\AppIcon.appiconset\._Contents.json
?????目錄???????????0??2014-02-28?19:18??Snake\Snake\Images.xcassets\LaunchImage.launchimage\
?????文件?????????442??2014-02-28?19:18??Snake\Snake\Images.xcassets\LaunchImage.launchimage\Contents.json
?????目錄???????????0??2014-05-04?20:59??__MACOSX\Snake\Snake\Images.xcassets\LaunchImage.launchimage\
?????文件?????????171??2014-02-28?19:18??__MACOSX\Snake\Snake\Images.xcassets\LaunchImage.launchimage\._Contents.json
?????文件?????????493??2014-02-28?20:11??Snake\Snake\LTCustom.h
?????文件?????????171??2014-02-28?20:11??__MACOSX\Snake\Snake\._LTCustom.h
?????文件?????????844??2014-03-01?09:25??Snake\Snake\LTCustom.m
?????文件?????????171??2014-03-01?09:25??__MACOSX\Snake\Snake\._LTCustom.m
?????文件?????????328??2014-02-28?19:18??Snake\Snake\main.m
?????文件?????????171??2014-02-28?19:18??__MACOSX\Snake\Snake\._main.m
............此處省略28個文件信息

評論

共有 條評論