Is it possible to automatically change the height of the collection view in relation to the item size. I get the data from the backend and in that dat ...
Is it possible to automatically change the height of the collection view in relation to the item size. I get the data from the backend and in that dat ...
My problem video: https://streamable.com/2vrdbu As you move around the "Collection View" the objects move around and the assignment doesn't work prop ...
I have a UICollectionView in which user can long tap and then move the items. I have implemented func invalidationContext(forInteractivelyMovingItems ...
I'm tasked with modifying one of our horizontal collectionViews so that it supports 2 possible cell widths based on the value of one of the properties ...
I have a dynamic collectionView, and essentially the spacing between cells needs to be the same regardless the width of the cell. Found similar answe ...
The uicollectionview has n sections (say 1,2,3) that has m subsections (say 1.1,1.2 etc) which further branches into inner subsections (1.1.1, 1.1.2 e ...
I'm programming a game with a collection view with 121 buttons (11X11), how can I fix my Collection View cells to be a square? I want to increase or d ...
I am implementing custom headers for UICollectionView I need a header on the Top for Horizontal CollectionView. ...
Here is the preview of layout As you can see this layout has a pattern of cells 0, 1, 2, 0, 1, 2, 0, 1, 2 with respect to the size. I want my layout ...
I'd like someone could explain clearly how I should calculate the math for the UICollectionViewFlowLayout, exactly "the subtract spacing" thing from i ...
I am trying to implement the Tags Layout using UICollectionView. It works fine but only at some places the word is not displayed properly (Cropped) (m ...
I encounter a weird error that when I want to set the estimatedItemSize property of the UICollectionView to UICollectionViewFlowLayout.automaticSize a ...
I have a UICollectionView with a simple UICollectionViewFlowLayout. On iOS 15 when first loading the view and setting the items an exception occurs. ...
I am programmatically creating a UICollectionViewController: } I need thee actually cell size at cellForItemAt to do more work. Cell size above p ...
I'm trying to create a left aligned collection view. The most poplar way of achieving this seems to be by using Custom Collection view layouts (ex: ht ...
I am working with a UICollectionView using UICollectionViewFlowLayout and have some difficulties to understand item sizing an spacing. I know that the ...
I have one collection view in which i have to add multiple cell with different UI without Creating XIB how can i create it ...
I am implementing a menu, which holds severals buttons within two columns and I want the button text to be centered in the middle for every cell. T ...
I am trying to implement a collection view, in which items have: automatic height based on constraints the full available width of the collectio ...
I have a UICollectionView of UICollectionView, so each row has 1 cell with a UICollectionView inside. I want that the selected row always move to the ...