There are many instances when you might find yourself needing to have many of the same images only with different colors within an app, and thus may find yourself taking a single image and modifying it at runtime.
Today I came across a very nice library for doing just that. Using this library you can use a PDF vector image or a bitmap as a mask and easily apply custom colors, and with PDF images you can adjust the size.
Something else that is really good about this library is that your new images are automatically cached, and using different labels you can identify cached images of different colors.
You can find the library on Github here.
A nice clean way to solve a common problem.
Original article: iOS Library For Easily Creating Images At Runtime With Bitmap/PDF Images As A Mask
©2012 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.





