123456789101112131415161718192021 |
- //
- // UILabel+TD.h
- // smartRhino
- //
- // Created by tederen on 2019/10/22.
- // Copyright © 2019 tederen. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- NS_ASSUME_NONNULL_BEGIN
- @interface UILabel (TD)
- - (void)highlightString:(NSString *)string color:(UIColor *)color;
- - (NSAttributedString *)subhighlightString:(NSString *)string color:(UIColor *)color;
- - (void)highlightString:(NSString *)string color:(UIColor *)color withSpace:(CGFloat)space withFont:(UIFont*)font setLineSpace:(NSUInteger)headIndent setTextSpace:(CGFloat)textspace;
- @end
- NS_ASSUME_NONNULL_END
|