Re: notification when app is moved
Re: notification when app is moved
- Subject: Re: notification when app is moved
- From: Omar Qazi <email@hidden>
- Date: Thu, 17 Jul 2008 11:26:34 -0700
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 (email@hidden)
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:
This email sent to email@hidden