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

Try It Out

The moment of truth approaches: does this all work? Give it a shot—save your project, build it, and launch it in the iPhone Simulator. You should see the picker view populated with the most calorie-packed foods known to man. After you select a particular food, the food details should populate the labels you added to the interface. If all that works, you are done!
Full source code for the finished Ruralfork application is available online at http://troybrant.net/iphonebook/chapter9/Ruralfork-done.zip.
In this chapter, you learned about collections, and you learned how to use the UIPickerViewDelegate and UIPickerViewDataSource protocols to customize the picker to your interface. You also learned about property lists and how to use ...

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