passepartout-apple/Passepartout/Library/Sources/CommonLibrary/Business
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
..
ExtendedTunnel.swift Limit tunnel updates (#843) 2024-11-10 19:39:43 +01:00
MigrationManager.swift Perform migrate + import in one step (#882) 2024-11-16 21:16:25 +01:00
ProfileManager.swift Resolve excessive profile reloads (#883) 2024-11-17 11:34:43 +01:00
ProfileProcessor.swift Upgrade to Xcode 16 (#858) 2024-11-13 12:07:30 +01:00
ProviderFavoritesManager.swift Fine-tune profile management with additional attributes (#807) 2024-11-03 23:35:45 +01:00