So I have self sizing custom UICollectionViewCells, which are self sizing.
Now I need that UICollectionView wraps it's content, without exact predefined size. Like android linearLayout wraps it's content, or any of WPF panels.
How can I achieve that?
The thing is I want the UICollectionView measured by itself and wrap it's content. I'm going to create it in code and add as child to another view from code.
I'm using flowLayout.
Any suggestions?
EDIT: Attached sample project which contains only custom collection view https://monosnap.com/file/9Y78XqcwAUNFxCo382u3bTr7CDS77F