Stanford CS193p: iOS Development with SwiftUI | 2025 | L14: SwiftData Demonstration
View course details: https://online.stanford.edu/courses/cs193p-ios-application-development
All course materials are available at https://cs193p.stanford.edu.
The 14th lecture of the 2025 version of Stanford's CS193p course (developing applications for iOS using SwiftUI). Continues the SwiftData implementation. Implements more complex database queries with predicates that join multiple tables and handle the differences between computed properties and stored database fields. Uses NotificationCenter publishers for responding to database save events. Briefly mentions proper multithreading considerations with @MainActor. Creates a reusable #Preview infrastructure for Views that access SwiftData.
Paul Hegarty is a Lecturer who has been teaching CS193p at Stanford since 2010.
Stanford Online
You can gain access to a world of education through Stanford Online, the Stanford School of Engineering’s portal for academic and professional education offered by schools and units throughout Stanford University. https://online.stanford.edu/ Our robust ...