Custom cells
When Apple offers cell styles that can't be our business needs, we need to customize the cells. Before iOS 5, custom cells can be implemented in two ways: code implementation and implementation with XIB technology. It is relatively simple to implement with Xib technology, create a xib file, and then define an inherited UITableViewCell class cell class. After iOS 5 we have a new choice, storyboard implementation, this way is simpler than the xib way.
We modify the prototype of the simple table view case, in which case four of the built-in cell styles are not appropriate.
Using the "Single View Application" Engineering template to create a project called "Customcell", the "Prototype Cells" project for the Table View property is set to 1 (other than the same procedure).
There is a cell design in the upper part of the design screen, where we can design the cell layout. Drag a label and image view from the object library to the cell design screen to adjust their position.