FWAttributedStringClassWrapper

@interface FWAttributedStringClassWrapper : FWClassWrapper

Undocumented

FWFoundation

  • html字符串转换为NSAttributedString对象。如需设置默认字体和颜色,请使用addAttributes方法或附加CSS样式

    Declaration

    Objective-C

    - (nullable NSAttributedString *)attributedStringWithHtmlString:
        (nonnull NSString *)htmlString;