Re: So Timers Retain Their Targets...
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