Hi,

The NSDocument object in my document-based app contains an array of custom 
objects, which in their own turn contain an NSImage property. Eg. my document 
represents a "book", the pages are stored in an array, and each page has its 
own associated "icon" stored as a NSImage property.

I'm using NSKeyedArchiver for storing and loading the documents, and this works 
as expected. I want to make my documents available for download on a web site, 
and to facilitate this I decided to put each document in its own zip-archive, 
using the standard Finder "Compress" functionality. Again, this almost works as 
expected, with just one problem: after downloading, decompressing the archive 
and loading the document into my app, all the pages seem to have "lost" their 
icon.

-- 
Luc Van Bogaert

_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to