In this lab, you'll allow users to save their favorite movies and view them in a "favorites" list on a separate tab. To do this, you'll leverage User Defaults to save and retrieve movies from your app's local storage. Adding a tab bar to your app will be done using a Tab Bar Controller.
By the end of this lab you will be able to...
- Set up a tab bar and multiple tabs using a Tab Bar Controller
- Save, retrieve and delete data from local storage using UserDefaults
- Create custom buttons styled for their various states
- Users can toggle a "Favorite" button in the movie detail screen to save/delete a movie from their collection of favorite movies.
- Users can view a scrolling list of their favorite movies on a "Favorites" tab.