It seems like resources for working with color have come up quite a bit lately, and earlier this week I mentioned a UIColor helper library.
Often time you’ll have issues matching up colors to what is specified by a designer. Even if the color codes are exactly as specified on a device they may look wrong, and with different styles of shading depending on the UI element getting this to look right can be a real timesink.
Here’s a library from Toco called TCColorTest that allows you to edit the color variables in real-time for UIKit user interface elements on screen and also provides a delegate so that you can modify the colors of any custom controls that you might be using.
You simply drag an arrow to point at the element you’d like to edit then tweak the colors with the sliders and shake to show/remove the color sliders.
Here’s an image showing TCColorTest in action:
You can find TCColorTest on Github here.
Provided is an example using Apple’s UICatalog sample that you can use to test out the color tweaking. A protocol is provided if you want to add color tweaking support to custom elements.
Pretty useful as you can run the app on device and not have to worry about things looking any different. If you’re working with a designer you can have them tweak the colors and then make adjustments when they think things look right. Pretty cool.
via @romainbriche
- iOS Library For Easily Creating Images At Runtime With Bitmap/PDF Images As A Mask
- Example: How To Implement A Real-Time Green Screen Effect On iOS Using OpenGL ES
- How To Implement A Socket Server For Easy App Tweaking
- Open Source: UIButton Add-On Allowing Customized Appearance Using Core Image Filters
- Open Source: Better Looking Customizable Segmented Controls
Original article: Drop-In iOS Library Allowing You To Tweak UIKit UI Element Colors In Real Time
©2013 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.






