OK, I agree on that point. It's just that I finally understood the elegance behind the autorelease mechanics only after I started to write my own classes with factory methods. At first I had memory leaks or double releases until I got my head around that convention. But as you said, that's probably too much detail for an entry-level Objective-C tutorial.
by Marco Masser — Apr 20
OK, I agree on that point. It's just that I finally understood the elegance behind the autorelease mechanics only after I started to write my own classes with factory methods. At first I had memory leaks or double releases until I got my head around that convention. But as you said, that's probably too much detail for an entry-level Objective-C tutorial.