passepartoutvpn/passepartout

Persist profiles to Core Data

Closed this issue · 1 comments

  • Rename container to something else than "Profiles" to not overwrite existing storage
  • Persist active profile to local preferences e.g. @AppStorage
  • Infer activeProfileId from installed NE profile

NSFetchedResultsController triggers controllerDidChangeContent() also for local changes:

https://stackoverflow.com/questions/60480953/how-to-be-notified-when-received-changes-from-only-the-remote-cloudkit-database?rq=3