资源简介
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个文件信息
相关资源
- AXURE移动端素材元件库68580
- 联想H61主板BIOS升级F9KT58AUS支持22NM.i
- 贪吃蛇源代码.fla
- Lenovo Z460 SLIC2.1 LENOVO-29CN38WW(V2.15)
- 联想G400G500G490BIOS
- ASUS BIOS 加NVME协议文件: Nvme.ffs NV
- Phoenix BIOS Editor.rar
- HP笔记本BIOS丢失解决方法,DMI TOOLK
- Y450 BIOS白名单
- 贪吃蛇游戏设计(汇编语言)
- BIOS修改工具DMI236
- 联想F40/F41bios3.13版
- 联想启天M4350 BIOS升级文件
- 详细图解联想Y430\\Y530笔记本SLIC表2.
- 联想g460 bios 29CN38WW(V2.15)
- G460 2.15 x64 bios
- 三星通用bios更新程序
- rx560bios合集-注意显存颗粒及供电
- 联想K29最新1.70BIOS修改版,去白名单验
- 联想刷bios‘工具
- Scratch 贪吃蛇 素材及代码
- Scratch 贪吃蛇 小游戏源码
- Scratch 好玩的贪吃蛇1.0
- Scratch 贪吃蛇.sb3 小游戏源码
- 解决Y470/Y570更新2.12BIOS后无法识别8G内
- 黑苹果—盈通 R6770-1024GD5 TA 经典版
- 华硕P8H61/USB3 R2.0主板BIOS驱动 免费版
- 映泰Biostar TA870网
- asus华硕 m5a97 le r2.0主板bios 官方版
- 华硕ASUS K42JZ BIOS主板驱动程序 v9.1.1
评论
共有 条评论