• 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: Crash when using [NSTimer fire]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash when using [NSTimer fire]


  • Subject: Re: Crash when using [NSTimer fire]
  • From: Gwynne <email@hidden>
  • Date: Fri, 19 Nov 2004 12:55:10 -0500

On Nov 19, 2004, at 12:39 PM, Shawn Erickson wrote:
Why are using using a timer that way? I don't follow how a timer of 5 years is useful...

Guessing at what you are attempting to do... consider using an NSConditionLock or some such thing if you are trying to gate something from running, etc.

It's not always used that way. The timer has a variable interval. The 5-year interval is used when the associated UI object has been disabled so that I don't have to keep checking whether or not the timer exists. It's a convenience.


-- Gwynne, key to the Code that runs us all
Email: email@hidden
Web: http://musicimage.plasticchicken.com/

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

  • Follow-Ups:
    • Re: Crash when using [NSTimer fire]
      • From: "John C. Randolph" <email@hidden>
    • Re: Crash when using [NSTimer fire]
      • From: Shawn Erickson <email@hidden>
References: 
 >Crash when using [NSTimer fire] (From: Gwynne <email@hidden>)
 >Re: Crash when using [NSTimer fire] (From: Shawn Erickson <email@hidden>)

  • Prev by Date: Re: Crash when using [NSTimer fire]
  • Next by Date: building a menu at run-time and enabling the items
  • Previous by thread: Re: Crash when using [NSTimer fire]
  • Next by thread: Re: Crash when using [NSTimer fire]
  • Index(es):
    • Date
    • Thread