O'Reilly logo

Sams Teach Yourself Core Data for Mac® and iOS in 24 Hours by Jesse Feiler

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hour 7. What Managed Objects Can Do

What You’ll Learn in This Hour:

Getting inside managed objects

Putting managed objects in context

Exploring data types—Booleans, BLOBs, and dates

Transforming data

Validating data

Using Managed Objects

Managed objects are one of the primary components of the Core Data architecture. An NSManagedObject represents a record from the database (persistent store in Core Data terms). It is managed objects that you deal with in your code: you create, save, modify, and delete them as the user requests.

• To use managed objects in your app, you need to have built the Core Data stack as described previously in Hour 4, “Getting the Big Core Data Picture,” p. 85, to establish the connection between the data ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required