Hour 21. Rearranging Table Rows on iOS

What You’ll Learn in This Hour:

• Learning about the general issue of sorting table data

• Making a table row movable

• Implementing the move


This hour applies only to Cocoa Touch and its touch interface.

Handling the Ordering of Table Rows

When you use table views with Core Data, you have a powerful way of displaying sets of records. As you have learned in Hour 19, “Using UITableView on iOS,” p. 337, and Hour 20, “Using NSTableView on Mac OS,” p. 363, you also can use table views to display single records in an easily formatted manner. In the case of using a table to display fields from a single record, your nib or storyboard file together with the view controller code you write determines the ...

Get Sams Teach Yourself Core Data for Mac® and iOS in 24 Hours, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.