Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 06-09-2009, 06:59 PM   #3 (permalink)
FlyingDiver
Former NeXTStep Developer
 
Join Date: Mar 2009
Posts: 997
Default

Code:
	wheelPicker = [wheelPrefs objectForKey:@"wheelData"];
Gets an object from the preferences. You should have used:

Code:
        [wheelPrefs setObject: wheelPicker forKey:@"wheelData"];
But that's probably not going to work either, since you don't want to actually try to save the picker. You want to save the value of the picker, more like:

Code:
	[wheelPrefs setInteger: [wheelPicker row] forKey:@"pickerRow"];
joe
FlyingDiver is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,558
Threads: 89,129
Posts: 380,269
Top Poster: BrianSlick (7,105)
Welcome to our newest member, thesooty
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:26 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.