Re: newbie memory question
Re: newbie memory question
- Subject: Re: newbie memory question
- From: mmalcolm crawford <email@hidden>
- Date: Sun, 30 Nov 2003 20:25:35 -0800
On Nov 30, 2003, at 7:36 PM, David Trevas wrote:
Don't forget that "retain" is the other command that requires a
matching release or autorelease.
See Don Yacktman's fine article on Cocoa memory management
http://www.stepwise.com/Articles/Technical/HoldMe.html
There are numerous articles which mention this explicitly, all listed
in Alastair's FAQ (which itself covers the subject).
The self-serving bit:
Very simple rules for memory management in Cocoa - mmalcolm crawford
<
http://www.stepwise.com/Articles/Technical/2001-03-11.01.html>
Then also:
Hold Me, Use Me, Free Me - Don Yacktman
<
http://www.stepwise.com/Articles/Technical/HoldMe.html>
Memory Management 101 - Erik Barzeski
http://cocoadevcentral.com/articles/000055.php
Memory Management in Objective-C - Michael Beam
<
http://www.macdevcenter.com/pub/a/mac/2001/07/27/cocoa.html>
and, of course,
Introduction to Memory Management - Apple Computer
<
http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/
MemoryMgmt.html>
You might also consider:
(Again self-seving, but IMHO important)
Accessor methods revisited - mmalcolm crawford
<
http://www.stepwise.com/Articles/Technical/2002-06-11.01.html>
and
Conventions: What's in a name? - Erik Buck
<
http://www.stepwise.com/Articles/Technical/2002-10-13.01.html>
I'm sure there are others...
mmalc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.