Book Image

Objective-C Memory Management Essentials

Book Image

Objective-C Memory Management Essentials

Overview of this book

Table of Contents (18 chapters)
Objective-C Memory Management Essentials
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


So, to wrap it all up, Core Data is not something that is overly complex and the code to use Core Data is pretty straightforward as we have seen in our code examples shown earlier. The Core Data framework is a relatively easy framework to use to handle data storage abstraction without worrying about different data storage formats.

The concepts that you have to know are the Core Data classes such as NSManagedObject, NSManagedObjectContext, NSPersistentStoreCoordinator, and so on and the related methods such as save and deleteObject. With these simple lines of code, you can leverage the power of the Core Data framework to do data persistence on a high-level abstraction without concerning yourself with the low-level data format specifications.

In the next chapter, we will be introduced to key-value programming and how it can be used to allow us to be notified of state changes. So, I hope you enjoyed this chapter on Core Data!