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: NSPersistentDocument saving problem




On Jan 16, 2008, at 2:03 PM, Daniel Wambold wrote:

Hello. I have written a relatively simple NSPersistentDocument application that uses CoreData to keep track of clients and specific events belonging to a given client. For some reason, if I open a file (say, by double-clicking it in the Finder) and immediately press Apple-s to re-save it, the file becomes zero bytes (in the Finder) and is unreadable. However, if I click on the data in the table views (the clients, for example, which causes the event list to update in the adjacent table view), THEN press Apple-s, it saves properly. It even over-writes the zero-byte file with the correct data if I didn't quit in the interim.

<http://www.cocoabuilder.com/archive/message/cocoa/2007/11/2/192085>

mmalc

_______________________________________________

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: 
 >NSPersistentDocument saving problem (From: Daniel Wambold <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.