I can't find the API to programmatically check or unckeck the multi select accessory in a UICollectionViewListCell accordingly to the model when the cell is displayed.
This is my cell registration:
This is my cell registration:
Code Block let cellRegistration = UICollectionView.CellRegistration<UICollectionViewListCell, Item> { (cell, indexPath, item) in var content = cell.defaultContentConfiguration() content.text = item.title cell.contentConfiguration = content cell.accessories = [.multiselect(displayed: .always, options: UICellAccessory.MultiselectOptions())] }