Is there any way to make an immutable propertyWrapper? That is, a wrapper where the wrapper type *itself* is a "let" property, even though the wrappedValue presents as mutable?

Use cases are things like AppStorage where the property is actually just a computed accessor to a key value store, or something like an Atomic wrapper where the wrapper is a class and the wrapped value is protected by a mutex

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.social/users/nicklockwood/statuses/115491147162863903 on your instance and quote it. (Note that quoting is not supported in Mastodon.)