Reply to SwiftUI @main Accessing UserDefaults Too Early Before applicationDidFinishLaunching Okay there is isProtectedDataAvailable for macOS too. Topic: App & System Services SubTopic: Core OS Tags: Sep ’24
Reply to SwiftUI @main Accessing UserDefaults Too Early Before applicationDidFinishLaunching Weird that it's not handled by default. Hope i'm not missing something, and it's a bug/improvement for apple! Topic: App & System Services SubTopic: Core OS Tags: Sep ’24