Runloop 概述1、与下面知识相关:系统级:GCD,mach kernel,block,pthread应用层:NSTimer,UIEvent,自动释放池,NSObject(NSDelayedPerforming),NSObject(NSThreadPerformAddition),CADisplayLink,CATransition,CAAnimation,dispatch_get_main_...
分类:
其他好文 时间:
2016-06-30 12:55:34
阅读次数:
490
Linux系统中top命令是交互式命令,故脚本中执行时会卡住,不再执行下一个命令。 Linux系统中top命令是交互式命令,故脚本中执行时会卡住,不再执行下一个命令。 Linux系统中top命令是交互式命令,故脚本中执行时会卡住,不再执行下一个命令。 解决办法是:top -n 1。 命令使用详解: ...
分类:
其他好文 时间:
2016-06-25 23:08:34
阅读次数:
177
原文网址:http://blog.csdn.net/enuola/article/details/8099461 调用一次计时器方法: [cpp] view plain copy myTimer = [NSTimer scheduledTimerWithTimeInterval:1.5 target ...
分类:
移动开发 时间:
2016-06-21 22:27:47
阅读次数:
219
原文网址:http://my.oschina.net/u/2340880/blog/398598 NSTimer在IOS开发中会经常用到,尤其是小型游戏,然而对于初学者时常会注意不到其中的内存释放问题,将其基本用法总结如下: 一、初始化方法:有五种初始化方法,分别是 + (NSTimer *)tim ...
分类:
移动开发 时间:
2016-06-21 22:23:34
阅读次数:
187
原文网址:http://www.cnblogs.com/zhulin/archive/2012/02/02/2335866.html 1、初始化 + (NSTimer *)timerWithTimeInterval:(NSTimeInterval)ti target:(id)aTarget sele ...
分类:
移动开发 时间:
2016-06-21 22:21:01
阅读次数:
219
原文网址:http://blog.csdn.net/tangshoulin/article/details/7644124 1、初始化 + (NSTimer *)timerWithTimeInterval:(NSTimeInterval)ti target:(id)aTarget selector: ...
分类:
移动开发 时间:
2016-06-21 22:12:46
阅读次数:
262
1NSString+YYAdd 2NSNumber+YYAdd 3.NSArray+YYAdd 4.NSTimer+YYAdd 5.NSNotificationCenter+YYAdd 6UIImage+YYAdd 7.UIControl+YYAdd 8.UIBarButtonItem+YYAdd ...
分类:
其他好文 时间:
2016-06-20 06:52:06
阅读次数:
847
基础知识 作用 保持程序持续运行 处理app中的各种事件(如触摸事件、定时器事件【NSTimer】、selector事件【选择器·performSelector···】) 节省CPU资源,提高程序性能 说明 没有RunLoop,那么程序一启动就会退出 有了Runoop,那么相当于在内部有一个死循环, ...
分类:
其他好文 时间:
2016-06-18 18:37:48
阅读次数:
256
在win7中安装visual c++ 2015 redistributable x64 时会卡住,原因是visual c++ 2015 redistributable x64 需要KB2999226,Wusa.exe(Windows System Console Application,Window ...
分类:
编程语言 时间:
2016-06-13 22:03:20
阅读次数:
870
confluence安装其实不难难得是如何进行数据迁移的还原。而且数据的还原也是需要一定的运气,你也不知道什么地方卡住了,操作是一样的!=============================前提条件:jdk必须1.7以上MySQL5.5以上8090端口没有被占用=========================创建数据库CREATEDATABAS..
分类:
其他好文 时间:
2016-06-10 15:02:42
阅读次数:
2605