Top "Uicollectionview" questions

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

UICollectionView Assertion failure

I m getting this error on performing insertItemsAtIndexPaths in UICollectionView Assertion failure in: -[UICollectionViewData indexPathForItemAtGlobalIndex:], /SourceCache/UIKit/UIKit-2372/UICollectionViewData.…

objective-c ios6 uicollectionview
add custom header to collection view swift

I am trying to add header to collectionView using custom xib file. I created the xib file with class implementing …

swift uicollectionview uicollectionreusableview
Different cell size in UICollectionview

In my iphone app,I am showing images on a collection view. I fetch the images from urls,with urls …

iphone ios uicollectionview uicollectionviewcell
Where to highlight UICollectionViewCell: delegate or cell?

According to the Collection View Programming Guide one should handle the visual state of the cell highlights in the UICollectionViewDelegate. …

ios ios6 uicollectionview uicollectionviewcell
UICollectionView scrolling in both directions

I made a UICollectionView with a vertical scroll. The width of the cell is more than than the screen width, …

ios scroll uicollectionview uicollectionviewlayout
How can I customize the selection state of my UICollectionViewCell subclass?

I have a custom UICollectionViewCell subclass that overwrites initWithFrame: and layoutSubviews to setup its views. However, I'm now trying to …

iphone objective-c ios uicollectionview uicollectionviewcell
UICollectionViewCell Border / Shadow

When building an iPad App, how can you draw a border around a UICollectionViewCell? More details: I implemented a class …

objective-c uicollectionview uicollectionviewcell
How to get the rect of a UICollectionViewCell?

UITableView has the method rectForRowAtIndexPath:, but this does not exist in UICollectionView. I'm looking for a nice clean way to …

ios uitableview ios6 uicollectionview
UICollectionView assertion error on stale data

In the course of trying to unload one batch of images from my collection view and then replace them with …

uicollectionview ios7
UICollectionView performance - _updateVisibleCellsNow

I'm working on a custom UICollectionViewLayout that displays cells organized by day/week/month. It is not scrolling smooth, and …

ios objective-c uicollectionview