Monday, June 4, 2012

Beginning Protocols.

Did not update the blog yesterday. I wanted to but the laptop’s battery ran dry and it was too late to go to my office and turn on the PC to do this. Another one of those Sunday’s that was busy doing everything else. I did get deeper into chapter 11 but my goal of completing it with a thorough understanding did not shake out. During the day, I improved my understanding of categories and class extensions by finding a very nice youtube tutorial on both subjects. These are pretty powerful ways to extend classes without knowing what is inside the classes. The categories allow for additional methods while the class extensions allow for new instance variables. I started with protocols and I like it as it forces good development practices by allowing class developers to require some classes to get created for their objects. I am still a bit hazy on the subject but will work through that today as I finish chapter 11.

No comments:

Post a Comment