Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: UserDefaults and first launch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UserDefaults and first launch



Hej Ludwig,

No, you should do nothing! The user defaults system will take care of all the file io for you, if needed.
So you don't have to worry about anything, certainly not a crash or installing a .plist file manually...

Is that right, that in this case the boolean value is null?
No, is will have the default value you have given it.


Maarten.


On 13 Feb 2007, at 19:04, Ludwig Villiger wrote:

Hello


My app checks a user default on each start-up. The problem is, that when the user launches the app the first time, the plist-file doesn't exist. Is that right, that in this case the boolean value is null? Or can this lead to a crash wile launching? Should I use the Apple Installer to copy the plist-file in the right place?


Thanks!

Ludwig


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Student-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >UserDefaults and first launch (From: Ludwig Villiger <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.