Thursday, August 16, 2012

Init This

Read the chapter on the init method and it provided a nice overview on how to use the init along with initializers. It also goes into an explanation of how to use the designated initializer and how to override methods when you are in a subclass. It had a very good explanation of why the super init is used as well as testing for self.

I liked the chapter and I enjoyed its introduction to sub-classing.

I moved into the chapter on properties and so far, so good. I was a bit confused with the Kochan book regarding when to use strong or weak. Although I am still "weak" with regard to when to use "weak", I kind of know why to use it (but don't really get when to use it). That was covered in Hillegass's chapter 20 which I should probably review.

No comments:

Post a Comment