Respond to CR.

// FREEBIE
pull/1/head
Matthew Chen 8 years ago
parent bcf43683f6
commit 68838dbaa7

@ -19,6 +19,5 @@
+ (UIColor *)ows_infoMessageBorderColor;
+ (UIColor *)backgroundColorForContact:(NSString *)contactIdentifier;
+ (UIColor *)colorWithRGBHex:(unsigned long)value;
+ (UIColor *)colorWithARGBHex:(unsigned long)value;
@end

@ -115,13 +115,4 @@
return [UIColor colorWithRed:red green:green blue:blue alpha:1.f];
}
+ (UIColor *)colorWithARGBHex:(unsigned long)value
{
CGFloat alpha = ((value >> 24) & 0xff) / 255.f;
CGFloat red = ((value >> 16) & 0xff) / 255.f;
CGFloat green = ((value >> 8) & 0xff) / 255.f;
CGFloat blue = ((value >> 0) & 0xff) / 255.f;
return [UIColor colorWithRed:red green:green blue:blue alpha:alpha];
}
@end

Loading…
Cancel
Save