Re: Newbie memory management question
Re: Newbie memory management question
- Subject: Re: Newbie memory management question
- From: Scott Stevenson <email@hidden>
- Date: Sun, 3 Oct 2004 22:26:35 -0700
On Oct 3, 2004, at 8:19 PM, Aaron Boothello wrote:
Now how do i free up the memory a superModel is taking up ?
do i write a '-(void) dealloc' in the superModel class definition and
then just do something like '[simpleModel[x] release]' or
'[simpleModel[x] dealloc]' (and then write a dealloc for the
simpleModels as well ?
Hi Aaron,
I think reading one of the memory management tutorials will probably
serve you better than getting answers to individual questions.
Understanding only parts of memory management will lead to odd behavior
or outright crashes.
http://cocoadevcentral.com/articles/000055.php
http://www.stepwise.com/Articles/Technical/2001-03-11.01.html
<
http://developer.apple.com/documentation/Cocoa/Conceptual/
CocoaObjects/Articles/ObjectCreation.html#//apple_ref/doc/uid/20002154/
1007165>
- Scott
--
http://treehouseideas.com/
http://theobroma.treehouseideas.com/ [blog]
_______________________________________________
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