Chapter 7. Implementing persistence with Core Data

 

This chapter covers
  • Learning Core Data basics
  • Using the NSManagedObject and NSManagedObjectContext classes
  • Creating a MacRuby application that uses Core Data

 

When you create your own MacRuby applications, take into account that almost every application persists some amount of information. When your application depends on user-created content it’s important that this information be available each time the application is used.

In chapter 3 you created a Todo List application that stores individual tasks in memory. When you relaunch the application, none of the previously created items appear. Core Data provides a way to persist this data. In this chapter we’ll investigate Core Data and ...

Get MacRuby in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.