change, so I am hopeful...
Thanks again and all the best,
Keith
- Original Message
From: Michael Nickerson <[EMAIL PROTECTED]>
To: Keith Blount <[EMAIL PROTECTED]>
Cc: Cocoa-Dev List
Sent: Thursday, May 8, 2008 5:45:10 PM
Subject: Re: Saving only required files in a file wrapper
On May 8, 2008, at 7:30 AM, Keith Blount wrote:
Apologies for so soon a follow up, but I've just been experimenting
with -writeToURL:ofType:forSaveOperation:originalContentsURL:error:
and the results are disastrous. It turns out that *every single
time* it is invoked, absoluteURL is a temp
write the whole thing out every time...
Thanks again and all the best,
Keith
- Original Message
From: Ken Thomases <[EMAIL PROTECTED]>
To: Graham Cox <[EMAIL PROTECTED]>
Cc: Keith Blount <[EMAIL PROTECTED]>; Cocoa-Dev List
Sent: Thursday, May 8, 2008 3:36:05 AM
Subject: Re
he
best way of doing this, and the (usually excellent) docs seem a little obtuse
in this area.
Many thanks again,
Keith
- Original Message
From: Ken Thomases <[EMAIL PROTECTED]>
To: Graham Cox <[EMAIL PROTECTED]>
Cc: Keith Blount <[EMAIL PROTECTED]>; Cocoa-Dev List
Sent:
On May 7, 2008, at 9:06 PM, Graham Cox wrote:
On 8 May 2008, at 10:26 am, Keith Blount wrote:
The trouble with all of these methods is that they tell you not to
rely on fileURL
My interpretation of that advice is that at the time the read... and
write... methods are called, the document h
On 8 May 2008, at 10:26 am, Keith Blount wrote:
The trouble with all of these methods is that they tell you not to
rely on fileURL
My interpretation of that advice is that at the time the read... and
write... methods are called, the document hasn't set up -fileURL, so
in that sense you
the best,
Keith
- Original Message
From: Ken Thomases <[EMAIL PROTECTED]>
To: Keith Blount <[EMAIL PROTECTED]>
Cc: cocoa-dev@lists.apple.com
Sent: Wednesday, May 7, 2008 10:46:39 PM
Subject: Re: Saving only required files in a file wrapper?
Hi,
On May 7, 2008, at 3:08 PM, K
Hi,
On May 7, 2008, at 3:08 PM, Keith Blount wrote:
Many thanks for your response...
Sure thing. I'm happy to flail in the dark and guess wildly with the
best of them. ;)
Hmm, I think you're right. I overrided -saveDocument: because it
looked as though -writeToURL: and all of the othe
Hi Ken,
Many thanks for your response... Hmm, I think you're right. I overrided
-saveDocument: because it looked as though -writeToURL: and all of the other
-write... methods expected you to write all the data at any one time. It's
possible for my file packages to run to hundreds of megabytes,