Post

Replies

Boosts

Views

Activity

NSCollectionLayoutGroup.custom(layoutSize:) Documentation or Example?
The new `UICollectionViewCompositionalLayout` is really cool but from what I understand you are still limited to a linear layout, though it may be complex.What I'm trying to achive is something where cells overlap. Something like this:I suspect I have to use `NSCollectionLayoutGroup.custom(layoutSize:)` but I see no documentation for this at all not to mention any examples.Any clues how can I do this?
1
0
831
Mar ’20
How do you set UICollectionView context menu to use .compact presentation?
When implementing the collectionView(_, contextMenuConfigurationForItemAt, point) in the UICollectionView delegate, how to specify that the menu should appear in the UIContextMenuInteractionAppearance.compact as the Files app does in iOS 14? And a followup question: how do I display a submenu from said compact menu when using a collection view?
0
0
450
Aug ’20