iOS 15: Views as properties – Views and Modifiers SwiftUI Tutorial 7/10

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?:    • iOS 15: Why does SwiftUI use structs for v...   2. What is behind the main SwiftUI view?:    • iOS 15: What is behind the main SwiftUI vi...   3. Why modifier order matters:    • iOS 15: Why modifier order matters – Views...   4. Why does SwiftUI use “some View” for its view type?:    • iOS 15: Why does SwiftUI use “some View” f...   5. Conditional modifiers:    • iOS 15: Conditional modifiers – Views and ...   6. Environment modifiers:    • iOS 15: Environment modifiers – Views and ...   7. Views as properties: This video 8. View composition:    • iOS 15: View composition – Views and Modif...   9. Custom modifiers:    • iOS 15: Custom modifiers – Views and Modif...   10. Custom containers:    • iOS 15: Custom containers – Views and Modi...   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:    • Hacking with iOS: SwiftUI Edition