画面の脇でスクロールする画面が欲しかったので UIScrollViewを使おうかと思ったのですが、 カスタムセルを使いたかったので幅の狭いTableViewを作ってみた。 (Objective-C,Xcode4.3) 1.Storyboardで、オブジェクトライブラリからViewの上に TableViewをD&Dして高さ・幅を調整 2.ViewController.h #import <UIKit/UIKit.h> IBOutlet UITableView *tableView_; @interface MyViewController : UIViewController<UITableViewDataSource,UITableViewDelegate>{ } @end 3.ViewController.m にメソッドを追加 #pragma mark - Table view data