NSBlog
"A failure in the hot air department"
Showing entries tagged "init". Full blog index.
The How and Why of Cocoa Initializers
at 2008-10-09 23:43
One of the longest ongoing controversies in the Cocoa community is how to write your init methods. More specifically, how to properly call your superclass's initializer. In the hopes of putting this controversy to rest, I want to walk through the right way to write an initializer and exactly why this is the right way.