passepartout-apple/Passepartout/Library/Sources/AppDataProviders
Davide d3e344670b
Resolve excessive profile reloads (#883)
Optimize ProfileManager in several ways:

- Refine control over objectWillChange
- Observe search separately
- Store subscriptions separately (local, remote, search)
- Fix multiple local updates on save/remove/foreground (updating
allProfiles manually)
- Update the library with more optimized NE reloads
- Cancel pending remote import before a new one
- Yield 100ms between imports
- Reorganize code

Extras:

- Only use background context in provider repositories
- Externalize tunnel receipt URL, do not hardcode BundleConfiguration
- Improve some logging

Self-reminder: NEVER use a Core Data background context to observe
changes in CloudKit containers. They just won't be notified (e.g. in
NSFetchedResultsController).

Fixes #857
2024-11-17 11:34:43 +01:00
..
Domain Sort servers by .serverId in repository 2024-11-15 00:24:36 +01:00
Providers.xcdatamodeld/Providers.xcdatamodel Store providers to Core Data (#763) 2024-10-28 16:57:23 +01:00
Strategy Resolve excessive profile reloads (#883) 2024-11-17 11:34:43 +01:00
AppData+Providers.swift Store providers to Core Data (#763) 2024-10-28 16:57:23 +01:00