1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-11 08:59:48 +01:00
Telegram/Watch/Extension/TGColor.h
2015-10-01 19:19:52 +03:00

19 lines
384 B
Objective-C

#import <Foundation/Foundation.h>
@interface UIColor (TGColor)
+ (UIColor *)hexColor:(NSInteger)hex;
+ (UIColor *)hexColor:(NSInteger)hex withAlpha:(CGFloat)alpha;
@end
@interface TGColor : NSObject
+ (UIColor *)colorForUserId:(int32_t)userId myUserId:(int32_t)myUserId;
+ (UIColor *)colorForGroupId:(int64_t)groupId;
+ (UIColor *)accentColor;
+ (UIColor *)subtitleColor;
@end