NSMutableDictionary(FunkyNilTolerant)
@interface NSMutableDictionary <KeyType, ObjectType>
(FunkyNilTolerant) @end
This is a category on NSMutableDictionary to convert the current set into a nil-tolerant collection.
See
Immutable counterpartNSDictionary(FunkyNilTolerant)
-
This method converts the regular NSMutableDictionary into a nil-tolerant collection, with the same content.
See
Immutable counterpart-[NSDictionary(FunkyNilTolerant) nilTolerant]Declaration
Objective-C
- (FunkyNilTolerantNSMutableDictionary *)nilTolerant;Return Value
A nil-tolerant NSMutableDictionary (a.k.a.
FunkyNilTolerantNSMutableDictionary) with the same content. -
This method creates a new nil-tolerant mutable collection.
See
Immutable counterpart+[NSDictionary(FunkyNilTolerant) nilTolerantDictionary]Declaration
Objective-C
+ (FunkyNilTolerantNSMutableDictionary *)nilTolerantDictionary;Return Value
A nil-tolerant NSMutableDictionary (a.k.a.
FunkyNilTolerantNSMutableDictionary). -
This method creates a new nil-tolerant mutable collection by providing its capacity.
Declaration
Objective-C
+ (FunkyNilTolerantNSMutableDictionary *)nilTolerantDictionaryWithCapacity: (NSUInteger)capacity;Parameters
capacityThe desired capacity of the collection
Return Value
A nil-tolerant NSMutableDictionary (a.k.a.
FunkyNilTolerantNSMutableDictionary) with the givencapacity. -
This method creates a new nil-tolerant mutable collection, containing the given object parameter under the specified key.
See
Immutable counterpart+[NSDictionary(FunkyNilTolerant) nilTolerantDictionaryWithObject:forKey:]Declaration
Objective-C
+ (FunkyNilTolerantNSMutableDictionary *) nilTolerantDictionaryWithObject:(ObjectType)object forKey:(id<NSCopying>)key;Parameters
objectThe object to be stored in the collection
keyThe key under
objectshould be put inReturn Value
A nil-tolerant NSMutableDictionary (a.k.a.
FunkyNilTolerantNSMutableDictionary). -
This method creates a new nil-tolerant mutable collection, containing the original content of the passed dictionary parameter.
See
Immutable counterpart+[NSDictionary(FunkyNilTolerant) nilTolerantDictionaryWithDictionary:]Declaration
Objective-C
+ (FunkyNilTolerantNSMutableDictionary *)nilTolerantDictionaryWithDictionary: (NSDictionary<KeyType, ObjectType> *)dictionary;Return Value
A nil-tolerant NSMutableDictionary (a.k.a.
FunkyNilTolerantNSMutableDictionary).
View on GitHub
Install in Dash
NSMutableDictionary(FunkyNilTolerant) Category Reference