• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Some confusion on memory management
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Some confusion on memory management (From: Erik Buck <email@hidden>)

  • Prev by Date: Custom View inside NSToolbar
  • Next by Date: Re: Custom View inside NSToolbar
  • Previous by thread: Re: Some confusion on memory management
  • Next by thread: Does characterIndexForPoint ever return NSNotFound?
  • Index(es):
    • Date
    • Thread