{"id":13467045,"url":"https://github.com/yonat/CheckmarkCollectionViewCell","last_synced_at":"2025-03-26T00:31:51.970Z","repository":{"id":56905838,"uuid":"152083083","full_name":"yonat/CheckmarkCollectionViewCell","owner":"yonat","description":"UICollectionViewCell with checkbox when it isSelected and empty circle when not - like Photos.app \"Select\" mode.","archived":false,"fork":false,"pushed_at":"2024-11-01T14:04:15.000Z","size":120,"stargazers_count":65,"open_issues_count":0,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-14T15:18:58.650Z","etag":null,"topics":["checkmark","selection","swift","uicollectionview","uicollectionviewcell"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yonat.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["yonat"]}},"created_at":"2018-10-08T13:17:10.000Z","updated_at":"2024-11-01T14:04:19.000Z","dependencies_parsed_at":"2024-04-27T23:32:08.410Z","dependency_job_id":"9708b02e-3a59-4d98-aeb6-815d772c0dd6","html_url":"https://github.com/yonat/CheckmarkCollectionViewCell","commit_stats":{"total_commits":20,"total_committers":1,"mean_commits":20.0,"dds":0.0,"last_synced_commit":"5e82bf4057a1534130e163b453f03c2c1dcfa89b"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yonat%2FCheckmarkCollectionViewCell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yonat%2FCheckmarkCollectionViewCell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yonat%2FCheckmarkCollectionViewCell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yonat%2FCheckmarkCollectionViewCell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yonat","download_url":"https://codeload.github.com/yonat/CheckmarkCollectionViewCell/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245566099,"owners_count":20636391,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["checkmark","selection","swift","uicollectionview","uicollectionviewcell"],"created_at":"2024-07-31T15:00:52.551Z","updated_at":"2025-03-26T00:31:51.965Z","avatar_url":"https://github.com/yonat.png","language":"Swift","readme":"# CheckmarkCollectionViewCell\n\u003cimg align=\"right\" src=\"Screenshots/CheckmarkCollectionViewCell.png\"\u003e\n\n[![Swift Version][swift-image]][swift-url]\n[![Build Status][travis-image]][travis-url]\n[![License][license-image]][license-url]\n[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/CheckmarkCollectionViewCell.svg)](https://img.shields.io/cocoapods/v/CheckmarkCollectionViewCell.svg)  \n[![Platform](https://img.shields.io/cocoapods/p/CheckmarkCollectionViewCell.svg?style=flat)](http://cocoapods.org/pods/CheckmarkCollectionViewCell)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n\n`UICollectionViewCell` with checkbox when it `isSelected` and empty circle when not - like Photos.app \"Select\" mode.\n\n\n## Usage\n\n```swift\nclass MyCell: CheckmarkCollectionViewCell {\n    // get checkmark for free\n}\n```\n\n### Changing Appearance\n\nThe properties below can be set in Interface Builder, in code, or through a UIAppearance proxy (e.g., `CheckmarkCollectionViewCell.appearance().deselectedImage = nil`).\n\nShape:\n\n```swift\ncell.selectedImage = UIImage(named: \"x\")\ncell.deselectedImage = UIImage(named: \"o\")\n```\n\nColor:\n\n```swift\ncell.tintColor = .red\n```\n\nSize:\n\n```swift\ncell.checkmarkSize = 42.0\n```\n\nLayout:\n\n```swift\ncell.checkmarkMargin = 17.0\ncell.checkmarkLocation = [NSLayoutConstraint.Attribute.top, NSLayoutConstraint.Attribute.left]\n```\n\n## Installation\n\n### CocoaPods:\n\n```ruby\npod 'CheckmarkCollectionViewCell'\n```\n\n\n### Swift Package Manager:\n\n```swift\ndependencies: [\n    .package(url: \"https://github.com/yonat/CheckmarkCollectionViewCell\", from: \"1.1.0\")\n]\n```\n\n## Meta\n\n[@yonatsharon](https://twitter.com/yonatsharon)\n\n[https://github.com/yonat/CheckmarkCollectionViewCell](https://github.com/yonat/CheckmarkCollectionViewCell)\n\n[swift-image]:https://img.shields.io/badge/swift-4.2-orange.svg\n[swift-url]: https://swift.org/\n[license-image]: https://img.shields.io/badge/License-MIT-blue.svg\n[license-url]: LICENSE.txt\n[travis-image]: https://img.shields.io/travis/dbader/node-datadog-metrics/master.svg?style=flat-square\n[travis-url]: https://travis-ci.org/dbader/node-datadog-metrics\n[codebeat-image]: https://codebeat.co/badges/c19b47ea-2f9d-45df-8458-b2d952fe9dad\n[codebeat-url]: https://codebeat.co/projects/github-com-vsouza-awesomeios-com\n","funding_links":["https://github.com/sponsors/yonat"],"categories":["Libs","CollectionView","UI [🔝](#readme)"],"sub_categories":["UI"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyonat%2FCheckmarkCollectionViewCell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyonat%2FCheckmarkCollectionViewCell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyonat%2FCheckmarkCollectionViewCell/lists"}