A Custom Table Cell
The default table cell leaves practically no room for information about games. If you want to see your data, you’ll have to make a cell of your own.
A new table cell calls for a new prototype cell in the game table. Drag a new UITableViewCell
from the Object library into the table. This time we’ll go far beyond UIKit’s standard cells, so set the Style popup to Custom, and its identifier to Custom Game Cell.
A prototype cell is a view like any other; you drag views into it and customize them as you need. It’s a standard-size table-view cell, 320 points wide (the width of an iPhone screen) and 44 points high (the recommended minimum size of a tappable object). That’s not tall enough to accommodate what we want to do. You want ...
Get Xcode 5 Start to Finish: iOS and OS X Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.