Lecture 12: Core Data

In the second of the final series of four lectures targeted at helping students in Stanford’s iOS development course from Spring 2020 with their final projects, a powerful object-oriented database, Core Data, is used to enhance the previously-introduced Enroute application. To date in the course, the only storage place was UserDefaults, which was mostly used to support demonstrations of other features and is not really appropriate for storing the actual data that an application collects or generates. This lecture and the next lecture cover some better options for storage. Core Data is probably the most commonly-used local data storage mechanism in iOS and it has an elegant integration with SwiftUI.

Lecture 12 of Stanford’s iOS Development course from Spring 2020 covers.

Leave a Comment