BTW, loading and saving as seems to have some points in common with the second 
save as I mentioned in my previous email:

Load a file and Save As without making any changes:
a. Initializes a new atomic store
b. Reads from an empty file at the new save location within its temporary 
folder, 
c. Saves to the same location (without creating any new cache nodes or updating 
from any managed objects)
d. Initializes another new atomic store
e. Loads from the file created just above
f. Creates a new cache node from my managed object (which populates from its 
managed object)
g. Saves the file again

Now this time, it appears that no clones are made of my managed object. I have 
not checked yet, but assume that the first load from empty file and save would 
just create a default blank document, and then the second load and save would 
actually populate it with data. 

It very much appears that the behavior of the Save As command is dependent on 
something to do with the state of the managed object context and the persistent 
store, but I really haven't been able to figure that out yet, or what the 
impact is on my custom atomic store.

Gideon

_______________________________________________

Cocoa-dev mailing list ([email protected])

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