{"id":13497582,"url":"https://github.com/onmyway133/XcodeColorSense","last_synced_at":"2025-03-28T22:31:47.592Z","repository":{"id":69039316,"uuid":"58925507","full_name":"onmyway133/XcodeColorSense","owner":"onmyway133","description":":balloon: An Xcode plugin that makes working with color easier","archived":false,"fork":false,"pushed_at":"2016-06-16T21:46:38.000Z","size":1742,"stargazers_count":77,"open_issues_count":0,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-14T11:22:20.008Z","etag":null,"topics":["color","hex","palette","plugin","rgb","sense","swift","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/onmyway133.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-05-16T10:52:49.000Z","updated_at":"2025-02-21T11:47:49.000Z","dependencies_parsed_at":"2023-05-09T16:52:57.405Z","dependency_job_id":null,"html_url":"https://github.com/onmyway133/XcodeColorSense","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/onmyway133%2FXcodeColorSense","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onmyway133%2FXcodeColorSense/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onmyway133%2FXcodeColorSense/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onmyway133%2FXcodeColorSense/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onmyway133","download_url":"https://codeload.github.com/onmyway133/XcodeColorSense/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246110231,"owners_count":20725014,"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","hex","palette","plugin","rgb","sense","swift","xcode"],"created_at":"2024-07-31T20:00:34.041Z","updated_at":"2025-03-28T22:31:47.104Z","avatar_url":"https://github.com/onmyway133.png","language":"Swift","readme":"XcodeColorSense\n==\nAn Xcode plugin that makes working with color easier. Inspired by [ColorSense-for-Xcode](https://github.com/omz/ColorSense-for-Xcode) with extra care for Hex color\n\n![](Screenshots/Banner.png)\n\nFeatures\n==\n\n- Show color preview as you type or select\n- Works for `UIColor`, `NSColor`\n\n![](Screenshots/XcodeColorSense.gif)\n\n## Matchers\n\n- Hex Matcher\n\n```swift\nlet _ = NSColor.hex(\"#FFAABB\")\nlet _ = UIColor(hex: 0xFFAABB)\n```\n\n- RGBA Matcher\n\n```swift\nlet _ = UIColor(red: 1.0f, green: 240/255, blue: 0.8, alpha: 0.95)\n```\n\n- Preset Matcher\n\n```swift\nlet _ = NSColor.redColor()\n```\n\n## Extensible\n\nAdd your own color handler by conforming to `Matcher`\n\n```swift\nprotocol Matcher {\n  func check(line: String, selectedText: String) -\u003e (color: NSColor, range: NSRange)?\n}\n```\n\n## Installation\n\n### Manually\n\n- Build the project. The plugin will be in `~/Library/Application Support/Developer/Shared/Xcode/Plug-ins`\n- Restart Xcode\n\n### Alcatraz\n\n- Available via http://alcatraz.io/\n\nLicence\n--\nThis project is released under the MIT license. See LICENSE.md.\n","funding_links":[],"categories":["Color"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonmyway133%2FXcodeColorSense","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonmyway133%2FXcodeColorSense","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonmyway133%2FXcodeColorSense/lists"}