Re: MyDocument File Save Overrides.
Re: MyDocument File Save Overrides.
- Subject: Re: MyDocument File Save Overrides.
- From: Kevin Bracey <email@hidden>
- Date: Tue, 21 Nov 2006 13:46:55 +1300
Sorry Guy's my bug, I was losing the data before it arrived at
fileWrapper...
On 21/11/2006, at 12:09 PM, Kevin Bracey wrote:
Hi All,
I've got a file saving problem. I think I'm missing an override in
MyDocument somewhere but I'm unsure which.
I've implemented fileWrapperOfType: error: and readFromFileWrapper:
ofType: error:
and these work great if the document hasn't been saved, I get
presented with a Save Sheet and my Document or Package get saved.
but after making additional changes and the document becoming
dirty, I then do a save and it doesn't save, in fact it zeros out
the file leaving an empty file.
Do I need to override something else, if so which one? Or do I have
a problem in my initial FileWrapper overrides.
Cheers
Kevin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden