Skip to Content
An iOS Developer's Guide to SwiftUI
book

An iOS Developer's Guide to SwiftUI

by Michele Fadda
May 2024
Beginner to intermediate content levelBeginner to intermediate
446 pages
10h 33m
English
Packt Publishing
Content preview from An iOS Developer's Guide to SwiftUI

14

An Introduction to SwiftData

SwiftData is the new ORM framework introduced by Apple to replace Core Data. At the time of writing this book, you need to know both frameworks, with the view that in about two years, Core Data will only be used for legacy projects. New projects based on newer versions of the Apple operating system should preferably use SwiftData to implement persistency. SwiftData is less of a great choice if your existing users still use iOS 16 or previous versions of the operating system, or if you need features of Core Data that are yet to be introduced in this new framework. For more advanced uses, you may need to stick to Core Data right now.

This chapter will introduce this new persistence framework that is going to become ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

SwiftUI - The Complete iOS 17 Reference Library of Code

SwiftUI - The Complete iOS 17 Reference Library of Code

Stephen DeStefano
Developing Apps with GPT-4 and ChatGPT

Developing Apps with GPT-4 and ChatGPT

Olivier Caelen, Marie-Alice Blete

Publisher Resources

ISBN: 9781801813624Supplemental Content