5 Steps to Better SwiftUI Views

Описание к видео 5 Steps to Better SwiftUI Views

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: https://www.hackingwithswift.com/samp...

Sponsored by RevenueCat, who make it easy to add subscriptions to your app. Find out more at https://www.revenuecat.com

Комментарии

Информация по комментариям в разработке