资源简介
读了别人写的,没看懂。看了一个swift的2048开发,自己能力没有看懂,相信也有同学和我一样,自己就试着用自己的思想写了一套纯oc开发的2048,(时间较紧,写得还很粗糙,还有缺憾,望见谅)供大家借鉴,交流,提前祝大家新年快乐~~!!

代码片段和文件信息
//
// AppDelegate.m
// Game2048
//
// Created by CSX on 2017/1/12.
// Copyright © 2017年 宗盛商业. All rights reserved.
//
#import “AppDelegate.h“
#import “ViewController.h“
@interface AppDelegate ()
@end
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.
UIStoryboard *main = [UIStoryboard storyboardWithName:@“Main“ bundle:nil];
UIViewController *viewVC = [main instantiateInitialViewController];
UINavigationController *nav = [[UINavigationController alloc]initWithRootViewController:viewVC];
self.window.rootViewController = nav;
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 invalidate graphics rendering callbacks. 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 active 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 2017-01-12 17:58 Game2048\
文件 6148 2017-01-16 17:41 Game2048\.DS_Store
目录 0 2017-01-16 17:43 __MACOSX\
目录 0 2017-01-16 17:43 __MACOSX\Game2048\
文件 120 2017-01-16 17:41 __MACOSX\Game2048\._.DS_Store
目录 0 2017-01-16 17:29 Game2048\.git\
文件 15 2017-01-12 17:52 Game2048\.git\COMMIT_EDITMSG
文件 137 2017-01-12 17:52 Game2048\.git\config
文件 73 2017-01-12 17:52 Game2048\.git\desc
文件 23 2017-01-12 17:52 Game2048\.git\HEAD
目录 0 2017-01-12 17:52 Game2048\.git\hooks\
文件 177 2017-01-12 17:52 Game2048\.git\hooks\README.sample
文件 3565 2017-01-16 17:29 Game2048\.git\index
目录 0 2017-01-12 17:52 Game2048\.git\info\
文件 40 2017-01-12 17:52 Game2048\.git\info\exclude
目录 0 2017-01-16 17:43 __MACOSX\Game2048\.git\
目录 0 2017-01-16 17:43 __MACOSX\Game2048\.git\info\
文件 171 2017-01-12 17:52 __MACOSX\Game2048\.git\info\._exclude
目录 0 2017-01-12 17:52 Game2048\.git\logs\
文件 165 2017-01-12 17:52 Game2048\.git\logs\HEAD
目录 0 2017-01-12 17:52 Game2048\.git\logs\refs\
目录 0 2017-01-12 17:52 Game2048\.git\logs\refs\heads\
文件 165 2017-01-12 17:52 Game2048\.git\logs\refs\heads\master
目录 0 2017-01-16 17:29 Game2048\.git\ob
目录 0 2017-01-12 17:52 Game2048\.git\ob
文件 68 2017-01-12 17:52 Game2048\.git\ob
目录 0 2017-01-12 17:52 Game2048\.git\ob
文件 3684 2017-01-12 17:52 Game2048\.git\ob
目录 0 2017-01-12 18:01 Game2048\.git\ob
文件 177 2017-01-12 18:01 Game2048\.git\ob
目录 0 2017-01-12 17:59 Game2048\.git\ob
............此处省略173个文件信息
相关资源
- 找不同FLASH游戏源码
- js 迷宫小游戏源码
- 猫抓老鼠scratch游戏源码(.sb2)
- Scratch 碰球游戏源码(弹球游戏.sb3)
- Scratch 走迷宫 小游戏源码
- Scratch 青蛙过马路 小游戏源码(.sb2)
- Scratch 贪吃蛇 小游戏源码
- Scratch 打地鼠 小游戏源码
- Scratch 贪吃蛇.sb3 小游戏源码
- Scratch 用盆子接水果 小游戏源码(c
- Scratch 地狱边境(小游戏源码).sb2
- scratch 赛车游戏源码.sb2
- Scratch Tank 小游戏源码.sb2
- 很久以前的MUD游戏源码和mudos
- 易语言文字打怪游戏源码
- 易语言海战小游戏源码
- 易语言猜拳游戏客户端源码易语言猜
- 齐齐哈尔麻将游戏源码
- 40款微信H5小程序合集+源码
- 24个scratch游戏源码
- 炸弹人(QQ堂)游戏源码
- unity3D暴力街区射击大战游戏源码
- unity切水果插件+切水果游戏源码
- unity5 FPS 3D射击游戏源码
- unity音乐节奏休闲游戏源码类似节奏大
- 5个unity游戏源码
- 易语言超级王大炮游戏源码
- 绝地求生端游压枪辅助
- 斗地主源码
- 三个安卓小游戏源码.rar
评论
共有 条评论