
Stanford CS193p: iOS Development with SwiftUI | 2025 | L14: SwiftData Demonstration
Stanford Online, 1 hr 09, 5K views, Dec 18, 2025
Show descriptionHide description
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.