私はコーディングを始めたばかりで、チュートリアルを見て Google に投稿された論文を見て独学しています。南イリノイ大学の Seth Whiting と Mark Dixon が投稿した iPhone アプリケーションの論文に従っています。それを修正する方法がわからない。エラー: 単項式への無効な引数タイプ 'NSString *'
-(NSString*)pickerView:(UIPickerView*)pickerView titleForRow:(NSInteger)rowforComponent: (NSInteger)component{
if (component==clientComponent){
return [clientName objectAtIndex:row];
}
if (component==bxComponent) {
return [problemBx objectAtIndex:row];
}
if (component==antComponent) {
return [anteCedent objectAtIndex:row];
}
if (component==conComponent){
return [conSequence objectAtIndex:row];
}
}