• 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: So Timers Retain Their Targets...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: So Timers Retain Their Targets...


  • Subject: Re: So Timers Retain Their Targets...
  • From: Gregory Weston <email@hidden>
  • Date: Sun, 8 May 2005 12:45:29 -0400

On May 8, 2005, at 9:24 AM, Seth Willits wrote:

Why do timers retain their targets?

So they know they have something to which a message can be sent instead of a stale pointer.


It's not documented (as far as I
could find) but it's obviously happening.

It's implied fairly strongly in the NSTimer docs:

"The receiver releases its references to the target and userInfo objects at the point of invalidation."

G
_______________________________________________
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


  • Prev by Date: Re: Using AWT in Cocoa-Java app
  • Next by Date: [NSInternalConsistencyException] Setting a drawer's new content view under Tiger
  • Previous by thread: So Timers Retain Their Targets...
  • Next by thread: Another relationship problem
  • Index(es):
    • Date
    • Thread