//
//  NSAttributedString+gmsafekit.h
//  HiSports
//
//  Created by luxiaoming on 16/8/26.
//  Copyright © 2016年 com.ouj. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSAttributedString (gmsafekit)

- (instancetype)safeInitWithString:(NSString *)str;

- (instancetype)safeInitWithString:(NSString *)str attributes:(NSDictionary<NSString *,id> *)attrs;

- (instancetype)safeInitWithAttributedString:(NSAttributedString *)attrStr;


@end




@interface NSMutableAttributedString (gmsafekit)

- (void)safeAppendAttributedString:(NSAttributedString *)attrString;

@end


