Top "Uicollectionview" questions

The UICollectionView class manages an ordered collection of data items and presents them using customizable layouts.

Cell spacing in UICollectionView

How do I set cell spacing in a section of UICollectionView? I know there is a property minimumInteritemSpacing I have …

ios objective-c uicollectionview
Fatal error: unexpectedly found nil while unwrapping an Optional values

I was using an UICollectionView in Swift but I get when I try to change the text of the cell's …

ios swift uicollectionview
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
UICollectionView spacing margins

I have a UICollectionView which shows photos. I have created the collectionview using UICollectionViewFlowLayout. It works good but I would …

ios uicollectionview uikit
Creating a UICollectionView programmatically

I'm looking for a guide or tutorial that will show me how to set up a simple UICollectionView using only …

ios objective-c cocoa-touch uicollectionview
How to set UICollectionViewCell Width and Height programmatically

I am trying to implement a CollectionView. When I am using Autolayout, my cells won't change the size, but their …

swift uicollectionview
How to make a simple collection view with Swift

I'm trying to learn how to use UICollectionView. The documentation is a little hard to understand and the tutorials that …

ios swift uicollectionview
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
UICollectionView current visible cell index

I am using UICollectionView first time in my iPad application. I have set UICollectionView such that its size and cell …

ios objective-c ipad uicollectionview