Top "Uicollectionview" questions

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

UICollectionViewCell with UIScrollView cancels didSelectItemAtIndexPath

I have a UICollectionView that horizontally scrolls to show one UICollectionViewCell at a time. Each UICollectionViewCell the has a vertically …

uiscrollview uicollectionview uicollectionviewcell
Identify Cell after Tap Location in UICollectionView

I have attached a UILongPressGestureRecognizer to a Collection View with the aim of the user hold finger on a cell …

ios uicollectionview uicollectionviewcell long-press
Drag and reorder - UICollectionview with sections

Is that possible to do drag and reorder from one section to another section from collectionview - iOS 9. Every time …

swift uicollectionview ios9 xcode7 uicollectionviewlayout
Customising position of header in UICollectionView layout causes NSInternalInconsistencyException error

I am trying to customise the positions of the headers in a UICollectionView using a subclassed UICollectionViewFlowLayout class (based loosely …

ios ios7 uicollectionview uicollectionviewlayout
UICollectionViewFlowLayout minimumInteritemSpacing doesn't work

I've got two problems with my UICollectionView: minimumInteritemSpacing doesn't work it overflows horizontally on iOS 6 I set up the layout …

ios objective-c cocoa-touch uicollectionview uicollectionviewlayout
Proper way to deal with cell reuse with background threads?

I have a UICollectionView, but the same methods should apply to UITableViews. Each of my cells contains an image I …

objective-c multithreading ios6 nsoperation uicollectionview
UICollectionView setLayout:animated: not preserving zIndex

I've noticed that when calling setLayout:animated in a UICollectionView to switch between two layouts, the currently visible cell doesn't …

ios uicollectionview z-index
UICollectionview scrollToItemAtIndexPath, not loading visible cells until animation complete

I have a UICollectionView with 142 Cells. 7.5 are visible at any one time. I'm moving a cell from indexPath 0 to say 100. …

swift animation scroll uicollectionview uicollectionreusableview
How we can get visible Cell IndexPath when a UICollectionView Loads its data initially

Is there any way that we can get indexPathsForVisibleItems when a UICollectionView loads its data initially . Basically I want all …

ios objective-c uiscrollview uicollectionview nsindexpath
How to make an UICollectionView with infinite paging?

I have a UICollectionView with 6 pages, and paging enabled, and a UIPageControl. What I want is, when I came to …

infinite-scroll uicollectionview scroll-paging