2008-12-02から1日間の記事一覧

iPhone SDKレシピ1:UITableViewで縞模様(ストライプ)

UITableViewで行を縞模様にするためには、UITableViewCellの背景を全てクリアしてから、backgroundViewのbackgroundColorを変更する。ソースはこんな感じ。 UITableViewDelgate#tableView: cellForRowAtIndexPath: - (UITableViewCell *)tableView:(UITableV…