Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 06-09-2009, 05: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
 
Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Online Users: 327
24 members and 303 guests
adison, ashish1405, crooksy88, Erle, Eskema, Falcon80, gbaldwin9, h2h, Hololon, iSdkDev, JimGeldermann, JJJohan, jyu, Leopard, MarkC, Momeks, neil_l, NeoNate, opipes, SecuritySupportAVZZ, tester, wilky94, ZunePod
Most users ever online was 779, 05-11-2009 at 09:55 AM.
» Stats
Members: 24,240
Threads: 39,016
Posts: 171,115
Top Poster: smasher (2,570)
Welcome to our newest member, SecuritySupportAVZZ
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 06:42 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.