On Jul 17, 2008, at 3:50 AM, Mitchell Livingston wrote:

How can I call it again if I don't know it moved? Waiting until it fails is a bit too late in the process. Sure, chances are the app won't move, but why should it ever fail? Storing it in the library folder is not a real good option.

Sure. Then just update it every time the Application starts. Or do something like

// I  need to access that one file

if (![[NSFileManager defaultFileManager]fileExistsAtPath:savedPath]) {
newPath = [[NSBundle mainBundle]pathForResource:@"Whatever" ofType:@"whatever"];
[self savePath:newPath];
}

//Use saved path

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to