Using data from JSON files in your app
Let's review how the app works. In the Map screen, the user will see all the restaurants near the user's location. Tapping a restaurant will display a callout bubble, and tapping the button in the callout button will display the details of said restaurant in the Restaurant Detail screen.
In the Explore screen, the user will tap the LOCATION button and select a location such as Charleston, NC on the Locations screen. After a location has been selected, the user taps Done and will be returned to the Explore screen. The user will then select a cuisine in the Explore screen, and a list of restaurants in that location that offer that cuisine will be displayed in the Restaurant List screen. Tapping a restaurant will display the details of said restaurant in the Restaurant Detail screen.
You will do the following:
- Configure the
MapViewController
class to get a list of restaurants from a JSON file instead of a.plist
file. This...