Top "Uicollectionviewlayout" questions

The UICollectionViewLayout class is an abstract base class that is used to generate layout information for a collection view.

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 - Horizontal scroll, horizontal layout?

I have a UIScrollView that lays out a grid of icons. If you were to imagine the layout for the …

ios layout uicollectionview uicollectionviewlayout
Paging UICollectionView by cells, not screen

I have UICollectionView with horizontal scrolling and there are always 2 cells side-by-side per the entire screen. I need the scrolling …

ios objective-c uicollectionview uicollectionviewlayout
UICollectionView Custom Cell to fill width In Swift

I've been trying to figure-out how can i make the cell fill the width, as you can see in the …

ios swift uicollectionview uicollectionviewlayout
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
Left Align Cells in UICollectionView

I am using a UICollectionView in my project, where there are multiple cells of differing widths on a line. According …

ios objective-c uicollectionview uicollectionviewlayout
UICollectionView and Supplementary View (header)

Trying to add a a Supplementary view into my UICollectionView as a header. I'm having issues getting it to work. …

ios objective-c uicollectionview uicollectionviewlayout
UICollectionView Layout Issue

I am using UICollectionView using the flow layout. I have made a custom UICollectionViewCell for the same. But on running …

ios uicollectionview uicollectionviewlayout
UICollectionViewFlowLayout Size Warning When Rotating Device to Landscape

We are using a UICollectionView to display cell that cover the full screen (minus the status and nav bar). The …

ios objective-c uicollectionview uicollectionviewlayout