文件名称:Cocos2d
介绍说明--下载内容均来自于网络,请自行研究使用
Cocos2d开发---NSTimer定时器的用法 cocos2d开发中如何使用NSTimer定时器.
NSTimer是Cocoa中常用的定时器类,简单介绍下NSTimer的用法如下:
todo是我们自定义方法。创建timer,每隔1秒执行一次todo方法,如果只要执行一次的话,把repeats:NO-Cocos2d development--- NSTimer cocos2d development of the use of timers how to use NSTimer timer. NSTimer is commonly used in timers Cocoa class, brief introduction NSTimer used as follows: todo is our custom methods. Create a timer, every 1 second to perform a todo way, if you just run again, the repeats: NO
NSTimer是Cocoa中常用的定时器类,简单介绍下NSTimer的用法如下:
todo是我们自定义方法。创建timer,每隔1秒执行一次todo方法,如果只要执行一次的话,把repeats:NO-Cocos2d development--- NSTimer cocos2d development of the use of timers how to use NSTimer timer. NSTimer is commonly used in timers Cocoa class, brief introduction NSTimer used as follows: todo is our custom methods. Create a timer, every 1 second to perform a todo way, if you just run again, the repeats: NO
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Cocos2d开发---NSTimer定时器的用法.txt