Рет қаралды 1,756
Learn more about Codable: www.donnywals.com/category/co...
With SwiftData it's relatively easy to define model objects so it makes sense to take a look at making SwiftData models Codable to see if it's better than Core Data. Ultimately, SwiftData is a wrapper around Core Data which means that the @Model macro will at some point generate managed objects, an object model, and more. In this post, we'll see if the @Model macro will also make it easier to use Codable with model objects.
This video is a companion for: www.donnywals.com/making-your...
Check out my books at: donnywals.com/books
See if I have any workshops planned at: donnywals.com/workshop
Subscribe to my newsletter here: donnywals.com/newsletter