Popularity
1.7
Growing
Activity
0.2
Declining
57
3
9

Programming language: Swift
License: MIT License
Tags: UI     UICollectionView    
Latest version: v1.0.5

CheckmarkCollectionViewCell alternatives and similar libraries

Based on the "UICollectionView" category.
Alternatively, view CheckmarkCollectionViewCell alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of CheckmarkCollectionViewCell or a related project?

Add another 'UICollectionView' Library

README

CheckmarkCollectionViewCell

Swift Version Build Status [License][license-url] CocoaPods Compatible
Platform PRs Welcome

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).

Shape:

cell.selectedImage = UIImage(named: "x")
cell.deselectedImage = UIImage(named: "o")

Color:

cell.tintColor = .red

Size:

cell.checkmarkSize = 42.0

Layout:

cell.checkmarkMargin = 17.0
cell.checkmarkLocation = [NSLayoutConstraint.Attribute.top, NSLayoutConstraint.Attribute.left]

Installation

CocoaPods:

pod 'CheckmarkCollectionViewCell'

Swift Package Manager:

dependencies: [
    .package(url: "https://github.com/yonat/CheckmarkCollectionViewCell", from: "1.0.5")
]

Meta

@yonatsharon

https://github.com/yonat/CheckmarkCollectionViewCell


*Note that all licence references and agreements mentioned in the CheckmarkCollectionViewCell README section above are relevant to that project's source code only.