Finishing Up Your App Structure in Storyboard

In the previous chapter, you configured the Explore screen so that it displayed 20 empty collection view cells in a collection view, added a button to the collection view section header to present a view representing the Locations screen modally, and added a Cancel button to dismiss this view.

In this chapter, you will implement the remaining screens that were shown in the app tour shown in Chapter 9, Setting Up the Basic Structure

First, you'll add a blank table view to the Locations screen.

Next, you'll add the Restaurant List screen. This will be displayed when a cell in the Explore screen is tapped. This screen will contain a collection view with a single collection view cell.

After that, you'll add the Restaurant Detail screen. This will be displayed when the cell in the Restaurant List screen is tapped. This screen will contain a table view with static table view cells. You'll also add a button to one of the cells that displays a view representing the Review Form screen when tapped.

Finally, you'll make the Map screen display a map.

By the end of this chapter, you'll have learned how to add and configure a table view to a storyboard scene, how to add segues between scenes, and how to add a map view to a scene. The basic structure of your app will be complete and you will be able to walk through all the screens in the Simulator. None of the screens will be displaying data, but you will finish their implementation in Section three of this book.

The following topics will be covered:

  • Adding a table view to the Locations screen
  • Implementing the Restaurant List screen
  • Implementing the Restaurant Detail screen
  • Adding a map view to the Map screen
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.93.210