On Jul 27, 2008, at 7:36 PM, James Maxwell wrote:

Stupid question, probably, but if an object is deleted, is it automatically removed as an observer of notifications? Or should I write a removeObserver into my dealloc?


If you're talking about NSNotification/Center, then the answer is: "It depends". If you're using GC, you wouldn't have to remove the observer. If you're not using GC, you would.

j o a r


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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