• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Time elapsed how-to ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Time elapsed how-to ?


  • Subject: Re: Time elapsed how-to ?
  • From: Francis bouchard <email@hidden>
  • Date: Mon, 13 May 2002 13:55:59 -0400

One of you suggested:
> startDate=[[NSDate date] retain];
>
> .....
>
> elapsedTime= - [startDate timeIntervalSinceNow];
>

Why the retain ?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Time elapsed how-to ?
      • From: Ondra Cada <email@hidden>
  • Prev by Date: NSSocketPortNameServer
  • Next by Date: Re: Create accessor methods quickly with BBEdit
  • Previous by thread: Re: Time elapsed how-to ?
  • Next by thread: Re: Time elapsed how-to ?
  • Index(es):
    • Date
    • Thread