SwiftUI-Architectures
SwiftUI-Architectures copied to clipboard
SceneStorage, AppStorage,...
Hi, what then would be the best way to manage @SceneStorage and @AppStorage in this architecture? I tried to put it in the viewModel but XCode doesn't seems to like it (Accessing a SceneStorage value outside of being installed on a View. This will always return the default value.), and putting it in the view make it difficult to have logic reacting on it.
Best regards