[ios] Extended fonts list.

This commit is contained in:
Ilya Grechuhin 2015-09-14 17:40:07 +03:00 committed by Alex Zolotarev
parent 6dbf166f7a
commit 7c451f1349
2 changed files with 6 additions and 0 deletions

View file

@ -3,6 +3,7 @@
@interface UIFont (MapsMeFonts)
+ (UIFont *)regular10;
+ (UIFont *)regular12;
+ (UIFont *)regular14;
+ (UIFont *)regular16;
+ (UIFont *)regular17;

View file

@ -12,6 +12,11 @@ static NSString * const kBoldFont = @"HelveticaNeue-Bold";
return [UIFont fontWithName:kRegularFont size:10];
}
+ (UIFont *)regular12
{
return [UIFont fontWithName:kRegularFont size:12];
}
+ (UIFont *)regular14
{
return [UIFont fontWithName:kRegularFont size:14];