Using and creating Property Wrappers

preview_player
Показать описание
With the release of Swift 5.1, and the introduction of SwiftUI, we saw a new type of attribute added to the language, known as Property Wrappers. These ‘@‘-prefixed attributes open up a treasure chest of new type functionalities, and can be used to simplify some existing behaviors.

In this talk I will go over what property wrappers are and where to use them, as well as how to create your own. It is aimed at anybody who is building apps with Swift 5.1.

---

This talk was given by Tim Roesner at the Swift Language User Group meetup on November 20 2019.
Рекомендации по теме
Комментарии
Автор

Has the autoclosure swift bug been fixed?

karthikm.s.
Автор

Thank you for this video, I just understood what property wrappers actually are. I m using DynamicColor property wrapper to handle dark mode in my project. For iOS 13 it is ok. But how can I use same wrappers for handling dark in iOS less than 13, where I have created two separate custom themes - dark and light theme. Need your help

waseemahmadwani