View composition – Views and Modifiers SwiftUI Tutorial 8/10

Опубликовано: 14 Октябрь 2023
на канале: Paul Hudson
920
41

Download the completed project here: https://github.com/twostraws/hackingw...

Other parts in Project 3:

Introduction: https://www.hackingwithswift.com/book...

1. Why does SwiftUI use structs for views?:    • Why does SwiftUI use structs for view...  
2. What is behind the main SwiftUI view?:    • What is behind the main SwiftUI view?...  
3. Why modifier order matters:    • Why modifier order matters – Views an...  
4. Why does SwiftUI use “some View” for its view type?:    • Why does SwiftUI use “some View” for ...  
5. Conditional modifiers:    • Conditional modifiers – Views and Mod...  
6. Environment modifiers:    • Environment modifiers – Views and Mod...  
7. Views as properties:    • Views as properties – Views and Modif...  
8. View composition: This video
9. Custom modifiers:    • Custom modifiers – Views and Modifier...  
10. Custom containers:    • Custom containers – Views and Modifie...  

Wrap up and challenges: https://www.hackingwithswift.com/book...

You can find the full set of videos, along with transcriptions, challenges, tests, and more, in my free 100 Days of SwiftUI course: https://www.hackingwithswift.com/100/...

Watch the full 100 Days of SwiftUI playlist here:    • 100 Days of SwiftUI (iOS 17 edition)