NSMutableDictionary+NSMutableDictionary_SK.m 419 B

12345678910111213141516171819
  1. //
  2. // NSMutableDictionary+NSMutableDictionary_SK.m
  3. // shiku_im
  4. //
  5. // Created by p on 2019/7/25.
  6. // Copyright © 2019 Reese. All rights reserved.
  7. //
  8. #import "NSMutableDictionary+NSMutableDictionary_SK.h"
  9. @implementation NSMutableDictionary (NSMutableDictionary_SK)
  10. - (void)setNotNullObject:(id)anObject forKey:(id<NSCopying>)aKey;{
  11. if (anObject) {
  12. [self setObject:anObject forKey:aKey];
  13. }
  14. }
  15. @end