How to create custom Property Wrappers in SwiftUI (PART 1/2) | Advanced Learning #30

Описание к видео How to create custom Property Wrappers in SwiftUI (PART 1/2) | Advanced Learning #30

In SwiftUI, a property wrapper is a Swift language feature that allows you to add a layer of custom behavior to properties. Property wrappers are used to augment the behavior of properties in a concise and reusable way. They are commonly used in SwiftUI for managing state, data binding, and more. We will learn how they work, why they work, and how to make your own!

🤙 WELCOME BACK 🤙

WEBSITE: https://www.swiftful-thinking.com

DISCORD:   / discord  

GITHUB: https://github.com/SwiftfulThinking/

SAY THANKS: https://www.buymeacoffee.com/nicksarno

00:00 Property Wrappers
03:12 Welcome back!
05:13 Code start
05:40 Custom Bindings
06:59 When to create Property Wrappers?
09:21 Primary Example Start
17:24 Building a custom Struct
23:13 Mutating Views / Property Wrapper magic
26:29 Dynamic Property
28:20 Converting to a Property Wrapper
35:34 @propertyWrapper
38:47 Adding custom keys
42:55 Initial Wrapped Value
45:32 Projected Value
50:03 Wrapping up

Комментарии

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