What Swift language feature to achieve SwiftUI's `$` to return `Binding<Value>`?
Hi. I'm new to Swift language and little knowledge about the history of it. I'm curious which language feature to make it happen, like property wrapper is used to make
@State
works.
Note this is not the question how I use $
to return bindings.2 Replies
Swift by Sundell
Property wrappers in Swift | Swift by Sundell
This week, let’s take a look at how Swift’s property wrappers work, and explore a few examples of situations in which they could be really useful.