Colorsense Color Detector

Source: Internet
Author: User

: Https://github.com/omz/ColorSense-for-Xcode

Modify the contents of the omcolorhelper.m file in the Omcolorsense.xcodeproj Project and implement the shortcut key function (control+c) to insert Color:

1Nsmenuitem *insertcolormenuitem =2[[Nsmenuitem alloc] Initwithtitle:@"Insert Color ..."3 Action: @selector (insertcolor:)4Keyequivalent:@"C"];//Modified by Kenmu5[Insertcolormenuitem Setkeyequivalentmodifiermask:nscontrolkeymask];//created by Kenmu, on order to use shortcut key to access it.6 [Insertcolormenuitem settarget:self];7[[Editmenuitem submenu] additem:insertcolormenuitem];

The same way as the Vvdocumenter Specification Note Generator is installed:

Download Open source project The plugin will be installed automatically when the Xcode is recompiled and you can restart Xcode to use the

Plugin settings:

How to use:

Colorsense Color Detector

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.