SwiftData is a framework that is built on top of Core Data and greatly simplifies working with data in your SwiftUI app. One caveat is that not all functionality of Core Data can be found in SwiftData. In this turorial we’ll look at the UndoManager that tracks changes and allows you to undo and redo changes you have made. This can be extremely useful for apps that implement SwiftData. SwiftData makes this process extremely simple to configure.
Lets begin with the app created in the ToDo List app with SwiftData. You can download this below.
[Read more…]