Top "Uicollectionviewcell" questions

UICollectionViewCell is a class from UIKit framework in iOS.

UICollectionView Self Sizing Cells with Auto Layout

I'm trying to get self sizing UICollectionViewCells working with Auto Layout, but I can't seem to get the cells to …

ios uicollectionview autolayout uicollectionviewcell
How to set cell spacing and UICollectionView - UICollectionViewFlowLayout size ratio?

I'm trying to add UICollectionView to ViewController, and I need to have 3 cells 'per row' without blank space between cells (…

swift uicollectionview uicollectionviewcell uicollectionviewlayout
UICollectionView Set number of columns

I just started learning about UICollectionViews. I'm wondering if anyone knows how to specify the number of columns in a …

ios objective-c xcode uicollectionview uicollectionviewcell
How to change UICollectionViewCell size programmatically in Swift?

I have a UICollectionView with a segmented control to switch between data. But how do I change the UICollectionViewCell size …

ios swift uicollectionview uicollectionviewcell
Adding rounded corner and drop shadow to UICollectionViewCell

So I already went through various posts on adding 2nd view for adding shadow, but I still cannot get it …

iphone ios uicollectionviewcell
Change UICollectionViewCell size on different device orientations

I am using an UICollectionView with UICollectionViewFlowLayout. I set the size of each cell through the collectionView:layout:sizeForItemAtIndexPath: When …

ios uicollectionview uicollectionviewcell
Dynamic cell width of UICollectionView depending on label width

I have a UICollectionView, that loads cells from reusable cell, which contains label. An array provides content for that label. …

ios objective-c swift uicollectionview uicollectionviewcell
How to create UICollectionViewCell programmatically

I'm trying to create UICollectionView programatically. I need to add labels inside the cells, so I Created CollectionViewCell class. This …

swift uicollectionview uicollectionviewcell
the behavior of the UICollectionViewFlowLayout is not defined, because the cell width is greater than collectionView width

2015-08-18 16:07:51.523 Example[16070:269647] the behavior of the UICollectionViewFlowLayout is not defined because: 2015-08-18 16:07:51.523 Example[16070:269647] the item width must be …

uicollectionview ios9 uicollectionviewcell uicollectionviewlayout xcode7-beta5
Dynamic size UICollectionView cell

1) How can i achieve as shown in image with UICollectionView? 2) I've tried -(CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout …

ios objective-c uicollectionview uicollectionviewcell uicollectionviewlayout