カスタムセルなどを使用してテーブルビューを設定しました:-
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{SWHNearYouCell *cell = (SWHNearYouCell *)[tableView
dequeueReusableCellWithIdentifier:@"NearYouCell"];
SWHNearYou *aPointer = [self.thingsNearYou objectAtIndex:indexPath.row];
cell.customNearYouLabel.text = aPointer.restrauntsNearYou;
return cell;
}
ボタンを押したときに customNearYouLabel のテキストを変更したいのですが、 -IBAction メソッドでセルへのポインターを取得する方法を考え出しました。
ありがとう