Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Although this app is creating two custom subclasses of UITableViewCell, up to this point you've used the tried and tested nib-based approach to building and laying out the cell's contents.
In this example, you will go a bit further than swapping things around – in fact, what you will do is to recreated the planets-and-stars cells in code rather than using Interface Builder.
At a high level, the process looks like this:
UITableViewCell subclass for each cell type (you will end up with one for EvenCell and one for OddCell)initWithStyle:reuseIdentifier: method, create and add the various elements to the cell's contentView