// // NSMutableAttributedString+RYText.h // Asteria // // Created by 王猛 on 2024/1/6. // #import #import NS_ASSUME_NONNULL_BEGIN @interface NSMutableAttributedString (RYText) @property (nullable, nonatomic, strong, readwrite) UIFont *font; - (void)setFont:(nullable UIFont *)font range:(NSRange)range; @property (nullable, nonatomic, strong, readwrite) UIColor *color; - (void)setColor:(nullable UIColor *)color range:(NSRange)range; @property (nonatomic, readwrite) NSUnderlineStyle underlineStyle; - (void)setUnderlineStyle:(NSUnderlineStyle)underlineStyle range:(NSRange)range; @end NS_ASSUME_NONNULL_END