I just finished the ch 7 challenge and two questions came up for me.
First, I noticed that the tabBar images are not retina quality on my iPod. However, the tabBar images of the standard clock program are. Any way to specify both retina and standard images?
(Edit: This is answered in the “for the more curious” section of chapter 8)
Second, while trying to answer my first question, I found the documentation for the UITabBarItem class has no properties for title or image and is itself a direct subclass of NSObject. Looking at the header file UITabBarItem.h confirms that the documentation is correct. So how does our code work?
For example p 139: [tbi setTitle:@“Time”];
UITabBarItem has private variable _time, but no method setTime or @property time. What’s going on?
Hoping for enlightenment,