Xcode – Get the selected cells count in UICollectionView
How to get the selected cells count and selected cells array from UICollectionView, I need to set the limit of selection. Below is my code which is not working. Please guide. Thanks func collectionView(_ collectionView: UICollectionView, shouldSelectItemAt indexPath: IndexPath) ->…