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: Andrea Salomoni <email@hidden>
- Date: Fri, 25 Nov 2005 10:36:57 +0100
Thank you,
return.... I can return inside an action?
And does return stop the execution?
thank you
Il giorno 25/nov/05, alle ore 10:27, j o a r ha scritto:
On 25 nov 2005, at 10.16, Andrea Salomoni wrote:
NSDate * myStartDate = [NSDate date];
Use this instead:
NSTimeInterval start = [NSDate timeIntervalSinceReferenceDate];
NSTimeInterval stop = [NSDate timeIntervalSinceReferenceDate];
I have two question: how to subtract two dates
NSTimeInterval diff = (stop - start );
and how exit from a function... exit is correct?
How about "return"?
j o a r
_______________________________________________
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