Top "Uicollectionviewdelegate" questions

In iOS versions 6.0 and above, The UICollectionViewDelegate protocol defines optional methods that allow you to manage the selection and highlighting of items in a collection view and to perform actions on those items.

Change Background of UICollectionView Cell on Tap

I have a UICollectionView that I have created programmatically. I would like for the collection view to behave in the …

ios objective-c uicollectionview uicollectionviewcell uicollectionviewdelegate
UICollectionView: How to define a UICollectionViewLayout that supports horizontally and vertically scrolling?

At the moment I'm trying to create an UICollectionView, that should display a simple excel-like-spreadsheet, with rows and columns. This …

objective-c ios6 uicollectionview uicollectionviewdelegate
Cell spacing in UICollectionView minimumInteritemSpacing

How to do set cell spacing in a section of UICollectionView? UICollectionView there is a property minimumInteritemSpacing, I need to …

ios objective-c uicollectionviewcell uicollectionviewdelegate
UICollectionViewLayout layoutAttributesForElementsInRect and layoutAttributesForItemAtIndexPath

I'm implementing a custom flow layout. It has 2 main methods for overriding to determine placement of cells: layoutAttributesForElementsInRect and layoutAttributesForItemAtIndexPath. …

ios objective-c uicollectionview uicollectionviewlayout uicollectionviewdelegate
Using UICollectionView with CoreData and NSFetchedResultsController

I recently started another project exploring Swift a little bit. I want to implement a Collection View using a NSFetchedResultsController …

ios swift uicollectionview nsfetchedresultscontroller uicollectionviewdelegate
UICollectionViewDelegateFlowLayout methods not called in Swift 2.3 App

None of my UICollectionViewDelegateFlowLayout methods are called. Can somebody help me find a solution? In my ViewDidLoad method, I have …

swift delegates uicollectionviewdelegate