34 lines
1.1 KiB
Objective-C
34 lines
1.1 KiB
Objective-C
//
|
|
// MVMFonts.h
|
|
// myverizon
|
|
//
|
|
// Created by Scott Pfeil on 11/17/14.
|
|
// Copyright (c) 2014 Verizon Wireless. All rights reserved.
|
|
//
|
|
// Commonly used mvm fonts
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <UIKit/UIKit.h>
|
|
|
|
extern NSString * _Nonnull const DSBold;
|
|
extern NSString * _Nonnull const DSRegular;
|
|
extern NSString * _Nonnull const TXBold;
|
|
extern NSString * _Nonnull const TXRegular;
|
|
|
|
@interface MFFonts : NSObject
|
|
|
|
//mva 3.0 font, should use MFStyler.getMVA3FontSize:bold: instead, in most case.
|
|
+ (nonnull UIFont *)mfFontDSBold:(CGFloat)size;
|
|
+ (nonnull UIFont *)mfFontDSRegular:(CGFloat)size;
|
|
+ (nonnull UIFont *)mfFontTXBold:(CGFloat)size;
|
|
+ (nonnull UIFont *)mfFontTXRegular:(CGFloat)size;
|
|
|
|
///return mfFontTXBold when size smaller than 15, otherwise, return mfFontDSBold
|
|
+ (nonnull UIFont *)mfFont75Bd:(CGFloat)size;
|
|
///return mfFontTXRegular when size smaller than 15, otherwise, return mfFontDSRegular
|
|
+ (nonnull UIFont *)mfFont55Rg:(CGFloat)size;
|
|
+ (nullable UIFont *)mfFontOcratxt:(CGFloat)size;
|
|
+ (nonnull UIFont *)mfFontWithName:(nonnull NSString *)name size:(CGFloat)size;
|
|
|
|
@end
|