O'Reilly logo

iPhone JavaScript Cookbook by Arturo Fernandez Montoro

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

Building the lists for items

One of the most used widgets in the graphical user interface for iPhone applications is the list. This one shows different items separated by a horizontal thin gray line. The lists can be useful for showing sorted information to the user. For instance, a list is ideal for listing a set of records from a database. Usually, each item of the list is a small text. On the other hand, the items inside the list can contain an image or a comment next to the mentioned text.

Obviously there exists different kinds of lists, the most basic and simple is a set of items containing text with one or two words. All the items of this simple list appear to be separated only by a thin line. Other lists are rounded and allow a blank space ...

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