{"id":17163308,"url":"https://github.com/noppefoxwolf/colorpicker","last_synced_at":"2025-12-11T22:53:12.881Z","repository":{"id":40651678,"uuid":"469363446","full_name":"noppefoxwolf/ColorPicker","owner":"noppefoxwolf","description":"A opensource color picker UI component for iOS","archived":false,"fork":false,"pushed_at":"2022-07-19T18:17:47.000Z","size":3851,"stargazers_count":19,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-05-02T05:45:52.320Z","etag":null,"topics":["color-picker","colorpicker","ios","ui-components"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/noppefoxwolf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-13T12:22:57.000Z","updated_at":"2024-02-29T10:36:02.000Z","dependencies_parsed_at":"2022-07-14T04:50:31.531Z","dependency_job_id":null,"html_url":"https://github.com/noppefoxwolf/ColorPicker","commit_stats":null,"previous_names":["noppefoxwolf/colorpicker","henzai-apps/colorpicker"],"tags_count":37,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noppefoxwolf%2FColorPicker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noppefoxwolf%2FColorPicker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noppefoxwolf%2FColorPicker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noppefoxwolf%2FColorPicker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noppefoxwolf","download_url":"https://codeload.github.com/noppefoxwolf/ColorPicker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248731593,"owners_count":21152835,"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":["color-picker","colorpicker","ios","ui-components"],"created_at":"2024-10-14T22:48:35.752Z","updated_at":"2025-12-11T22:53:12.831Z","avatar_url":"https://github.com/noppefoxwolf.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ColorPicker\n\n`ColorPicker` is a UI component for pick a color.\n\n![](https://github.com/henzai-apps/ColorPicker/blob/main/.github/Helo.jpeg)\n\n# Requirements\n\n- Swift 6\n\n- iOS 15\n\n# Installation\n\n[Adding Package Dependencies to Your App](https://developer.apple.com/documentation/swift_packages/adding_package_dependencies_to_your_app)\n\n# Getting Started\n\n## Present ColorPicker\n\n```swift\nimport ColorPicker\n...\nlet vc = ColorPickerViewController()\nvc.setDelegate(self)\npresent(vc, animated: true)\n```\n\n## Customize swatch colors\n\n```swift\nlet vc = ColorPickerViewController()\nvar configuration = ColorPickerConfiguration.default\nconfiguration.initialColor = .red\nconfiguration.initialColorItems = [.init(id: UUID(), color: .red)]\nvc.configuration = configuration\nvc.setDelegate(self)\npresent(vc, animated: true)\n```\n\n## Handle changed color\n\n```swift\nextension ContentViewController: ColorPickerViewControllerDelegate {\n    func colorPickerViewControllerDidFinish(_ viewController: ColorPickerViewController) {\n        print(#function, viewController.selectedColor)\n    }\n    \n    func colorPickerViewController(_ viewController: ColorPickerViewController, didSelect color: UIColor, continuously: Bool) {\n        print(#function, color, continuously)\n    }\n}\n```\n\n# Apps using ColorPicker\n\n- [WebSSH - SysAdmin Tools](https://apps.apple.com/us/app/id497714887)\n- [Editormode](https://apps.apple.com/jp/app/id1586258429)\n\n# Maintainer\n\n[@noppefoxwolf](https://twitter.com/noppefoxwolf)\n\n# License\n\nColorPicker is available under the MIT license. See the LICENSE file for more info.\n\n# Prohibited matter 🚫\n\nForking or contributing in order to disguise the activity of spam accounts as legitimate accounts is prohibited.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoppefoxwolf%2Fcolorpicker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoppefoxwolf%2Fcolorpicker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoppefoxwolf%2Fcolorpicker/lists"}