Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
With the understanding of instance variables and properties, we are going to now venture forth to create the actual bookstore program. The idea is simple enough—create a class called Bookstore that will be stocked with a few Book objects.
Let’s start by first getting our view ready. If you need a refresher on how to build an interface in Xcode, please refer to Chapter 6.
Figure 8–8. Preparing the MyBookstore detail view.
@property (strong, nonatomic) IBOutlet UILabel *detailDescriptionLabel;
@synthesize detailDescriptionLabel = _detailDescriptionLabel;
configureView, remove the following line:
self.detailDescriptionLabel.text = [self.detailItem description];