Skip to content

Instantly share code, notes, and snippets.

@jlcampana
Created August 21, 2012 10:43
Show Gist options
  • Save jlcampana/3414434 to your computer and use it in GitHub Desktop.
Save jlcampana/3414434 to your computer and use it in GitHub Desktop.
UIColor+IntegerRGB.h
//
// UIColor+IntegerRGB.h
// Shell mPayment
//
// Created by Jose Luis Campaña on 8/21/12.
//
//
#import <UIKit/UIKit.h>
@interface UIColor (IntegerRGB)
+(UIColor *)colorIntegerWithRed:(NSInteger)red green:(NSInteger)green blue:(NSInteger)blue alpha:(CGFloat)alpha;
@end
//
// UIColor+IntegerRGB.h
// Shell mPayment
//
// Created by Jose Luis Campaña on 8/21/12.
//
//
#import <UIKit/UIKit.h>
@interface UIColor (IntegerRGB)
+(UIColor *)colorIntegerWithRed:(NSInteger)red green:(NSInteger)green blue:(NSInteger)blue alpha:(CGFloat)alpha;
+(UIColor *)colorWithImageNamed:(NSString *)image;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment