//
//  NSAttributedString+Ext.h
//  NaviDemo
//
//  Created by linbiao on 2019/5/15.
//  Copyright © 2019年 Baidu. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSMutableAttributedString (Ext)

- (void)ext_setFont:(UIFont *)font;
- (void)ext_setFont:(UIFont *)font range:(NSRange)range;
- (void)ext_setFontName:(NSString *)fontName size:(CGFloat)size;
- (void)ext_setFontName:(NSString *)fontName size:(CGFloat)size range:(NSRange)range;
- (void)ext_setTextColor:(UIColor *)color;
- (void)ext_setTextColor:(UIColor *)color range:(NSRange)range;

@end

NS_ASSUME_NONNULL_END
