Created
July 22, 2012 02:48
-
-
Save inonb/3158036 to your computer and use it in GitHub Desktop.
[iOS] テーブルセルのプレースホルダ画像
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
・https://dl.dropbox.com/u/26298425/3daysiOSApp/placeholder.png | |
の画像をDL | |
・プロジェクトに追加(ファイルをナビゲータエリアにドラッグ) | |
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath | |
{ | |
// セルの初期化などの後に… | |
cell.imageView.image = [UIImage imageNamed:@"placeholder"]; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment