Re: Path To Folder Where App Is
Re: Path To Folder Where App Is
- Subject: Re: Path To Folder Where App Is
- From: Charilaos Skiadas <email@hidden>
- Date: Mon, 21 Mar 2005 23:59:43 -0600
On Mar 21, 2005, at 11:49 PM, Adam wrote:
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?
You shouldn't rely too much on this data being there!! What if the user
decides to clean stuff up and kills the whole folder?
Does the above code run each time your app loads, or only if the files
don't exist?
Your view should probably first check if the files exist, and then, if
they don't, use the ones stored with your application instead.
Adam
Haris
_______________________________________________
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