Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Beginning iOS5 Development.pdf
Скачиваний:
7
Добавлен:
09.05.2015
Размер:
15.6 Mб
Скачать

284

CHAPTER 9: Navigation Controllers and Table Views

The Movable Rows View

The fourth of our application’s six subcontrollers is shown in Figure 9–6. In this view, we’ll let the user rearrange the order of the rows in a list by having the table enter edit mode (more on this when we get to it in code later in this chapter).

Figure 9–6. The fourth of the Nav application’s six subcontrollers lets the user rearrange rows in a list by touching and dragging the move icon. Recognize the rhyme?

www.it-ebooks.info

CHAPTER 9: Navigation Controllers and Table Views

285

The Deletable Rows View

The fifth of our application’s six subcontrollers is shown in Figure 9–7. In this view, we’re going to demonstrate another use of edit mode by allowing the user to delete rows from our table.

Figure 9–7. The fifth of the Nav application’s six subcontrollers implements edit mode to allow the user to delete items from the table.

www.it-ebooks.info

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]