Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

CGagnon

macrumors regular
Original poster
Jun 24, 2007
200
0
What I have is a UITableView on top of a UIPickerView. What I want is to be able to select a row in myPickerView which will reload myTableView with the respective data.

For example, if myPickerView has the objects "colors, sizes" when I select "colors" I want the myTableView to display "red, blue, yellow" and if I select "sizes" it changes to "extra small, small, medium, large, extra large"

I tried to put that as simply as possible if you need more info just let me know. I assume I need to put something into the

Code:
- (void)pickerView:(UIPickerView *)pickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)component



I figured it out. Thanks for all the help though!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.