filmov
tv
Coding Review - SwiftUI example with Best Practices - Tips and Tricks - Core Data Preview & Canvas

Показать описание
In this video I am going to review another SwiftUI project. I will discuss best practices for SwiftUI and the Swift programming language. We will see how to use Core Data CRUD operations and implement he preview provider to see the canvas.
👉 The original tutorial from Kavsoft is SwiftUI 2.0 Core Data Best Practices - SwiftUI 2.0 Core Data CRUD Operations - Tasks App
You can find the documented project code at
Overview
00:00 Intro
01:18 Dependency injection with Core Data - use for preview / canvas
05:26 flexible frames - how to expand view to full width
20:08 Button Style and sharing view modifiers with custom view modifiers
28:43 Combine in action: sink and subscriptions
33:17 fixing a bug: clean up when view disappears with onDisappear
34:32 Core Data best practices: model extensions to add syntactic sugar
40:06 Swift language: Enum and naming conventions
48:42 Wrap up
If you liked what you learned and you want to see more, check out one of my courses!
#SwiftUI #CoreData
👉 The original tutorial from Kavsoft is SwiftUI 2.0 Core Data Best Practices - SwiftUI 2.0 Core Data CRUD Operations - Tasks App
You can find the documented project code at
Overview
00:00 Intro
01:18 Dependency injection with Core Data - use for preview / canvas
05:26 flexible frames - how to expand view to full width
20:08 Button Style and sharing view modifiers with custom view modifiers
28:43 Combine in action: sink and subscriptions
33:17 fixing a bug: clean up when view disappears with onDisappear
34:32 Core Data best practices: model extensions to add syntactic sugar
40:06 Swift language: Enum and naming conventions
48:42 Wrap up
If you liked what you learned and you want to see more, check out one of my courses!
#SwiftUI #CoreData
Комментарии