/IOS101-Lab7

Primary LanguageSwiftApache License 2.0Apache-2.0

Lab 7: Flix Detail

Overview

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.

00_completed_lab_exemplar

🎯 Goals

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

Required Features

  • 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.