passepartout-apple/Passepartout/Library/Sources/CommonLibrary
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
..
Business Resolve excessive profile reloads (#883) 2024-11-17 11:34:43 +01:00
Domain Perform migrate + import in one step (#882) 2024-11-16 21:16:25 +01:00
Extensions Add initial migration UI (#866) 2024-11-14 11:02:26 +01:00
IAP Resolve excessive profile reloads (#883) 2024-11-17 11:34:43 +01:00
Mock Upgrade to Xcode 16 (#858) 2024-11-13 12:07:30 +01:00
Resources Clean up and rename beta receipt variables 2024-11-14 22:52:52 +01:00
Strategy Add the option to migrate old profiles (#879) 2024-11-16 12:29:03 +01:00
Shared.swift Add logic to migrate v2 profiles (#854) 2024-11-12 16:42:19 +01:00