| 1234567891011121314151617181920212223242526272829 | 
							- //
 
- //  NSMutableAttributedString+RYText.h
 
- //  Asteria
 
- //
 
- //  Created by 王猛 on 2024/1/6.
 
- //
 
- #import <Foundation/Foundation.h>
 
- #import <CoreText/CoreText.h>
 
- 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;
 
- - (void)setAttributes:(NSDictionary *)attributes;
 
- - (void)setAttribute:(NSString *)name value:(id)value;
 
- @end
 
- NS_ASSUME_NONNULL_END
 
 
  |