ios - What is NSRunLoop? -


this question has answer here:

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

Popular posts from this blog

vb.net - Alternative to the T-SQL AS keyword -

php - MySQLi binding parameters in a prepared statement doesn't work unless inserted after "WHERE" -

ios - CFRelease causing crash in iPad application -