SyntaxFix
Write A Post
Hire A Developer
Questions
Also check this snippet
let isCellVisible = collectionView.visibleCells.map { collectionView.indexPath(for: $0) }.contains(inspectingIndexPath)