On Wed, 3 Nov 2010 22:00:43 -0700, Jerry Krinock said: >So, I do this: > >• Read and remember the file's modification date (NSFileManager) >• Set the desired metadata >• Set the file's modification date back to the remembered value >(NSFileManager) >• Invoke -saveDocument: > >Voila - no more stupid warning sheet. > >Why does +[NSPersistentStoreCoordinator >setMetadata:forPersistentStoreOfType:URL:error:] change the file >modification time given that, per documentation, it does not modify the file?
It's probably a bug. Although all cases I knew about are fixed now (10.6.4), we previously knew of several ways to get that annoying message to appear. My guess is you've found another. -- ____________________________________________________________ Sean McBride, B. Eng [email protected] Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada
_______________________________________________ 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]
