SwiftUI tip: NEVER use SceneStorage on macOS.
It turns out, when this system setting is ON (which is the default), SceneStorage is completely erased on every app launch. I am a weirdo, so I have this setting OFF, and I never noticed that my app UX was awful for the vast majority of my users! (Until someone reported it, thanks!!)
I will be switching everything over to AppStorage.
You know, it would be really nice if important details like this were mentioned somewhere in the documentation!!!









