On 2009 Oct 23, at 08:37, Zephyroth Akash wrote:
[[NSRunLoop currentRunLoop] run];
I believe you need to read All About Run Loops...
http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/Multithreading/RunLoopManagement/RunLoopManagement.html#/
/apple_ref/doc/uid/10000057i-CH16-SW20
Ultimately, you'll end up with this loop which, the first time I saw
it, I thought was the strangest-looking piece of code I had ever seen...
while (!done && [[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode
beforeDate:[NSDate
distantFuture]]) {} ;
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com