5 Steps to Better SwiftUI Views
Вставка
- Опубліковано 5 вер 2024
- In this video I show you five smart ways to make your SwiftUI views simpler and more maintainable.
- 3:51 Creating properties for your supplementary views
- 11:05 Breaking larger views into smaller ones
- 17:18 Getting action code out of your view body
- 22:40 Creating View extensions for styling
- 26:50 Using ButtonStyle and other style protocols
- 30:25 Wrap up and summary
You can get the project source code, including both before and after versions, from this link: www.hackingwit...
Sponsored by RevenueCat, who make it easy to add subscriptions to your app. Find out more at www.revenuecat...