Top "Uicollectionviewcell" questions

UICollectionViewCell is a class from UIKit framework in iOS.

Could not cast value of type 'UICollectionViewCell'

I use a custom CollectionViewCell in my Storyboard. When I start the app I get this message: Could not cast …

xcode swift uicollectionview uicollectionviewcell
UICollectionView, simply fit cell to width?

Here's a simple UICollectionView in yellow The red arrow sets the width of the cell. (TBC: clicking on the pink …

ios uicollectionview uicollectionviewcell
UICollectionView's cell disappearing

What's happening Currently I have an application that uses two UICollectionViews inside a UITableView. This way I create a Pulse …

ios xcode uicollectionview uicollectionviewcell
UICollectionViewCells not appearing in a UICollectionView

As the title suggests I have a UICollectionView that is hooked up to a UIViewController through IB. I have a …

ios uicollectionview uicollectionviewcell
Reloading a UICollectionView using reloadData method returns immediately before reloading data

I need to know when reloading a UICollectionView has completed in order to configure cells afterwards (because I am not …

objective-c-blocks uicollectionview uicollectionviewcell completionhandler
UICollectionViewCell subclass init never run

I have added a collection view in viewDidLoad like this... self.collectionView = [[UICollectionView alloc] initWithFrame:CGRectMake(0, 0, 10, 10) collectionViewLayout:flowLayout]; self.collectionView.…

ios uicollectionview uicollectionviewcell
UICollectionView - Scrolling to first cell

I'm making use of UICollectionView and I need to scroll to first cell after click in a button. The button …

ios swift xcode6 uicollectionview uicollectionviewcell
UICollectionViewCell with rounded corners AND drop shadow not working

I want my UICollectionViewCells to have rounded corners and drop shadows but I have run into a problem where it …

ios objective-c calayer uicollectionviewcell
How do I use UILongPressGestureRecognizer with a UICollectionViewCell in Swift?

I would like to figure out how to println the indexPath of a UICollectionViewCell when I long press on a …

ios swift uigesturerecognizer uicollectionviewcell
UICollectionView registerClass: forCellWithReuseIdentifier method breaks UICollectionView

What's the role of registerClass:forCellWithReuseIdentifier: method? According to Apple's developer documentation it's supposed to "Register a class for use …

ios objective-c uicollectionview uicollectionviewcell