Top "Uicollectionviewcell" questions

UICollectionViewCell is a class from UIKit framework in iOS.

UICollectionView allow multiple selection for specific section

Is there a way to allow multiple selection only for a specific section? The code below affects all sections. [self.…

ios uicollectionview uicollectionviewcell didselectrowatindexpath
Adding padding to first and last cell of UICollectionView

I have subclassed UICollectionViewFlowLayout to get horizontal UICollectionView with paging like behavior. It works perfectly fine as long as UICollectionViewCell …

ios objective-c uicollectionview uicollectionviewcell uicollectionviewlayout
Can't get UICollectionView to display cells

I'm trying to get a UICollectionView to display inside a modally presented view controller. The app is for iPad iOS 7. …

ios ipad uicollectionview uicollectionviewcell uicollectionviewlayout
UICollectionView Cell Overlap

I have a horizontal UICollectionView. I want to make the cells overlap each other by a certain amount of 60 pixels …

iphone ios uicollectionview uicollectionviewcell uicollectionviewlayout
Animate UICollectionView cell size change and reposition surrounding cells

Goal: To animate the change of a cell's height and reposition surrounding cells. Scenario: Some cells in a collection view …

objective-c ios7 uicollectionview uicollectionviewcell uicollectionviewlayout
How can I override a setter from a SuperClass in Swift with Xcode 6.3 Beta2?

My SuerClass is UICollectionViewCellwhich has a property: var selected: Bool My class is MyClass : UICollectionViewCell { func setSelected(selected: Bool) { super.…

ios swift inheritance overriding uicollectionviewcell
Can´t add items to UICollectionView inside UIView xib

Objective I wanna place my (BusinessViewTableHeader: UIView) as tableView header: tableView.tableHeaderView = BusinessViewTableHeader.instanceFromNib() as! BusinessViewTableHeader Inside BusinessViewTableHeader there is …

ios swift uiview uicollectionview uicollectionviewcell
UICollectionView Cell + UiLabel with AutoLayout

I'm trying to pin an UILabel to it's parent cell. I added four constraints (top, leading, trailing, bottom) which works …

ios iphone uicollectionview autolayout uicollectionviewcell
NSIndexPath does not recognize item, section, or row as properties

When iOS 7.1 sends my viewController: - (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath The indexPath object does not recognize the …

ios uicollectionview uicollectionviewcell nsindexpath
UICollectionView estimatedItemSize - last cell is not aligned

I want to make a usual horizontalScrolling flowLayout UICollectionView with estimatedItemSize and preferredLayoutAttributesFittingAttributes in cell. But there is something wrong …

ios objective-c uicollectionview uicollectionviewcell