Nice article, let’s say I want to fetch (read) an existed object (from a viewContext) and after that I want to edit it’s fields (Write). How will it look like using your approach if it is in a main context? Another case is when I get data in a background (for example from a CloudKit) and want to make some changes in my NSManaged object. How will it look like in this case?

--

--

Simplicity is the ultimate sophistication

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store