Declared in NSMutableDictionary+BFKit.h

Overview

This category adds some useful methods to NSMutableDictionary

Tasks

Instance Methods

safeSetObject:forKey:

- (BOOL)safeSetObject:(id _Nonnull)anObject forKey:(id<NSCopying> _Nonnull)aKey
Discussion

Set the object for a given key in safe mode (if not nil)

Parameters

anObject

The object

aKey

The key

Return Value

Returns YES if has been setted, otherwise NO

Declared In

NSMutableDictionary+BFKit.h