Properties vs instance variable?


why doesn’t this book prefer properties over instance variable? it seems point to use/instance variable in objective-c 2.0.


That’s because the book is teaching the basics: instance variables are hidden behind the properties, and there is a cost for accessing them through properties.


Properties and instance variables are two totally different things. When you get past chapter 2, you’ll see we use properties when we need to use properties.