Post

Replies

Boosts

Views

Activity

Comment on How should I access @AppStorage and @SceneStorage values outside of views?
I managed to use the values that should be saved on user defaults in my code snippet above from a call site other than a SwiftUI View by creating a static shared (singleton) instance on SettingKeys class and access the required key directly: SettingKeys.shared.colorScheme
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’23
Comment on NO ANIMATIONS in NavigationStack or NavigationSplitView
Issue still exists on macOS 14 (sonoma) with NavigationSplitView and NavigationStack in the detail column.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’23