SFSDKSafeMutableDictionary Class Reference
| Conforms to | KeyType ObjectType |
|---|---|
| Declared in | SFSDKSafeMutableDictionary.h |
– objectForKey:
Retrieves object for the key specified (Thread Safe)
- (nullable ObjectType)objectForKey:(KeyType<NSCopying>)aKeyReturn Value
object for specified key
Declared In
SFSDKSafeMutableDictionary.h
– objectForKeyedSubscript:
Retrieves object for the key specified (Thread Safe)
- (nullable ObjectType)objectForKeyedSubscript:(KeyType<NSCopying>)keyReturn Value
object for specified key
Declared In
SFSDKSafeMutableDictionary.h
– allKeysForObject:
Retreives all keys for object specified (Thread Safe)
- (NSArray<KeyType> *)allKeysForObject:(ObjectType)anObjectReturn Value
Array with keys
Declared In
SFSDKSafeMutableDictionary.h
– dictionary
Get a NSDictionary from the mutable Dictionary (Thread Safe)
- (NSDictionary<KeyType,ObjectType> *)dictionaryDeclared In
SFSDKSafeMutableDictionary.h
– setObject:forKey:
Sets object for key specified (Thread Safe)
- (void)setObject:(ObjectType)object forKey:(KeyType<NSCopying>)aKeyParameters
object |
to add to collection |
|---|---|
aKey |
for to map the object to |
Declared In
SFSDKSafeMutableDictionary.h
– setObject:forKeyedSubscript:
Sets object for key specified (Thread Safe)
- (void)setObject:(ObjectType)object forKeyedSubscript:(KeyType<NSCopying>)aKeyParameters
object |
to add to collection |
|---|---|
aKey |
for to map the object to |
Declared In
SFSDKSafeMutableDictionary.h
– removeObject:
Removes object for key specified (Thread Safe)
- (void)removeObject:(KeyType<NSCopying>)aKeyParameters
aKey |
to remove from the collection. |
|---|
Declared In
SFSDKSafeMutableDictionary.h
– removeAllObjects
removes all objects (Thread Safe)
- (void)removeAllObjectsDeclared In
SFSDKSafeMutableDictionary.h
– removeObjects:
removes objects for keys (Thread Safe)
- (void)removeObjects:(NSArray<KeyType<NSCopying> > *)keysParameters
keys |
to remove from the collection. |
|---|
Declared In
SFSDKSafeMutableDictionary.h
– addEntries:
Adds entries from the dictionary passed in (Thread Safe)
- (void)addEntries:(NSDictionary<KeyType,ObjectType> *)otherDictionaryParameters
otherDictionary |
to add to collection |
|---|
Declared In
SFSDKSafeMutableDictionary.h
– setDictionary:
Sets the dictionary collection to the dictionary passed in(Thread Safe)
- (void)setDictionary:(NSDictionary<KeyType,ObjectType> *)dictionaryParameters
dictionary |
to set |
|---|
Declared In
SFSDKSafeMutableDictionary.h