Can anyone help me on how to create a unit testcase for uicollectionview delegate and datasource?
func collectionView(_ collectionView: UICollectionView, didSelectItemAt
indexPath: IndexPath) {
//trigger event
}
func collectionView(_ collectionView: UICollectionView, cellForItemAt
indexPath: IndexPath) -> UICollectionViewCell {
return cell
}
Aucun commentaire:
Enregistrer un commentaire