The UICollectionView class manages an ordered collection of data items and presents them using customizable layouts.
I have cells of varying height on a horizontally scrolling UICollectionView that appears to evenly distribute the cells vertically leaving …
ios uicollectionview uicollectionviewlayoutI've added a UISearchBar to a UICollectionView and in the delegate searchBar:textDidChange: filter my model and call [collectionView reloadData]. …
ios keyboard uicollectionview uisearchbar reloaddataI'm trying to add a custom view to the header section of my UICollectionView. I have the xib file interface …
iphone ios uicollectionview uicollectionreusableviewI want to make a usual horizontalScrolling flowLayout UICollectionView with estimatedItemSize and preferredLayoutAttributesFittingAttributes in cell. But there is something wrong …
ios objective-c uicollectionview uicollectionviewcellI'm using AutoSizing cells with Autolayout and UICollectionView. I can specify constraints in code on cell initialization: func configureCell() { snp.…
ios swift uicollectionview autolayout autosizeSo I'm currently working on a project that has a button that adds cells to a UICollectionView and then needs …
ios6 uicollectionview nsindexpathI have setup a UICollectionView with a FlowLayout that leaves no space in between cells in either the vertical or …
ios swift uicollectionview uicollectionviewcellI know the documented advice is to use UICollectionViewFlowLayout if you are doing anything "like a grid or a line-based …
ios uicollectionview uicollectionviewlayoutIf I understand correctly, the content of a UICollectionViewCell should go inside its contentView property and the background into backgroundView. …
iphone ios interface-builder uicollectionview uicollectionviewcellIn my project I used a tableView inside a collectionView and also I used a pageControl. When I swipe the …
swift uitableview uicollectionview swift3 pagecontrol