Open nnirajan opened 3 years ago
No idea, but in any case, from the beginning it's wrong to have a collection inside a tableview.
sometimes it can't be helped, I have a case where I need to show photos like facebook does in their app.
@elomonaco You should be using UICollectionViewCompositionalLayout, and make the whole thing a CollectionView: https://dev.to/kevinmaarek/replicating-the-appstore-s-collectionviewlayout-orthogonal-in-swift-5-42je
Though I'm in the same shoe as you, previously you would achieve this by housing a CollectionView inside a TableViewCell, and it's very complex to refactor.
that sounds like a nightmare solution honestly, especially when my collectionview has a special layout to handle the design. For now I'm not changing that until I move to swiftUI which is the next time I'm going to revisit the UI.
How can I use skeleton loading for collectionview inside tableview cell?