So... I’ve traced my performance issue down to the way I’m updating my main SwiftUI lists in response to incoming NSPersistentStoreRemoteChange
#CoreData notifications from iCloud. I was processing them on a background context, then sending notifications observed by lists. If they displayed types that were updated they’d refresh.
Clearly I was not doing this well because the view-side-subscription-and-refresh part could cause multi-second UI pauses. Obv not great.
Advice welcome. #iOSDev
=> More informations about this toot | View the thread | More toots from babbage@iosdev.space
=> View coredata tag | View iosdev tag This content has been proxied by September (3851b).Proxy Information
text/gemini