2013-12-09から1日間の記事一覧
v0.20.3 を持ってきて、Edit Scheme から Executable のところから実行したいサンプルを選択する
#import <SDWebImage/UIImageView+WebCache.h> NSURL *userImageURL = [NSURL URLWithString:url]; // setImageWithURL が表示したい画像、placeholderImage が画像を取得してくる間での間とりあえず表示したい画像 [self.imageView setImageWithURL:userImageURL placeholderImage:[UIImage ima</sdwebimage/uiimageview+webcache.h>…
普通はこう書くけど、 UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"Cell"]; if (!cell) { cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:cellIdentifier]; } xib ファイルを使…