V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
byljbdh
V2EX  ›  iDev

iOS 的 runloop 与 UI 事件的关系是什么

  •  1
     
  •   byljbdh · Oct 15, 2015 · 2033 views
    This topic created in 3852 days ago, the information mentioned may be changed or developed.

    一个 runloop 对应一个线程,这是大家都知道的,可是看到一段话,解释一个 runloop 结束,当前的栈顶 Autorelease pool 会被销毁, 而一个 UI 事件,timer call,delegate call,都会是一个新的 runloop. 如果 UI 事件发生在主线程, 那么会再创建一个新的 runloop?

    最近在学习 runloop,有好多地方不太理解,望大神指点.

    byljbdh
        1
    byljbdh  
    OP
       Oct 15, 2015 via iPhone
    自己顶一下
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2401 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 02:09 · PVG 10:09 · LAX 19:09 · JFK 22:09
    ♥ Do have faith in what you're doing.