• 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: [iPhone] Application running for the very first time...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iPhone] Application running for the very first time...


  • Subject: Re: [iPhone] Application running for the very first time...
  • From: Mark Woollard <email@hidden>
  • Date: Thu, 01 Oct 2009 10:53:30 +0100

No they aren't - NSUserDefaults is the approach I use for this kind of thing

Sent from my iPhone

On 1 Oct 2009, at 09:32, Todd Heberlein <email@hidden> wrote:

I am wondering if there is a simple way to find out when my application is running for the VERY FIRST TIME on an iPhone?
So that I can set an integer variable once only at this moment...


What's the best way to do this?

Also, NSUserDefaults supports this basic capability. I'm just wondering if all these defaults for your app are visible from the settings application on the iPhone (it is too late and my brain is fried); that would screw up this approach.


Todd

_______________________________________________

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


  • Follow-Ups:
    • Re: [iPhone] Application running for the very first time...
      • From: James Lin <email@hidden>
References: 
 >Re: [iPhone] Application running for the very first time... (From: Todd Heberlein <email@hidden>)

  • Prev by Date: Re: Cannot get pixel color from NSBitmapImageRep
  • Next by Date: 10.6 specific crash
  • Previous by thread: Re: [iPhone] Application running for the very first time...
  • Next by thread: Re: [iPhone] Application running for the very first time...
  • Index(es):
    • Date
    • Thread