Re: Some confusion on memory management
Re: Some confusion on memory management
- Subject: Re: Some confusion on memory management
- From: Scott Ellsworth <email@hidden>
- Date: Fri, 20 Jan 2006 11:11:10 -0800
On Jan 20, 2006, at 8:39 AM, Erik Buck wrote:
Accessorizer will even automate the creation of this code so that
you don't need to type it.
http://www.kevincallahan.org/software/accessorizer.html
I strongly, strongly recommend getting a copy of this and trying all
the options. When you know what each of them means, and what the
performance, readability, and lifetime implications of the various
options are, then you almost certainly have internalized the memory
management rules.
I have been very impressed by smart garbage collectors in other
languages, but Cocoa/ObjC does not have one. You MUST understand how
reference counting works to write good code, and the rules are fairly
terse.
Scott
_______________________________________________
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