2011-06-09 追記 UITableViewCell の Identifier 設定を忘れてたので追記しました。 UINib を使うと簡単に Nib で定義した UITableViewCell が使える。 今回のサンプル: 次に CustomCell クラスの実装(*.m/*.h)を作成する。こんな感じ。 CustomCell.h @interface CustomCell : UITableViewCell { } @property (nonatomic, retain) IBOutlet UILabel* nameLabel; @property (nonatomic, retain) IBOutlet UILabel* dateLabel; @property (nonatomic, retain) IBOutlet UILabel* descLabel; @property
![Cocoaの日々: [iOS] UINib を使ったカスタム UITableViewCell の作り方](https://cdn-ak-scissors.b.st-hatena.com/image/square/441ff045d94791f73d3d3af01646ae18679f9e4c/height=288;version=1;width=512/http%3A%2F%2F2.bp.blogspot.com%2F-t_YVS1l1FPs%2FTdfaONcLmoI%2FAAAAAAAAGI0%2FS6V6QT5QAxc%2Fs1600%2F110522-0003.jpg)