{"id":15561288,"url":"https://github.com/shutdownr/circlepicker","last_synced_at":"2025-09-03T23:34:42.913Z","repository":{"id":56905937,"uuid":"118906137","full_name":"shutdownr/circlepicker","owner":"shutdownr","description":"A custom UIView for multiple choice selection","archived":false,"fork":false,"pushed_at":"2018-01-31T10:34:46.000Z","size":5155,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-10T04:34:39.894Z","etag":null,"topics":["ios","swift","ui","ui-components","uikit","xcode"],"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/shutdownr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-25T11:46:07.000Z","updated_at":"2024-10-05T17:13:10.000Z","dependencies_parsed_at":"2022-08-20T19:20:21.611Z","dependency_job_id":null,"html_url":"https://github.com/shutdownr/circlepicker","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shutdownr%2Fcirclepicker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shutdownr%2Fcirclepicker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shutdownr%2Fcirclepicker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shutdownr%2Fcirclepicker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shutdownr","download_url":"https://codeload.github.com/shutdownr/circlepicker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236955342,"owners_count":19231636,"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":["ios","swift","ui","ui-components","uikit","xcode"],"created_at":"2024-10-02T16:07:02.166Z","updated_at":"2025-02-03T14:18:01.162Z","avatar_url":"https://github.com/shutdownr.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003eCirclePicker\u003c/h1\u003e\nby Tim Kreuzer\n\u003cbr\u003e\u003cimg src=\"Videos/CirclePickerDemo.gif\" width=\"200px\"\u003e\nCirclePicker is a custom UIView. It allows multiple choice selection of different elements  which can be customised by the programmer. Furthermore you can configure CirclePicker for your own needs with multiple parameters.\n\n\u003ch2\u003eRequirements\u003c/h2\u003e\n\u003cul\u003e\n  \u003cli\u003eiOS 9.0+\u003c/li\u003e\n  \u003cli\u003eXcode 9.0+\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eInstallation\u003c/h2\u003e\n\u003cp\u003e\nDownload and copy the files from \"Code\" to your Xcode-project and you're good to go.\n\u003c/p\u003e\n\u003cp\u003e\nYou can also install CirclePicker using \u003ca href=\"https://cocoapods.org/\"\u003eCocoaPods\u003c/a\u003e.\nAdd the following line in your Podfile:\u003cbr\u003e\n\u003ccode\u003epod 'CirclePicker'\u003c/code\u003e\n\u003c/p\u003e\n\u003ch2\u003eUsage\u003c/h2\u003e\n\u003cp\u003e\nCreate a new Object of the type CirclePicker. You need to set the dataSource attribute (CirclePickerDataSource-protocol) to fill it with data. Then you can use the method attachToView(_ :) to attach the picker to a certain view. The picker itself will be displayed now. In order to respond to user interaction, you need to set the delegate attribute (CirclePickerDelegate-protocol) which will be called on every interaction.\u003cbr\u003e\nYour code should look something like this:\u003cbr\u003e\n \u003cpre\u003e\n class MyViewController : UIViewController, CirclePickerDelegate, CirclePickerDataSource {\n ...\n   let picker = CirclePicker()\n   picker.dataSource = self\n   picker.delegate = self\n   picker.attachToView(myView)\n ...\n  \u003c/pre\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshutdownr%2Fcirclepicker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshutdownr%2Fcirclepicker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshutdownr%2Fcirclepicker/lists"}