More Related Content
More from Masayuki Nii (20)
Cocoa勉強会#36-iPhone OS 3.0で変更されたテーブルビュー
- 10. プログラム例
•
•
•
•
UITableViewCell *cell = [...生成と初期化...];
v2.0
cell.text = @"Oh my god!";
v3.0
•
•
•
cell.textLabel.text = @"Shine on me!";
cell.detailTextLabel.text = @"Absolutely!";
return cell;
9