我需要访问特定单元格并在 didSelectAt indexPath 上动态更改其内容
func collectionView(_ collectionView: UICollectionView,
didSelectItemAt indexPath: IndexPath) {
if collectionView == self.trendHeaderView{
print(indexPath.row)
// Needs to access cell and change the
// content of cell i.e label text inside cell ??
}
}