O'Reilly logo

iPhone Programming: The Big Nerd Ranch Guide by Joe Conway, Aaron Hillegass

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

11. Editing UITableView

In the last chapter, you began an application that displayed a list of Possession instances in a UITableView. The next step in this application is allowing the user to interact with that table by moving, deleting, and inserting rows. Figure 11.1 shows what your Homepwner application will look like by the end of this chapter.

Figure 11.1. Homepwner in editing mode

image

Editing Mode

Every UITableView has an editing variable. When this boolean variable is set to YES, the UITableView enters editing mode, and the rows of the table can be manipulated by the user. The user can change the order of the rows, add rows, or remove rows. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required