{"id":26281063,"url":"https://github.com/yonat/selectionlist","last_synced_at":"2025-10-13T11:09:49.722Z","repository":{"id":52830274,"uuid":"126970435","full_name":"yonat/SelectionList","owner":"yonat","description":"Simple single-selection or multiple-selection checklist, based on UITableView","archived":false,"fork":false,"pushed_at":"2024-11-01T14:19:09.000Z","size":95,"stargazers_count":124,"open_issues_count":0,"forks_count":20,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-09T23:23:21.419Z","etag":null,"topics":["checkbox","checklist","radio-buttons","radiobutton","selectionmenu","swift","uitableview"],"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-03-27T10:32:39.000Z","updated_at":"2025-08-12T05:11:45.000Z","dependencies_parsed_at":"2024-06-18T22:54:34.126Z","dependency_job_id":"ad209e28-fed8-4602-a618-b5f3bb46bc1a","html_url":"https://github.com/yonat/SelectionList","commit_stats":{"total_commits":33,"total_committers":2,"mean_commits":16.5,"dds":"0.030303030303030276","last_synced_commit":"c56082edad15004bd7d0b3d1711a43217e30073a"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/yonat/SelectionList","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yonat%2FSelectionList","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yonat%2FSelectionList/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yonat%2FSelectionList/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yonat%2FSelectionList/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yonat","download_url":"https://codeload.github.com/yonat/SelectionList/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yonat%2FSelectionList/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279014756,"owners_count":26085593,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["checkbox","checklist","radio-buttons","radiobutton","selectionmenu","swift","uitableview"],"created_at":"2025-03-14T15:19:01.110Z","updated_at":"2025-10-13T11:09:49.691Z","avatar_url":"https://github.com/yonat.png","language":"Swift","funding_links":["https://github.com/sponsors/yonat"],"categories":[],"sub_categories":[],"readme":"# SelectionList\nSimple single-selection or multiple-selection checklist, based on UITableView.\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/SelectionList.svg)](https://img.shields.io/cocoapods/v/SelectionList.svg)  \n[![Platform](https://img.shields.io/cocoapods/p/SelectionList.svg?style=flat)](http://cocoapods.org/pods/SelectionList)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"Screenshots/SelectionList.png\"\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003cimg src=\"Screenshots/SelectionListStandard.png\"\u003e\n\u003c/p\u003e\n\n## Usage\n\n```swift\nlet selectionList = SelectionList()\nselectionList.items = [\"One\", \"Two\", \"Three\", \"Four\", \"Five\"]\nselectionList.addTarget(self, action: #selector(selectionChanged), for: .valueChanged)\nselectionList.selectedIndex = 3\n```\n\n## Multiple Selection\n\n```swift\nselectionList.allowsMultipleSelection = true\nselectionList.selectedIndexes = [0, 1, 4]\n```\n\n## Changing Appearance\n\nThe following properties can be changed either in Interface Builder or in code:\n\n```swift\nselectionList.selectionImage = UIImage(named: \"v\")\nselectionList.deselectionImage = UIImage(named: \"o\")\nselectionList.isSelectionMarkTrailing = false // to put checkmark on left side\nselectionList.rowHeight = 42.0\n```\n\nYou can do additional styling in code:\n\n```swift\nselectionList.setupCell =  { (cell: UITableViewCell, index: Int) in\n    cell.textLabel?.textColor = .gray\n}\n```\n\nIf you want to remove the cells seperators\n\n```swift\nselectionList.tableView.separatorStyle = .none\n```\n\n## Requirements\n\n- iOS 9.0+\n- Xcode 9+\n\n## Installation\n\n### CocoaPods:\n\n```ruby\npod 'SelectionList'\n```\n\nLegacy versions:\n\n| Swift version | SelectionList version |\n| :---: | :---: |\n| 4.1 (Xcode 9.4) | `pod 'SelectionList', '~\u003e 1.2.0'` |\n| 4.0 | `pod 'SelectionList', '~\u003e 1.0.2'` |\n\n### Swift Package Manager:\n\n```swift\ndependencies: [\n    .package(url: \"https://github.com/yonat/SelectionList\", from: \"1.4.5\")\n]\n```\n\n## Meta\n\n[@yonatsharon](https://twitter.com/yonatsharon)\n\n[https://github.com/yonat/SelectionList](https://github.com/yonat/SelectionList)\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyonat%2Fselectionlist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyonat%2Fselectionlist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyonat%2Fselectionlist/lists"}