Cleaner Code With Property Wrappers
Property wrappers were introduced in Swift 5.1 and are something that many of us have used when working with the Combine framework and SwiftUI. A couple examples would be @State
and @Published
. While these things might look like some weird syntax that does magical things, it is good to have some basic understanding of what property wrappers do under the hood and how to use them.