• 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
CancelPerformSelectorsWithTarget not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CancelPerformSelectorsWithTarget not working


  • Subject: CancelPerformSelectorsWithTarget not working
  • From: John Timmer <email@hidden>
  • Date: Sun, 23 Nov 2003 16:51:05 -0500

Okay, my latest problem. I've got a couple of methods on timers running
using NSObject's performSelector:withObject:afterDelay: I'd like to reset
the timer's when a machine goes to sleep, and reset them when it wakes. I'm
trying to use NSRunLoop's cancelPerformSelectorsWithTarget:, but the method
that's called on the timer winds up still being called. Am I doing
something wrong?

JT
_______________________________________________
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.

References: 
 >Leaking NSCFStrings (From: John Timmer <email@hidden>)

  • Prev by Date: Re: Search icon (magnifying glass) in search field
  • Next by Date: selection -> object
  • Previous by thread: Leaking NSCFStrings
  • Next by thread: Re: Where to set default user defaults?
  • Index(es):
    • Date
    • Thread