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 information fields

In previous recipes, we learned how to create simple lists for items and for navigation. This recipe explores the way to build a new widget for displaying a similar list. It contains labels and its associated values and will be very useful for showing information similar to a read-only form typically used in web applications. Actually, this widget shows fields with information related to it. We can establish a correspondence between this kind of field and the name of the rows of a set of data, for instance, a record of a database.

Getting ready

The UiUIKit framework will be used again for this recipe.

How to do it...

Be sure to put the required reference to the CSS file of the UiUIKit framework in your new HTML file. ...

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