Toot

Written by Duncan Babbage on 2024-10-24 at 04:09

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

Mentions

Tags

=> View coredata tag | View iosdev tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113360436866310155
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
233.311418 milliseconds
Gemini-to-HTML Time
0.465506 milliseconds

This content has been proxied by September (3851b).