UITableViewを作成しました。
配列からいくつかのカスタムデータを表示しようとしていますが、何をしてもテキストが表示されません。
NSLogは、正しいテキストと正しい金額を教えてくれますが、テーブルセルにテキストがありません。
コードは次のとおりです。
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
static NSString *CellIdentifier = @"Cell";
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil) {
cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleValue1 reuseIdentifier:CellIdentifier];
}
cell.textLabel.text = @"test";
[self configureCell:cell atIndexPath:indexPath];
return cell;
}