UIFont+Titi.h 655 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. //
  2. // UIFont+Titi.h
  3. // FornoWorld
  4. //
  5. // Created by RD on 2021/7/30.
  6. //
  7. #import <UIKit/UIKit.h>
  8. NS_ASSUME_NONNULL_BEGIN
  9. typedef NS_ENUM(NSInteger, FontStyle) {
  10. FontStyle_Regular,
  11. FontStyle_Italic,
  12. FontStyle_Thin,
  13. FontStyle_ThinItalic,
  14. FontStyle_Light,
  15. FontStyle_LightItalic,
  16. FontStyle_SemiBold,
  17. FontStyle_SemiBoldItalic,
  18. FontStyle_Bold,
  19. FontStyle_BoldItalic,
  20. FontStyle_Black,
  21. };
  22. @interface UIFont (Titi)
  23. /// TitilliumWeb 字体
  24. /// @param fontStyle 粗细样式
  25. /// @param size 字体大小
  26. + (UIFont *)rds_titiFontStyle:(FontStyle )fontStyle size:(CGFloat )size;
  27. @end
  28. NS_ASSUME_NONNULL_END