Top "Uicollectionviewcell" questions

UICollectionViewCell is a class from UIKit framework in iOS.

UIImageView in custom UICollectionViewCell returning nil all the time

OK in my story board I have made a UICollectionView with 3 cells. One of the cells I made a custom …

ios objective-c uicollectionviewcell
UICollectionView 3 column grid, 1px space?? (image included)

I have setup a UICollectionView with a FlowLayout that leaves no space in between cells in either the vertical or …

ios swift uicollectionview uicollectionviewcell
Defining UICollectionViewCell with nib

If I understand correctly, the content of a UICollectionViewCell should go inside its contentView property and the background into backgroundView. …

iphone ios interface-builder uicollectionview uicollectionviewcell
UICollectionViewCell with UIScrollView cancels didSelectItemAtIndexPath

I have a UICollectionView that horizontally scrolls to show one UICollectionViewCell at a time. Each UICollectionViewCell the has a vertically …

uiscrollview uicollectionview uicollectionviewcell
Identify Cell after Tap Location in UICollectionView

I have attached a UILongPressGestureRecognizer to a Collection View with the aim of the user hold finger on a cell …

ios uicollectionview uicollectionviewcell long-press
systemLayoutSizeFitting ignoring layout constraints and using image view intrinsic size

I'm using a custom layout for a UICollectionView. My cell should have fixed width and flexible height. The cell is …

ios swift uicollectionviewcell intrinsic-content-size
Can't add textLabel to a UICollectionViewCell?

I have a class file that is a subclass of the UICollectionViewController class. In my cellForItemAtIndexPath method, I am trying …

ios swift uicollectionview uicollectionviewcell textlabel
UICollectionView dynamic cell height (Pinterest layout)

I'm trying to achieve Pinterest layout in my app and I used the following delegate method to achieve that and …

swift uicollectionviewcell pinterest
UICollectionView keep horizontal list scroll position

I have some horizontal UICollectionViewCell in my UICollectionView. My problem is that if I scroll the horizontal list in the …

ios swift uicollectionview uicollectionviewcell horizontallist
detecting when an iOS UICollectionCell is going off screen

I'm having a UICollectionView that holds pictures as elements in its datastore. I want to load a high resolution pic …

ios uicollectionview uicollectionviewcell uicollectionreusableview