O'Reilly logo

The Complete Idiot's Guide® To iPad and iPhone App Development by Troy Brant

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

Tiptacular

Over the course of this chapter, you build one of the essential utility apps—a tip calculator. In the following figure, the app lets the user specify the check amount, tip percentage, and party size using text fields:
166
The Tiptacular app.
After you enter the check amount and tip percentage, the app displays the tip and the total price of the meal. Also, instead of spending half an hour figuring out how to split the check, you can easily see how much each person owes for the meal.
To build this app, you use the same blueprint that was used for building apps in previous chapters:
1. Build the interface.
2. Define outlets and actions. ...

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