The NSPersistentStoreCoordinator class method works directly with the file at 
the specified URL and so writes the metadata to the the file immediately.  To 
modify the metadata on the store without saving automatically you need to use 
the store instance's setMetadata: method.  You can access the store by 
iterating through the PSCs list of persistentStores and matching on the URL 
you're looking for.

- adam

On Nov 4, 2010, at 4:39 PM, Jerry Krinock wrote:

> 
> On 2010 Nov 04, at 15:37, Sean McBride wrote:
> 
>> It's probably a bug.
> 
> Absent any other responses, I agree.  Now filed as Apple Bug ID# 8633547.
> 
> _______________________________________________
> 
> 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/aswift%40apple.com
> 
> This email sent to asw...@apple.com

_______________________________________________

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 arch...@mail-archive.com

Reply via email to