Top "Uicollectionviewlayout" questions

The UICollectionViewLayout class is an abstract base class that is used to generate layout information for a collection view.

UICollectionView with a sticky header

I found a blog on how to make sticky headers and it works great. Only thing is I don't think …

ios objective-c uicollectionview uicollectionviewlayout
UICollectionVIew : How can i remove the space on top first cell's row

I have this arrangement in Interface Builder, All properties are set to zero. However, when I run it on both …

ios uicollectionview uicollectionviewlayout
Delete cell from UICollectionView without reloading from top

I am using a CollectionView in my ios app. Each collection cell contains a delete button. By clicking the button …

ios uicollectionview uicollectionviewcell uicollectionviewlayout
UICollectionView contentOffset changes with custom layout

I have a UICollectionView with a custom UICollectionViewLayout (actually, I'm using this nice layout). I set contentOffset = CGPointZero in viewDidLoad. …

ios uicollectionview uicollectionviewlayout contentoffset
UICollectionView custom line separators

I wanna making 2pt black separators in UICollectionView for our new app. Screenshot from our app is below. We couldn't …

ios objective-c uicollectionview uicollectionviewlayout uicollectionreusableview
Aligning right to left on UICollectionView

this is a pretty straightforward question, but I haven't been able to find a definitive answer to it on SO (…

ios objective-c uicollectionview right-to-left uicollectionviewlayout
UICollectionView scrolling in both directions

I made a UICollectionView with a vertical scroll. The width of the cell is more than than the screen width, …

ios scroll uicollectionview uicollectionviewlayout
How to create a centered UICollectionView like in Spotify's Player

I am have a lot of difficulty trying to create a UICollectionView like in Spotify's Player that acts like this: …

ios objective-c uiscrollview uicollectionview uicollectionviewlayout
Placing a margin around each edge of the UICollectionView

When the UICollectionView is populated with items they always go right to the edges of the UICollectionView like so: --------------- |…

ios uicollectionview uicollectionviewlayout
UICollectionView sticky header in swift

I'm trying to create a sticky supplementary header, which stays on top all the time and won't response to scrolling …

ios swift uicollectionview uicollectionviewlayout tvos