Skip to content

Comment on Why Slack is no longer using a cross-platform C++ library

Comments

Objects from DataProviders are returned as immutable models. On iOS, where the app uses a CoreData cache, this means the rest of the app no longer needs to access mutable CoreData objects directly, which reduces the need to worry about concurrency issues and avoids the crashes due to accessing data on the wrong thread that are common with CoreData.

Is this the common way of dealing with core data? I am actually doing exactly that at work right now, and was wondering if it was the right decision.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.