Created
August 21, 2012 10:43
-
-
Save jlcampana/3414434 to your computer and use it in GitHub Desktop.
UIColor+IntegerRGB.h
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// 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