Top "Uicollectionview" questions

The UICollectionView class manages an ordered collection of data items and presents them using customizable layouts.

UICollectionView special horizontal flow - multiple sections

I have a UICollectionView there is used differently depending on device orientation. The image describe what I have and what …

objective-c ipad uicollectionview uicollectionviewlayout
How to create a 'sticky' footer for a UICollectionView?

What is the best method to provide a footer for a UICollectionView that "sticks" to the bottom of the screen …

ios ios6 uicollectionview uicollectionreusableview
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
UICollectionView performBatchUpdates: animates all sections

I'm writing a custom UICollectionViewFlowLayout and I've noticed that initialLayoutAttributesForAppearingItemAtIndexPath: and initialLayoutAttributesForAppearingDecorationElementOfKind:atIndexPath: will be called for all sections when …

objective-c ios6 uikit uicollectionview uicollectionviewlayout
UICollectionView calling scrollViewDidScroll: when popped from the navigation stack

I have a navigation controller, its root view controller is of type CollectionViewControllerA. Upon selecting an item, I have a …

ios uiscrollview uinavigationcontroller crash uicollectionview
UICollectionView - Downloading images and effective reloading of data, like Instagram

I noticed that apps like Intagram uses UICollectionViews to display the feed of photos. I also noticed that the cells …

ios objective-c cocoa-touch afnetworking uicollectionview
iOS UICollectionView - default flow, fill rows from right to left

I'm using in one of my apps UICollectionView, with custom cells but with default flow. Currently this view shows 3 cells …

ios iphone objective-c uicollectionview uicollectionviewlayout
UICollectionViewFlowLayout estimatedItemSize does not work properly with iOS12 though it works fine with iOS 11.*

For UICollectionView's dynamic height cells we use, if let layout = self.collectionViewLayout as? UICollectionViewFlowLayout { layout.estimatedItemSize = UICollectionViewFlowLayoutAutomaticSize } with the proper …

swift uicollectionview uicollectionviewlayout ios12 uicollectionviewflowlayout
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