For now, I have this:
func collectionView(_ collectionView: NSCollectionView, didSelectItemsAt indexPaths: Set<IndexPath>) {
print(indexPaths)
}
}
and it works when the item was not already selected. I'm looking for some way to catch when an item already selected was clicked. For example:
func collectionView(_ collectionView: NSCollectionView, didClickItemsAt indexPaths: Set<IndexPath>) {
...
}
EDIT: didDeselectItems doesn't fire by clicking on selected items