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 01:02:28 -0500
On Mar 22, 2005, at 12:59 AM, Charilaos Skiadas wrote:
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.
It only does the copy if the folder does not exist. The problem is
there is no one file to check. It needs about 25 images to be there for
it to work.
Adam
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