Files
yuyin_ios/SweetParty/第三方库/AvoidCrash/NSAttributedString+AvoidCrash.h
2025-08-08 11:05:33 +08:00

26 lines
595 B
Objective-C

//
// NSAttributedString+AvoidCrash.h
// https://github.com/chenfanfang/AvoidCrash
//
// Created by mac on 16/10/15.
// Copyright © 2016年 chenfanfang. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "AvoidCrashProtocol.h"
@interface NSAttributedString (AvoidCrash)<AvoidCrashProtocol>
@end
/**
* Can avoid crash method
*
* 1.- (instancetype)initWithString:(NSString *)str
* 2.- (instancetype)initWithAttributedString:(NSAttributedString *)attrStr
* 3.- (instancetype)initWithString:(NSString *)str attributes:(NSDictionary<NSString *,id> *)attrs
*
*
*/