So I have a design like this for my project :

How do I add and handle click event for all the cell's button?
I have this delegate :
func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath)
But this is tapping of the whole cell, not the button.
Any help?
Thanks