Am 02.07.2010 um 10:01 Uhr schrieb sebi:

When I download an image and want to keep it for further reference, I assume I have to store it in the documents directory and not in the app bundle, because otherwise I would invalidate the signature and the app wont run anymore. Is this correct?

You should always regard the app bundle as read only. The application might have been installed with administrator rights so that the current user does not have write access.

If I can't store the images in the app bundle together with the others I'm reduced to two options, if I see it correctly: Duplicate the original images to the documents directory (waste of memory) or manage two image folders (administrative overhead). Does anyone have a better idea? Maybe use of file-aliases?

First, it seems the Application Support folder might be a better place than Documents, depending on the nature of those images. Are they the actual data that the user is creating (put them in Documents) or are they material that the user uses to create his documents? (put them in Application Support)

To answer the question: Just copy them. That also has the benefit that the user can delete them if he wants to.


Andreas
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to