In iOS apps, interaction design is always the focus. Choosing a proper color scheme for the user interface is not only important to the overall appearance of the app, but also to the improvement of user experience. However, in iOS development, color selection, conversion and setting are not very convenient. You can use the following gadgets to improve the efficiency of Color Selection and conversion ~
1. color selector
Color Selection is common in web development and application development. Although Mac comes with a color selector, it does not exist independently. to select a color on the screen, you often need to open other bloated applications. ColorPicker uses a script to enable only the color selector to quickly select the color. For more information about ColorPicker, see here. Download this zip package and use the color selector as a common Mac application ~
2. hexadecimal color selector
Most of the time, you need to use the code to control the color. Therefore, you need to know the hexadecimal or RGB representation of the selected color to facilitate code usage. A plug-in is provided to display the hexadecimal encoding of the current color on the system Color Selection Panel, which meets requirements ~
Download the zip package and decompress the HexColorPicker. colorPicker in the package to the [homefolder]/Library/ColorPickers/folder (manually create one if it does not exist. When you enable the color selector of the system, you can see that there is a # symbol in the rightmost part of the tab bar, and click it to see the hexadecimal value of the current color.
As far as I know, Cocoa does not seem to be able to generate color objects directly using color hexadecimal strings... so it may require a small conversion. This is simple. It's just a hexadecimal conversion ~
UIColor * [UIColor colorWithRed :( () (colorInHex &)>)/) (colorInHex &))/