Re: retrieve a milliseconds interval with obj-C
Re: retrieve a milliseconds interval with obj-C
- Subject: Re: retrieve a milliseconds interval with obj-C
- From: Marco Scheurer <email@hidden>
- Date: Fri, 25 Nov 2005 13:13:03 +0100
On Nov 25, 2005, at 10:36 AM, Andrea Salomoni wrote:
Thank you,
return.... I can return inside an action?
And does return stop the execution?
Yes, but the code you posted is probably not what you want. Try:
[[NSRunLoop currentRunLoop] runUntilDate:[NSDate
dateWithTimeIntervalSinceNow:10.0]];
instead of your while loop.
Marco Scheurer
Sen:te, Lausanne, Switzerland http://www.sente.ch
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden