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

12

Persistence with Core Data

In this chapter, I will introduce Core Data in SwiftUI. Core Data is a persistency framework for Apple systems. We will also briefly talk about persistence from a more general perspective. As Core Data was introduced in 2003 and has constantly evolved since then, it is not possible to completely cover this topic; it would require a large book just by itself. This chapter will be just an introduction to this persistence framework.

In this chapter, we will define persistency, and then we will move on to explain what Core Data is and how it is structured. We will then explain how to use Core Data within SwiftUI and offer guidance on the practical use of Core Data in Xcode. Finally, we will discuss CloudKit, a framework ...

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