
Stanford CS193p: iOS Development with SwiftUI | 2025 | L12: Even More Complex UIs
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.
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.
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 ...