FWFontClassWrapper

@interface FWFontClassWrapper : FWClassWrapper

Undocumented

FWToolkit

  • 全局自定义字体句柄,优先调用

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) UIFont *_Nonnull (^) (CGFloat, UIFontWeight) fontBlock;
  • 返回系统Thin字体

    Declaration

    Objective-C

    - (nonnull UIFont *)thinFontOfSize:(CGFloat)size;
  • 返回系统Light字体

    Declaration

    Objective-C

    - (nonnull UIFont *)lightFontOfSize:(CGFloat)size;
  • 返回系统Regular字体

    Declaration

    Objective-C

    - (nonnull UIFont *)fontOfSize:(CGFloat)size;
  • 返回系统Medium字体

    Declaration

    Objective-C

    - (nonnull UIFont *)mediumFontOfSize:(CGFloat)size;
  • 返回系统Semibold字体

    Declaration

    Objective-C

    - (nonnull UIFont *)semiboldFontOfSize:(CGFloat)size;
  • 返回系统Bold字体

    Declaration

    Objective-C

    - (nonnull UIFont *)boldFontOfSize:(CGFloat)size;
  • 创建指定尺寸和weight的系统字体

    Declaration

    Objective-C

    - (nonnull UIFont *)fontOfSize:(CGFloat)size weight:(UIFontWeight)weight;