• 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
Singleton and NSTimer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Singleton and NSTimer


  • Subject: Singleton and NSTimer
  • From: Brad Peterson <email@hidden>
  • Date: Wed, 6 Jul 2005 14:59:29 -0700 (PDT)

Hi all,

I have a singleton object which, in its init method,
creates a timer:

[ NSTimer timerWithTimeInterval: 4 target: self
selector: @selector(timedPurge) userInfo: nil repeats:
YES ];

While I can tell that the timer is created, it never
seems to fire.

Is this some limitation I'm otherwise unaware of?

Thanks!



__________________________________
Yahoo! Mail for Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail
 _______________________________________________
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: Singleton and NSTimer
      • From: Zach Wily <email@hidden>
    • Re: Singleton and NSTimer
      • From: Dave Hersey <email@hidden>
  • Prev by Date: Re: Variadic arguments & private log file
  • Next by Date: Re: NSUserDefaultsController and NSTextField
  • Previous by thread: Re: Simulate Photoshop's "Overlay" compositing method
  • Next by thread: Re: Singleton and NSTimer
  • Index(es):
    • Date
    • Thread