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

Chapter 9
Pickers
In This Chapter
• Arrays
• Dictionaries
• Property lists
• Pickers
• Ruralfork app
So you’re hungry and feel like eating out. You’re tired of your usual haunts, so you want to try something new. You know you don’t want to break the bank, and you know the general area where you want to eat. Wouldn’t it be nice if there was an app that could pick a place to eat for you? Well, you might say “there’s an app for that,” and it’s called Urbanspoon. Urbanspoon made finding somewhere to eat fun. Instead of selecting a restaurant from a list, you use a slot-machine interface to specify your criteria (like cost), and then shake the phone to randomly pick a place to eat.
The slot-machine view is a standard view called a picker, ...

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