Theocacao
Leopard
Design Element
Comment on "New Objective-C Tutorial"
by Marco Masser — Apr 20

[...] I think talking about the conventions behind factory methods would be too much detail.


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.
Back to "New Objective-C Tutorial"
Design Element

Copyright © Scott Stevenson 2004-2015