SwiftUI and Core Data: The MVVM Way

A clean and intuitive way to handle Core Data entities in SwiftUI

Mattia Righetti
Better Programming
Published in
4 min readFeb 3, 2021

--

Crosswalk
Photo by Banter Snaps on Unsplash.

When I first started using SwiftUI for some small projects, I immediately appreciated its ease of use and expressiveness. However, it was not all rosy.

As soon as I began to work on some bigger apps — especially the ones that required Core Data — it became clear to me…

--

--