passepartout-apple/Library/Sources/AppDataPreferences
Davide a4ebea1f95
Handle load/save preferences inside ProfileEditor (#982)
Simplify preferences model by doing a bulk load/save together with
load/save Profile. ModulePreferences is now a struct rather than an
ObservableObject, because it doesn't need ad hoc observation. It's just
a binding to ProfileEditor.preferences

Fix:

- Disable CloudKit in tunnel singleton of PreferencesManager
(.sharedForTunnel)

Additionally:

- Replace MainActor in PreferencesManager with Sendable (immutable)
- Replace MainActor from ProviderPreferencesRepository with Sendable
(syncs on NSManagedObjectContext)
- Drop ModuleMetadata for good
2024-12-08 16:05:23 +01:00
..
Domain Handle load/save preferences inside ProfileEditor (#982) 2024-12-08 16:05:23 +01:00
Preferences.xcdatamodeld/Preferences.xcdatamodel Store complex preferences to Core Data (#981) 2024-12-06 11:24:51 +01:00
Strategy Handle load/save preferences inside ProfileEditor (#982) 2024-12-08 16:05:23 +01:00
AppData+Preferences.swift Store complex preferences to Core Data (#981) 2024-12-06 11:24:51 +01:00