Re: determining first run for drag and drop install/config
Re: determining first run for drag and drop install/config
- Subject: Re: determining first run for drag and drop install/config
- From: Murat Konar <email@hidden>
- Date: Tue, 26 Jun 2007 13:19:22 -0700
There's nothing system wide.
Easiest thing to do would be to write the app's version into its
preference file the first time a new version of your app is run.
Check the version in the prefs file whenever the app is launched and
if it's different (or the pref file doesn't exist), you can conclude
that this version of your app is being run for the first time.
_murat
On Jun 26, 2007, at 1:13 PM, Jaime Magiera wrote:
Hello folks,
I've read the Software Delivery Guide and searched the web/
archives, but still can't see what folks are checking against to
determine first run of an app. I understand overriding
applicationShouldOpenUntitledFile. However, it's unclear what folks
are checking against to see if the app is freshly installed. Should
I just be relying on the existence of my app's config files
(checking version numbers when the files already exist)? Is there
something system wide?
I'm trying to create a drag-n-drop install experience where a
configuration window opens when a new version of the app is launched.
_______________________________________________
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