On Sep 27, 2008, at 10:01 AM, Daniel Child wrote:

but the tutorial online uses plain accessors (with the local copy of MOC as an ivar, not a property) ... and works. One difference is that their's is a doc-based CoreData app, and mine is not. But I don't see why that should matter....

It matters because NSPersistentDocument has a managed object context instance variable.

See the note at <http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Articles/cdBeforeYouStart.html >

"Core Data is not an entry-level technology. It leverages many other Cocoa technologies, including memory management, key-value coding, and key-value observing. You must understand these technologies to use Core Data effectively. You also need a solid understanding of data modeling and the model-view-controller design pattern as it pertains to Cocoa."

If you don't understand this basic point, you should not yet be using Core Data.

mmalc

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to