[ios] Added medium 20 to fonts.

This commit is contained in:
VladiMihaylenko 2016-01-24 21:42:42 +03:00 committed by Sergey Yershov
parent bfdac12429
commit c881278e51
2 changed files with 7 additions and 2 deletions

View file

@ -1,5 +1,3 @@
#import <UIKit/UIKit.h>
@interface UIFont (MapsMeFonts)
+ (UIFont *)regular10;
@ -17,6 +15,7 @@
+ (UIFont *)medium16;
+ (UIFont *)medium17;
+ (UIFont *)medium18;
+ (UIFont *)medium20;
+ (UIFont *)medium24;
+ (UIFont *)medium36;
+ (UIFont *)medium40;

View file

@ -77,6 +77,12 @@ static NSString * const kBoldFont = @"HelveticaNeue-Bold";
{
return [UIFont fontWithName:kMediumFont size:18];
}
+ (UIFont *)medium20
{
return [UIFont fontWithName:kMediumFont size:20];
}
+ (UIFont *)medium24
{
return [UIFont fontWithName:kMediumFont size:24];