摘要:
NSTimer与NSRunLoop的关系分析发表于2013 年 6 月 27 日由bluev |6 次浏览最近关于NSTimer和NSRunLoop的关系,做了一个小试验。代码地址:https://github.com/TianLibin/timerRunLoopTest.git代码运行效果如下图所示:本示例演示了四个定时器的效果以及界面操作对它们的影响。前两个定时器,是在子线程中启动的:- (void)subThread1{ @autoreleasepool { self.subThreadTimer1 = [NSTimer scheduledTimerWithTimeI... 阅读全文
posted @ 2013-06-28 16:28
yingkong1987
阅读(606)
评论(0)
推荐(0)