54

苹果开发中文网站iOS RunLoop 总结以及相关面试题解答

 5 years ago
source link: http://www.cocoachina.com/ios/20190115/26135.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Runloop是事件接收和分发机制的一个实现。是线程相关的基础框架的一部分。一个Runloop就是一个事件处理的循环,用来不停的调度工作及处理输入事件。使用runloop的目的就是让你的线程

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK