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

We don't require your email address, or your name, for anyone to leave a comment. If you do add an email address, you may be notified if there are replies to your comment - we won't use it for any other purpose. Please make respectful comments, which add value, and avoid personal attacks on others. Links are not allowed in comments - 99% of spam comments, attempt to post links. Please describe where people may find additional information - for example "visit the UN website" or "search Google for..." rather than posting a link. Comments failing to adhere to these guidelines will not be published.