さて、私は Xcode で基本的な UICollectoion ビュー アプリを構築しています。Ray Wenderlich Web サイトのチュートリアルから離れて、実行するポイントに到達すると、写真が検索され、次の行でエラーが発生します。コード...
- (UICollectionViewCell *)collectionView:(UICollectionView *)cv cellForItemAtIndexPath:(NSIndexPath *)indexPath {
UICollectionViewCell *cell = [cv dequeueReusableCellWithReuseIdentifier:@"FlickrCell " forIndexPath:indexPath]; //< error on this line
cell.backgroundColor = [UIColor whiteColor];
return cell;
}
これを修正し、アプリの実行を継続できるようにするにはどうすればよいですか?