ios - What is NSRunLoop? -
this question has answer here:
- understanding nsrunloop 4 answers
i have been reading documents run loop, still can not understand exactly. ios not open source, while nsrunloop
special ios/mac os x platform, real implementation inside?
if have kind of user interface, or other code needs listen events (like network ports), need run loop. every nsthread automatically gets own run loop, , have concern them directly. run loop in charge of creating , releasing autorelease pools.
for more information : what basic difference between nstimer, nstask, nsthread , nsrunloop?
Comments
Post a Comment