Trying to use `UICollectionView` with `NSDiffableDataSourceSectionSnapshot`: why are my `.disclosureIndicator()` not working automatically to expand/collapse hierarchical items? I’ve used the `.addItems(_, to:)` function on the section snapshot object to add child items to parent items, but the accessory seems to always be grayed out.
Funny thing is, I can manually expand the items, and I can see the child items there.
Help! #ios #uikit #uicollectionview
#UICollectionView #compositionalLayout #UIKit For a section that has orthogonal scrolling, but has too few items to span the width of the collection view (e.g. horizontal-scrolling section with 3 items but there is space for 5), is there a way to force rubberband-scrolling for that section regardless? The default behavior seems to be to disable scrolling for that section entirely.
#uicollectionview #compositionallayout #UIKit
Playing around with #UICollectionView #compositionalLayout #UIKit … is there a way to attach a background view to a layout *group*?
#uicollectionview #compositionallayout #UIKit