NSMutableDictionary+AvoidCrash.h 471 B

123456789101112131415161718192021222324
  1. //
  2. // NSMutableDictionary+AvoidCrash.h
  3. // https://github.com/chenfanfang/AvoidCrash
  4. //
  5. // Created by mac on 16/9/22.
  6. // Copyright © 2016年 chenfanfang. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "AvoidCrashProtocol.h"
  10. @interface NSMutableDictionary (AvoidCrash)<AvoidCrashProtocol>
  11. @end
  12. /**
  13. * Can avoid crash method
  14. *
  15. * 1. - (void)setObject:(id)anObject forKey:(id<NSCopying>)aKey
  16. * 2. - (void)removeObjectForKey:(id)aKey
  17. *
  18. */