O'Reilly logo

iPhone Location Aware Apps by Example by Zeeshan Chawdhary

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

Time for action — recommended and popular venues

  1. We continue with the same example app (Hello foursquare) as before. Open the project titled Hello foursquare, and open the iPhone storyboard file (MainStoryboard_iPhone.storyboard). In the second View controller View, make the UI look as the one shown in the next screenshot, by adding a UISegmentedControl and a UITableView instance to it. Make sure to type the identifier name for your Prototype Cells as Venue Cells.
    Time for action — recommended and popular venues
  2. Rename the segmented controls to Popular and Trending, for showing popular venues and trending venues, respectively, according to the option selected.
  3. In the Hello_foursquareSecondViewController.h ...

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