UICollectionViewCell with checkbox when it isSelected and empty circle when not - like Photos.app “Select” mode.
Usage
class MyCell: CheckmarkCollectionViewCell {
// get checkmark for free
}
Changing Appearance
The properties below can be set in Interface Builder, in code, or through a UIAppearance proxy (e.g., CheckmarkCollectionViewCell.appearance().deselectedImage = nil).
CheckmarkCollectionViewCell
UICollectionViewCell
with checkbox when itisSelected
and empty circle when not - like Photos.app “Select” mode.Usage
Changing Appearance
The properties below can be set in Interface Builder, in code, or through a UIAppearance proxy (e.g.,
CheckmarkCollectionViewCell.appearance().deselectedImage = nil
).Shape:
Color:
Size:
Layout:
Installation
CocoaPods:
Swift Package Manager:
Meta
@yonatsharon
https://github.com/yonat/CheckmarkCollectionViewCell