Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save michal-majchrzycki/9041844634ac120d04edfed8a02297f6 to your computer and use it in GitHub Desktop.
Save michal-majchrzycki/9041844634ac120d04edfed8a02297f6 to your computer and use it in GitHub Desktop.
func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
let cell = collectionView.dequeueReusableCell(withReuseIdentifier: cellIdentifier, for: indexPath) as! CalendarViewCell
cell.dateLabel.text = self.calendarArray?[indexPath.row] as? String
return cell
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment