Top "Uicollectionreusableview" questions

The UICollectionReusableView class defines the behavior for all cells and supplementary views presented by a collection view.

Custom Header in UICollectionView with Interface Builder without Storyboard

I'm trying to add a custom view to the header section of my UICollectionView. I have the xib file interface …

iphone ios uicollectionview uicollectionreusableview
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
Error casting value of type 'UICollectionReusableView' to 'MyApp.CSSectionHeader'

I have the following class: class CSSectionHeader: UICollectionReusableView { @IBOutlet var textLabel: UILabel! } I'm then trying to cast it like the …

swift casting uicollectionreusableview
detecting when an iOS UICollectionCell is going off screen

I'm having a UICollectionView that holds pictures as elements in its datastore. I want to load a high resolution pic …

ios uicollectionview uicollectionviewcell uicollectionreusableview