Actually, I think you'll need to cut in before the file wrapper gets
made - it looks like it does load the file content into memory.
So, instead, override - (BOOL)readFromURL:(NSURL *)absoluteURL ofType:
(NSString *)typeName error:(NSError **)outError
and then you can get at the original URL
On 24/07/2009, at 5:46 AM, Korei Klein wrote:
I'm trying to use the document architecture in an application that
will create documents for some very big files. I'd like not to have
an entire file in memory at once. To use the document architecture,
I'm subclassing NSDocument and overridi
I'm trying to use the document architecture in an application that will
create documents for some very big files. I'd like not to have an
entire file in memory at once. To use the document architecture, I'm
subclassing NSDocument and overriding the readFromFileWrapper method.
As far as I can
I'm trying to use the document architecture in an application that will
create documents for some very big files. I'd like not to have an
entire file in memory at once. To use the document architecture, I'm
subclassing NSDocument and overriding the readFromFileWrapper method.
As far as I can