Top "Uicollectionview" questions

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

Getting the screen location of a cell from a UICollectionView

This isn't so much a question as an explanation of how to solve this problem. The first thing to realize …

ios uicollectionview uicollectionviewcell
How to select item in collectionview programmatically?

I have a UICollectionView. The UICollectionView's datasource is a NSArray of students (from CoreData). I want the current student item …

ios iphone uicollectionview uicollectionviewcell
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
How to make Supplementary View float in UICollectionView as Section Headers do in UITableView plain style

I'm struggling to achieve a "floating section header" effect with UICollectionView. Something that's been easy enough in UITableView (default behavior …

iphone uitableview view uicollectionview supplementary
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
UICollectionView adding UICollectionCell

When I try to put UICollectionCell to UICollectionView in Interface Builder I can't put it with unknown reasons. The cell …

ios uicollectionview uicollectionviewcell
Set collectionView size. (sizeForItemAtIndexPath function is not working) Swift 3

I have a tableView and in every tableViewCell is a collectionView. I am trying to change the collectionView size with …

ios swift uicollectionview tableview
UICollectionView effective drag and drop

I am currently trying to implement the UITableView reordering behavior using UICollectionView. Let's call a UItableView TV and a UICollectionView …

scroll uiscrollview uicollectionview drag-and-drop
UICollectionView: current index path for page control

I'm using a UICollectionView with a flow layout to show a list of cells, I also have a page control …

ios objective-c pagination uicollectionview uipagecontrol
UICollectionView autosize height

How do I properly resize a UICollectionView so that it fully displays its contents? I have tried many things, including …

ios objective-c uicollectionview nslayoutconstraint