NimbleKit - fast iOS app development

Settings Bundle

Problem discussions

Re: Settings Bundle

Postby apt » Fri Apr 30, 2010 9:56 am

Genius! :D
Adrian Thompson
Founder
http://www.taptapp.co.uk

NimbleKit Registered User: U853078901
User avatar
apt
NimbleKit Expert
 
Posts: 356
Joined: Fri Jan 29, 2010 11:52 pm
Location: Sheffield, UK

Re: Settings Bundle

Postby floz » Sat Jun 16, 2012 7:48 am

Hi there,

Also having troubles with the native Settings.bundle and getting values from it inside NK.

I've created the Settings.bundle as per these instructions posted earlier, here's what they look like:

settings.png
settings.png (28.55 KiB) Viewed 188 times


However, the following code

Code: Select all
var settings = new NKSettings();
NKAlert(settings.getValueForKey('AutoUpdate'));


always returns undefined:

The attachment settings.png is no longer available


Just don't know why. What am I doing wrong??
Attachments
undefined.png
undefined.png (29.59 KiB) Viewed 188 times
User avatar
floz
NimbleKit Guru
 
Posts: 261
Joined: Sat Feb 05, 2011 2:07 pm
Location: Newcastle, Australia

Re: Settings Bundle

Postby floz » Sun Jun 17, 2012 9:30 am

Anyone?

Here's a minimal (non-)working example...
Attachments
settings.zip
(23.07 KiB) Downloaded 24 times
User avatar
floz
NimbleKit Guru
 
Posts: 261
Joined: Sat Feb 05, 2011 2:07 pm
Location: Newcastle, Australia

Re: Settings Bundle

Postby sunny » Tue Jun 19, 2012 11:27 pm

Here is the fix in attachment. Don't forget to clean your project after you install updated version
Attachments
NimbleKit.zip
(3.71 MiB) Downloaded 31 times
User avatar
sunny
Staff
 
Posts: 2666
Joined: Sat May 30, 2009 5:18 am
Location: Palo Alto, California

Previous

Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 2 guests