Stanford CS193p: iOS Development with SwiftUI | 2025 | L1: Intro to Xcode and SwiftUI
All course materials are available at https://cs193p.stanford.edu.
The first lecture of the 2025 version of Stanford's CS193p course (developing applications for iOS using SwiftUI). Instructor Paul Hegarty provides a course overview, prerequisites (comfort with writing lots of code, structured programming experience), and explains the course structure, which uses a "narrative approach" where students build one large app (CodeBreaker) over 6-7 weeks rather than learning through small code snippets. He gives a comprehensive tour of Xcode's interface and introduces the fundamentals of SwiftUI Views using a Lego analogy, comparing basic Views (Text, Image, Circle) to Lego bricks, composed Views (ContentView) to constructed Legos, container Views (VStack) to instruction manuals, and collections of Views to "bags of Lego." The lecture also covers Swift syntax basics, including structs, variables, and the concept of "some View" as a computed property.
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 ...