{"id":19608945,"url":"https://github.com/davecom/dkverticalcolorpicker","last_synced_at":"2025-04-27T20:33:10.652Z","repository":{"id":25508207,"uuid":"28939711","full_name":"davecom/DKVerticalColorPicker","owner":"davecom","description":"A simple iOS color picker presented as a vertical hue bar.","archived":false,"fork":false,"pushed_at":"2016-04-17T03:44:52.000Z","size":41,"stargazers_count":23,"open_issues_count":3,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-15T14:18:45.368Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davecom.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":"2015-01-07T23:47:42.000Z","updated_at":"2021-04-30T07:37:59.000Z","dependencies_parsed_at":"2022-08-01T05:38:30.895Z","dependency_job_id":null,"html_url":"https://github.com/davecom/DKVerticalColorPicker","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/davecom%2FDKVerticalColorPicker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davecom%2FDKVerticalColorPicker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davecom%2FDKVerticalColorPicker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davecom%2FDKVerticalColorPicker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davecom","download_url":"https://codeload.github.com/davecom/DKVerticalColorPicker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251204783,"owners_count":21552291,"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":[],"created_at":"2024-11-11T10:18:42.243Z","updated_at":"2025-04-27T20:33:10.195Z","avatar_url":"https://github.com/davecom.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DKVerticalColorPicker\nDKVerticalColorPicker is a simple iOS color picker presented as a vertical color bar from which the user can pick a color by its hue. *Wings* on either side of the color bar indicate the currently selected color. A small subclass of UIView, it is useful for simple applications - places where picking saturation, brightness, and alpha don't matter. It is similar in design to the color picker used in SnapChat's photo capture screen.\n\n![DKVerticalColorPicker](https://raw.githubusercontent.com/davecom/DKVerticalColorPicker/master/DKVerticalColorPicker.png)\n\n## Features\n* Resizable/little space usage - set DKVerticalColorPicker's frame to be whatever makes sense for your application\n* Reports color changes to a delegate\n* IBDesignable and IBInspectable - set the initial color in IB\n* Teeny tiny codebase with no dependencies\n\n## Installation\nSimply copy `DKVerticalColorPicker.m` and `DKVerticalColorPicker.h` into your project or use the CocoaPod `DKVerticalColorPicker`.\n\n## Usage\nYou can drag a `UIView` out in IB and set its class as `DKVerticalColorPicker` or you can instantiate it in code via `initWithFrame`. Make it whatever size suits your app.  Either way, you'll want to set its `delegate` property to a class that implements the protocol `DKVerticalColorPickerDelegate`.\n\n`DKVerticalColorPickerDelegate` defines a single method `colorPicked:` which is triggered every time the picker's color changes (either via user interaction or after the `selectedColor` property is set in code). \n\nYou can set the color manually by simply setting the property `selectedColor`.\n\n## Tips\n* If you use `DKVerticalColorPicker` in IB, set its `backgroundColor` to `ClearColor` for things to look right.\n* If you change `selectedColor` programatically, note that the delegate will be notified of a color change\n\n## License and Authorship\nReleased under the MIT License.  Copyright 2015 David Kopec. Please open issues on GitHub.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavecom%2Fdkverticalcolorpicker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavecom%2Fdkverticalcolorpicker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavecom%2Fdkverticalcolorpicker/lists"}