Skip navigation.
 
mlRe: NSPersistentDocument saving problem
FROM : mmalc crawford
DATE : Wed Jan 16 23:30:55 2008

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

Related mailsAuthorDate
mlNSPersistentDocument saving problem Daniel Wambold Jan 16, 23:03
mlRe: NSPersistentDocument saving problem mmalc crawford Jan 16, 23:30