Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
let cellRegistration = UICollectionView.CellRegistration<UICollectionViewCell, String> { cell, indexPath, name in
var content = UIListContentConfiguration.cell()
content.text = name
cell.contentConfiguration = content
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment