Thanks Graham, here's what I'm thinking.  The documents for my app are 
fileWrappers.  Before the document is saved for the first time I can copy the 
files to a temp folder and during a save move them into the fileWrapper.  I 
guess I need to just abandon the whole NSData idea altogether.  Too bad.

On Feb 3, 2010, at 9:19 AM, Graham Cox wrote:

> 
> On 04/02/2010, at 1:08 AM, cocoa-dev wrote:
> 
>> Is there an alternative to capture the data of a wrapper and a folder?
> 
> Not really, because of what these things are. At best a folder could be 
> reduced to a tree of data objects, which is what a wrapper is. But to reduce 
> an arbitrary folder to a single data item is inadvisable as the size of that 
> data is potentially unbounded.
> 
> You could copy the file/folder to a location within your app's support 
> directory and save the path to it, perhaps?
> 
> --Graham
> 
> 

_______________________________________________

Cocoa-dev mailing list ([email protected])

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/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to