• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: notification when app is moved
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: notification when app is moved


  • Subject: Re: notification when app is moved
  • From: Devon Ferns <email@hidden>
  • Date: Thu, 17 Jul 2008 10:00:18 -0400

Why not just call it every time it starts up? I can't imagine the overhead of the API call is very high.

Devon.

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.
On Thursday, July 17, 2008, at 12:09AM, "Omar Qazi" <email@hidden> wrote:
On Jul 16, 2008, at 8:28 PM, Mitchell Livingston wrote:

But if the app is moved, the string that was previously returned from the call is no longer valid.
So... call it again. You can do this whenever the user starts your application, or when the call returns an error saying that it can't find the file.

You might be worrying about this too much. How often will a user move your application? If these files don't change you might even consider copying them to the user's library folder the first time your app is run.

Omar Qazi
Hello, Galaxy!
1.310.294.1593



_______________________________________________

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
_______________________________________________

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


References: 
 >notification when app is moved (From: Mitchell Livingston <email@hidden>)
 >Re: notification when app is moved (From: Omar Qazi <email@hidden>)
 >Re: notification when app is moved (From: Mitchell Livingston <email@hidden>)
 >Re: notification when app is moved (From: Omar Qazi <email@hidden>)
 >Re: notification when app is moved (From: Mitchell Livingston <email@hidden>)

  • Prev by Date: Sign extension in NSNumber / 10.4 SDK???
  • Next by Date: Inverse Regex Library?
  • Previous by thread: Re: notification when app is moved
  • Next by thread: Re: notification when app is moved
  • Index(es):
    • Date
    • Thread