Home » Archive

Articles in the Core Data Category

Core Data »

[1 Jan 2010 | 7 Comments | 919 views]
Core Data: Relationship Accessors And Convenience Methods

This post is an expansion upon the post Marcus wrote on March 26, 2009; Core Data: Subclassing NSManagedObject in which he reviewed some best practices on subclassing the NSManagedObject. Based on feedback from that post, here are some additional best practices when working with NSManagedObject subclasses.

Core Data »

[9 Jul 2009 | 11 Comments | 4,954 views]
Passing around a NSManagedObjectContext on the iPhone

The documentation on Core Data for the iPhone has lead to some confusion about how best to use Core Data on a Cocoa Touch device. Marcus helps us unravel the mystery.

Core Data »

[5 May 2009 | 9 Comments | 5,166 views]
Core Data: Importing Data

Importing data from a foreign source, whether it be from a server, another file generated on the same operating system or a file from another operating system, is a fairly common action for an application to perform. In this installment of his Core Data column Marcus Zarra walks through one possible multi-threaded solution

Core Data »

[26 Mar 2009 | 7 Comments | 11,560 views]
Core Data: Subclassing NSManagedObject

Seasoned Objective-C developers are accustomed to certain ways of subclassing objects. While we definitely subclass objects less often than developers of other languages, it is still necessary in many cases. When it comes to the NSManagedObject, the rules for subclassing are a bit different…..

Core Data »

[23 Feb 2009 | 2 Comments | 3,111 views]
Core Data and the Undo Manager

In the first episode of his new column on Core Data, Marcus Zarra looks at Core Data and the Undo Manager