Top "Uicollectionview" questions

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

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
UICollectionView cell selection and cell reuse

Upon cell selection, I want to handle changing the cell appearance. I figured the delegate method collectionView:didSelectItemAtIndexPath: & collectionView:…

ios objective-c uicollectionview
UICollectionView - dynamic cell height?

I need to display a bunch of collectionViewCells that have different heights. the views are too complex and I don't …

ios swift uicollectionview
UICollectionView auto scroll to cell at IndexPath

Before loading the collection view user sets the number of image in the array of collection view. All of the …

ios uicollectionview
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
How to center align the cells of a UICollectionView?

I am currently using UICollectionView for the user interface grid, and it works fine. However, I'd like to be enable …

ios uicollectionview
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
UICollectionView: how to detect when scrolling has stopped

I'm using a UICollectionView to scroll through a set of thumbnails quickly. Once scrolling ends, I'd like to display a …

ios objective-c ios6 uicollectionview
UICollectionView's cellForItemAtIndexPath is not being called

Only my second time using UICollectionView's and perhaps I have bitten off more than I can chew but nevertheless: I …

ios objective-c uicollectionview
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