Skip to Main Content
iPhone SDK Programming: Developing Mobile Applications for Apple iPhone and iPod touch
book

iPhone SDK Programming: Developing Mobile Applications for Apple iPhone and iPod touch

by Maher Ali
March 2009
Beginner to intermediate content levelBeginner to intermediate
396 pages
8h 44m
English
Wiley
Content preview from iPhone SDK Programming: Developing Mobile Applications for Apple iPhone and iPod touch

Chapter 8. Table View

A table view is an important and widely used graphical user interface object in the iPhone OS. Understanding table views is essential to writing iPhone applications. Fortunately, programming table views could not be easier.

This chapter will take you through a step-by-step journey to the world of table views. We start by presenting an overview of the main concepts behind table views in Section 8.1. After that, we present in Section 8.2 a simple table view application and discuss the mandatory methods you need to implement in order to populate and respond to user's interaction with the table view.

In Section 8.3, we show how easy it is to add images to table rows. Section 8.4 introduces the concept of sections and provides a table view application that has sections with section headers and footers.

In Section 8.5, we introduce the concept of editing a table view. An application that allows the user to delete rows is presented and the main ideas are clarified. In Section 8.6, we address the insertion of new rows in a table view. An application that presents a data entry view to the user and adds that new data to the table's rows is discussed. In Section 8.7, we continue our discussion of the editing mode and present an application for re-ordering table entries. The main concepts of reordering rows are presented.

In Section 8.8, we discuss the mechanism for presenting hierarchical information to the user, and an application that uses table views to present three levels ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft® Office Access 2007 on Demand

Microsoft® Office Access 2007 on Demand

Steve Johnson - Perspection, Inc.
FileMaker Pro 14: The Missing Manual

FileMaker Pro 14: The Missing Manual

Stuart Gripman, Susan Prosser
Microsoft® Office Access™ 2007 Step by Step

Microsoft® Office Access™ 2007 Step by Step

Steve Lambert Joan Lambert and M. Dow Lambert III

Publisher Resources

ISBN: 9780470742822Purchase book