Things to know for the final exam

For the final exam I will be asking you to write a SwiftUI app. Here are some aspects of SwiftUI programming you need to be familiar with:

Things that will not appear on the final exam

On the final exam I will not be asking you to implement network interactions with a back end server.

You will not have to do anything with images on the final.

Practice problem

In assignment seven I asked you to implement everything but favorites in the actors app. Add the favorites feature to your app. The app should now have a tabbed interface, with the first tab basically containing all of the views you have built so far. The only additional feature you will need to add is a favorite button in the actor view in the first tab. Clicking that button adds the actor you are currently viewing to your list of favorite actors. The second tab will contain two views: the first view is a NavigationView that shows a list of your favorite actors. Clicking on any of those actors in the list takes you to a second view that is almost the same as the actor view from the first tab, except that this version of the view does not contain a favorite button. You should also implement swipe to delete on the list of favorites. Like my original TV app, the app should save the list of favorites to a local file.