Hi,
for some teaching reasons I have a document class, which observes a
notification. Of course I have to unobserve this notification, when
the document is closed. Doing this in -dealloc is no good design
(fuunctional overhead in -dealloc, garbage collection …).
But I read in the documentation, that -close (myDocument) wouldn't be
called in some situations. Is there a save place to unobserve
notifications? (Or providing other clean-up.) I couldn't find a hint
in the documentation!?
Cheers
Amin Negm-Awad
[EMAIL PROTECTED]
_______________________________________________
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]