Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core-Data : how to merge two contexts ?



But why don’t you want to save?
If you just want your objects in memory, why use CoreData at all?

Hi atze,

I'll probably end up using the "merge..." method available but that makes me feel bad to save a document automatically when the user should be the only one responsible for this. For example, the user will not be able to use the "Revert" command from the File menu to restore his document to its original state like it is supposed to work (or I'll probably have to subclass the standard behavior by saving a copy of the sqlite file in the temp area just in case the user needs to revert).

Eric._______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: Core-Data : how to merge two contexts ? (From: Eric Morand <email@hidden>)
 >Re: Core-Data : how to merge two contexts ? (From: Alexander Spohr <email@hidden>)
 >Re: Core-Data : how to merge two contexts ? (From: Eric Morand <email@hidden>)
 >Re: Core-Data : how to merge two contexts ? (From: Alexander Spohr <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.