このタイトルですべての質問を読みました。FavoritosViewController.m 私が持っている:
- (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath {
favcolCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:@"fav" forIndexPath:indexPath];
[[cell imageCell]setImage:[UIImage imageNamed:[arrayimages objectAtIndex:indexPath.item]]];
return cell;
}
favcolCell.h で私は持っています:
@property (retain, nonatomic) IBOutlet UIImageView *imageCell;
favcolCell.m で私は持っています:
@synthesize imageCell;
(...)
- (void)dealloc {
[imageCell release];
[super dealloc];
}
私は何が欠けていますか?
編集:
解決策: 適切なクラス登録を行います。