[ios] Added fonts for routing info display.

This commit is contained in:
Ilya Grechuhin 2016-07-07 09:59:00 +03:00
parent c217a7c142
commit a89890d9ec
2 changed files with 12 additions and 0 deletions

View file

@ -30,6 +30,8 @@
+ (UIFont *)bold14;
+ (UIFont *)bold16;
+ (UIFont *)bold17;
+ (UIFont *)bold22;
+ (UIFont *)bold24;
+ (UIFont *)bold48;
+ (UIFont *)fontWithName:(NSString *)fontName;

View file

@ -198,6 +198,16 @@ NSString * const kLightFontName = @"HelveticaNeue-Light";
return [UIFont boldSystemFontOfSize:17];
}
+ (UIFont *)bold22
{
return [UIFont boldSystemFontOfSize:22];
}
+ (UIFont *)bold24
{
return [UIFont boldSystemFontOfSize:24];
}
+ (UIFont *)bold48
{
return [UIFont boldSystemFontOfSize:48];