'Should I use NSCollectionLayoutSupplementaryItem for collection view cell shadow?
I'm quite tempted to use NSCollectionLayoutSupplementaryItem for UICollectionView items shadows instead of having a shadow view be part of a cell (since accounting for shadow height complicates the item height calculation when setting up compositional layout).
(a shadow will be an image, not an actual layer shadow)
WWDC "Items badges" sample has almost everything I need, except one thing: how do I specify that I need the supplementary view below the cell?
Then I came across this discussion NSCollectionLayoutSupplementaryItem shows below cell so now I'm wondering if it is at all possible to control if supplementary views are on top or beneath cells?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|

