Stanford CS193p iOS Development with SwiftUI 2025 | Lecture 2| Code Breaker App
Автор: SwiftUI Adventures
Загружено: 2025-12-05
Просмотров: 37
This video has been re-uploaded so viewers can openly discuss and collaborate on the material shown in the original content.
All course materials are available at https://cs193p.stanford.edu.
The 2nd lecture of the 2025 version of Stanford's CS193p course (developing applications for iOS using SwiftUI). Continues explanation of SwiftUI development by introducing View modifiers, the second major pillar of UI building, alongside Views. Demonstrates how View modifiers work as chainable functions that return modified Views, showing examples like .font(), .foregroundStyle(), and .padding(). Explains how modifiers are applied in order and can be passed down from container Views to their children. The lecture then dives into building the CodeBreaker app, creating and layout out the game's pegs, then building the markers using Shapes with modifiers like .fill(), .stroke(), and .opacity(). Covers creating custom structs that behave like Views, moving Views to separate files, using enums (for match states like exact, inexact, nomatch), and introduces functional programming concepts like count(where:) for Array processing. The lecture emphasizes decomposition as crucial for code maintainability and compiler performance.
#swift #swiftui #swiftuitutorial #cs193p
Original Content : • Stanford CS193p: iOS Development with Swif...
All credit for the video content goes to the original creator.
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: