Monday 24 December 2012

Color Codes Objective-C

First Of All :  You have to import two files before we start. You can get files from these urls..
                       i)UIColor-Expanded.h
                       ii)UIColor-Expanded.m

By using this code you can get CMYK, RGB,HEX Code or HSB by touching view or UIImage.



In Header file use follow code:--


For Implementation file use following code:--



Snapshot