#import <UIKit/UIKit.h>
@interface UIColor (Addition)
+ (UIColor *)lightGreenColor;
@end
#import "UIColor+Addition.h"
@implementation UIColor (Addition)
+ (UIColor *)lightGreenColor
{
return [UIColor colorWithRed:kRed/255.0 green:kGreen/255.0 blue:kBlue/255.0 alpha:1.0];
}
@end
原文地址:http://qccccc.blog.51cto.com/6004423/1548897