Re: How to use NSManagedObjectContext, NSManagedObjectModel, NSEntityDescription, NSManagedObject
Re: How to use NSManagedObjectContext, NSManagedObjectModel, NSEntityDescription, NSManagedObject
- Subject: Re: How to use NSManagedObjectContext, NSManagedObjectModel, NSEntityDescription, NSManagedObject
- From: Keary Suska <email@hidden>
- Date: Fri, 15 Feb 2013 09:11:30 -0700
On Feb 15, 2013, at 2:06 AM, Christ Levesque wrote:
> I want to use these classes in my app but I don't want to use it in Core Data.
You can use all of these *except* NSManagedObjectContext for your own purposes. I know because I have a significant project where I do exactly that. NSManagedObjectContext is basically the heart of Core Data, and doesn't extend well. Its inner workings are opaque and undocumented. If what you are looking for are the benefits of Core Data but with your own database back-end, you pretty much will have to write your own database coordination methods, as well as change tracking and undo management0--essentially everything that NSManagedObjectContext does.
HTH,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden