passepartout-apple/Passepartout/Library/Sources/CommonUtils/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
..
CoreDataPersistentStore.swift Add logic to migrate v2 profiles (#854) 2024-11-12 16:42:19 +01:00
CoreDataRepository.swift Resolve excessive profile reloads (#883) 2024-11-17 11:34:43 +01:00
CoreLocationWifiObserver.swift Refactor library targets (#799) 2024-11-02 10:11:59 +01:00
ErrorHandler.swift Refactor library targets (#799) 2024-11-02 10:11:59 +01:00
Measure.swift Refactor library targets (#799) 2024-11-02 10:11:59 +01:00
Repository.swift Erase shared profiles from iCloud correctly (#827) 2024-11-07 12:43:24 +01:00
Routable.swift Refactor library targets (#799) 2024-11-02 10:11:59 +01:00
SandboxChecker.swift Revert "Modernize check for TestFlight build" (#880) 2024-11-16 13:54:11 +01:00
Wifi.swift Refactor library targets (#799) 2024-11-02 10:11:59 +01:00