
Stanford CS193p: iOS Development with SwiftUI | 2025 | L12: Even More Complex UIs
Stanford Online, 1 hr 15, 7.6K views, Dec 3, 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 12th lecture of the 2025 version of Stanford's CS193p course (developing applications for iOS using SwiftUI). Building modal interfaces and reusable View components. Creates a PegChoicesChooserView for editing game peg count and colors. Demonstrates how to control sheet presentation with isPresented bindings and creating game editors with proper data binding using @Bindable for @Observable objects. Builds a flexible interface that can handle both creating new games and editing existing ones. Key concepts include using Optionals for conditional data, implementing custom ViewBuilder functions, and handling sheet dismissal. Emphasizes building reusable UI components and proper data flow patterns in modal presentations. Paul Hegarty is a Lecturer who has been teaching CS193p at Stanford since 2010.