Re: Path To Folder Where App Is
Re: Path To Folder Where App Is
- Subject: Re: Path To Folder Where App Is
- From: Adam <email@hidden>
- Date: Tue, 22 Mar 2005 00:49:37 -0500
Your advice sounds right. I am using
[manager copyPath:boardsFolderInBundle toPath:AGFIBS_PATH_TO_BOARDS
handler:nil];
to copy the folder from my app bundle to the application support
folder. However, my app launches and begins this copy of an entire
folder of images it needs to display. However, the app draws its view
before the copy is done resulting in missing content. Is there any way
to know that this operation has completed before moving on?
Adam
On Mar 21, 2005, at 11:00 PM, John C. Warner wrote:
On 21 Mar, 2005, at 10:43 PM, Adam wrote:
I have a folder named "boards" that is in the same folder as the app,
but its contents can not be stored in the bundle because the user
makes changes to its contents, I need to load files from this folder
so I need to tell my app the path to it relative to itself.
How can a non-admin user make changes if your app folder is located
under /Applications? They can't. The 'right' way to do this is to
store the default set of data in your app bundle, and copy it into a
~/Library/Application Support/ folder for each user.
-John
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden