I have subclassed UICollectionViewCell as Cell and defined a property: @property (nonatomic, strong) IBOutlet UIImageView *imageView;
I have a Cell.xib whose owner is Cell. The Cell Object contains a UIImageView which is connected to the above property. In collectionView:cellForItemAtIndexPath I do static NSString *cellIdentifier = @"cvCell"; CVCell *cell = (CVCell *)[collectionView dequeueReusableCellWithReuseIdentifier:cellIdentifier forIndexPath:indexPath]; [cell.imageView setImage:self.sampleImage]; return cell; sampleImage is defined as @property (nonatomic, strong) UIImage *sampleImage; and initialized by self.sampleImage = [UIImage imageWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"earth" ofType:@"png"]]; My problem : The image is not displayed in the Cell … what am I missing? -koko _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com