Thursday, April 03, 2008

.NET to Cocoa: Very simple rules for memory management in Cocoa and fixing leaks

Brett Simmons (maker of the excellent NetNewsWire) posted a link to Cocoa is My Girlfriend's, whom I previously wasn't aware of, tutorial on Fixing Memory Leaks with Instruments. The tutorial is very good, nice screenshots, just the sort of thing you would want. Except I can't use it yet. The Cocoa application I am working on doesn't work with instruments just yet. In the leaks tutorial is a link to Very simple rules for memory management in Cocoa. If you came from .NET and have got used to garbage collection, and you can't use the garbage collection in Cocoa *cough iPhone SDK*, then this article is required reading.