资源简介
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个文件信息
相关资源
- IOS城市选择器带省市区id
-
TMS320F28335 DSP28xxx_Section
copy_nonBIOS.a - 讯景XFX580 8G BIOS
- 基于VHDL语言的贪吃蛇设计
- A8N-VM 刷bios(含工程师版的AFUDOS-可刷
- 贪吃蛇-汇编语言开发
- vega64公版风冷BIOS
- iOS6.1、6.1.2和6.1.3伪激活文件
- cocos2d搓牌-lua代码(完美运行安卓和
- iOS开发指南 从Hello World到App Store上架
- 可配置式GPIO模拟SPI总线方法的设计与
- iOS蓝牙连接多台设备
- labview写的贪吃蛇游戏
- 讯景xfx rx470P 原卡备份BIOS
- stm32贪吃蛇游戏程序原子开发板上写的
- 微信小程序贪吃蛇
- SHSH修改工具
- iOS 购物-个人中心 界面 源代码
- 各种主板BIOS 启动项 快速设置
- IOS 简单的计算器Demo
- 联想扬天M2622N刷BIOS程序内附独家超级
- 贪吃蛇程序课程设计报告
- AMI BIOS修改工具+LOGO+8139 8163 8167 8168
- 联机贪吃蛇
- webRTC_ios.zip
- 讯景战狼4G美光显存可用BIOS合集.zip
- IOS上实现的自定义仪表盘可以用来做
- 联想G31主板BIOS
- opengl下的贪吃蛇
- ThinkPad笔记本刷BIOS免电池补丁
评论
共有 条评论