{"id":18271052,"url":"https://github.com/InfinitApps/InfColorPicker","last_synced_at":"2025-04-05T01:31:00.416Z","repository":{"id":56915431,"uuid":"2330957","full_name":"InfinitApps/InfColorPicker","owner":"InfinitApps","description":"iOS color picker view controller which presents a hue bar and a saturation/brightness box to allow selection of any RGB color.","archived":false,"fork":false,"pushed_at":"2013-12-11T17:42:45.000Z","size":255,"stargazers_count":205,"open_issues_count":4,"forks_count":56,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-03-14T19:02:53.340Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"M","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/InfinitApps.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-09-05T21:59:39.000Z","updated_at":"2022-10-19T20:10:41.000Z","dependencies_parsed_at":"2022-08-20T20:50:32.974Z","dependency_job_id":null,"html_url":"https://github.com/InfinitApps/InfColorPicker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InfinitApps%2FInfColorPicker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InfinitApps%2FInfColorPicker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InfinitApps%2FInfColorPicker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InfinitApps%2FInfColorPicker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/InfinitApps","download_url":"https://codeload.github.com/InfinitApps/InfColorPicker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246869979,"owners_count":20847223,"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-05T11:39:02.749Z","updated_at":"2025-04-05T01:30:59.940Z","avatar_url":"https://github.com/InfinitApps.png","language":"M","readme":"The InfinitApps Color Picker, known as InfColorPicker, is a view controller for use in iOS applications to allow the selection of a color from RGB space, but using an HSB representation of that color space to make selection of a color easier for a human.\n\n![InfColorPicker Screenshot](http://f.cl.ly/items/0b0X0Z1t2A170E0c3L1R/InfColorPicker.png)\n\nInfColorPicker is distributed with an MIT license.\n\nIt is ARC-based and supports iPhone OS 5 and later (with one small change it could be made compatible back to iOS 4 if that's necessary).\n\nUsage\n-----\n\nThe main component is the `InfColorPickerController` class, which can be instantiated and hosted in a few different ways, such as in a popover view controller for the iPad, pushed onto a navigation controller navigation stack, or presented modally on an iPhone.\n\nThe initial color can be set via the property `sourceColor`, which will be shown alongside the user-selected `resultColor` color, and these can be accessed and changed while the color picker is visible.\n\nIn order to receive the selected color(s) back from the controller, you have to have an object that implements one of the methods in the `InfColorPickerControllerDelegate` protocol.\n\nExample\n-------\n\n\t- (void) changeColor\n\t{\n\t\tInfColorPickerController* picker = [ InfColorPickerController colorPickerViewController ];\n\t\t\n\t\tpicker.sourceColor = self.color;\n\t\tpicker.delegate = self;\n\t\t\n\t\t[ picker presentModallyOverViewController: self ];\n\t}\n\n\t- (void) colorPickerControllerDidFinish: (InfColorPickerController*) picker\n\t{\n\t\tself.color = picker.resultColor;\n\t\t\n\t\t[ self dismissModalViewControllerAnimated: YES ];\n\t}\n\n","funding_links":[],"categories":["etc"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FInfinitApps%2FInfColorPicker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FInfinitApps%2FInfColorPicker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FInfinitApps%2FInfColorPicker/lists"}