Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Settings Bundle not working properly

Settings Bundle not working properly
Thread Tools
Fresh-Faced Recruit
Join Date: Jun 2008
Status: Offline
Reply With Quote
Jul 16, 2008, 09:30 AM
 
Hi everybody,

I have a problem using the settings bundle. I have created my bundle and verified my .plist files with an XML validator. Unfortunatly when I execute my application for the first time it crashes! I notices that [[NSUserDefaults standardUserDefaults] floatForKey:kSettingsKeyFlipTime] for exemple returns 0 and [[NSUserDefaults standardUserDefaults] stringForKey:kSettingsKeyString] returns nil.

I discovered I had to go in Settings and view all my settings pages to make my application work. I really astonished of this behavior and I would appreciate your help because it's driving me crazy to go in Settings each time I launch my application from XCode (Build & Go).

Thank you a lot for your help.

Cyril
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:49 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2