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 ?




Am 07.11.2009 um 09:39 schrieb Eric Morand:

The NSManagedObjectContext is your scratchpad. If you want something inside it fetch it or create it.
If you change something, the change will be promoted.



Hi atze,

Actually, the change will be promoted only when they are committed to the store, and that implies a save on the disk. Or am I wrong ?

You are right.
EOF is capable of nested editing context. I don’t know if CoreData can do that as well.


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

	atze

_______________________________________________

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>)



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.