How could I write a callback with type of property wrapper?

I saw List in swiftUI that the init method requires a callback with properWrapper.

List($someBingingObj) { $obj in
    // ...
}

I want to know how to write this kind of function with a callback with the property wrapper.

Terms of Service

Privacy Policy

Cookie Policy