Just started chapter 10. Learning more about data types and how to call objects using initializers. Also learned how to work up the hierarchy of methods to get to the designated initializer. Very cool stuff. It allows you to initialize a class and invoke setters at the same time. These setters can set the instance variables to values that you like, all in one invocation. This was a challenging concept for me so I had to find supplemental materials to understand everything. The Pixeleap tutorial is very helpful and I hope to use it again.
Other things in chapter 10 I find interesting such as understanding scope of instance variables defined in the header file and the implementation file. Also discusses global variables, the extern directive and static variables. I got a taste of using class level methods and stopped at enumerated data types. The goal is to finish reading the chapter tomorrow with a possible follow-up reread or strong skim. Hope to make it through a few of the exercises tomorrow. Ended up on page 208. My goal of hitting page 238 by end of month is beyond being in jeopardy. It is impossible!
No comments:
Post a Comment