Hi,
if I take it well, you need this:
.h file:
NSArray *another_array;
.m file:
- (void)viewDidLoad {
...
NSArray *array = [[NSArray alloc] initWithObjects:@"English", @"Dutch", @"French", @"German", @"Greek", @"Italian", @"Japanese", @"Korean", @"Polish", @"Portuguese", @"Russian", @"Spanish", nil];
another_array = [[NSArray alloc]
initWithObjects:@"text when select: English",
@"text when select: Dutch",
@"text when select: French",
@"text when select: German",
@"text when select: Greek",
@"text when select: Italian",
@"text when select: Japanese",
@"text when select: Korean",
@"text when select: Polish",
@"text when select: Portuguese",
@"text when select: Russian",
@"text when select: Spanish",
nil];
...
}
- (void)pickerView

UIPickerView *)thePickerView didSelectRow

NSInteger)row inComponent

NSInteger)component {
// helloLabel.text = [languagesColumn objectAtIndex:row];
helloLabel.text = [another_array objectAtIndex:row];
}
Miv