|
|
|
|
|
by augusto2112
2428 days ago
|
|
> 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. |
|