I have a couple of pickers in my app, and when they are displayed I
want them to show their current values. I have tried:
-(IBAction) setThePicker:(id) sender {
[picker selectRow:3 inComponent:0 animated:YES];
}
(hooked to a button, as a test) as well as just calling
[picker selectRow:indexOfCurrentValue inComponent:0 animated:YES];
from within my viewDidLoad method, but the picker does not change. I
am pretty sure my XIB is set up right and connected to the code.
I have found some sample code that seems like it should work, but it
doesn't. Anyone know how to make this work?
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]