On 25/02/2008, at 12:30 PM, Quincey Morris wrote:

Do we know if KVO observing keeps weak references to observed objects (and observers too, for that matter, but I'm mostly interested in observed objects atm) in a GC-only application?

No, you need to make sure you call -removeObserver:forKeyPath: at some point. For custom views I usually do this in -removeFromSuperView but if necessary you could put it in a -finalize block.

--
Rob Keniger
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to