Re: Should I override close to free my document's data?
Re: Should I override close to free my document's data?
- Subject: Re: Should I override close to free my document's data?
- From: Nick Zitzmann <email@hidden>
- Date: Mon, 24 Jan 2005 07:37:36 -0700
On Jan 24, 2005, at 5:52 AM, Magnus Strand wrote:
I have a NSMutableArray in my subclass of NSDocument.
Should I override NSDocument's close method to free my document's data?
No; you should do that in the -dealloc method instead.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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