Using data from JSON files in your app
Let's review how the app works. On the Map screen, the user will see all the restaurants near their location. Tapping a restaurant will display a callout bubble, and tapping the button in the callout bubble will display the details of said restaurant on the Restaurant Detail screen.
On 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 on the Explore screen, and a list of restaurants in that location that offer that cuisine will be displayed on the Restaurant List screen. Tapping a restaurant will display the details of said restaurant on 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 will also...