ObjFW
Public Member Functions
OFMutableDictionary Class Reference

An abstract class for storing and changing objects in a dictionary. More...

#import <OFMutableDictionary.h>

Inheritance diagram for OFMutableDictionary:
OFDictionary OFObject <OFCopying> <OFMutableCopying> <OFCollection> <OFSerialization> <OFJSON> <OFObject> <OFEnumerating> <OFFastEnumeration>

List of all members.

Public Member Functions

(void) - setObject:forKey:
 Sets an object for a key.
(void) - removeObjectForKey:
 Removes the object for the specified key from the dictionary.
(void) - replaceObjectsUsingBlock:
 Replaces each object with the object returned by the block.
(void) - makeImmutable
 Converts the mutable dictionary to an immutable dictionary.

Detailed Description

An abstract class for storing and changing objects in a dictionary.


Member Function Documentation

- (void) removeObjectForKey: (id)  key

Removes the object for the specified key from the dictionary.

Parameters:
keyThe key whose object should be removed
- (void) replaceObjectsUsingBlock: (of_dictionary_replace_block_t)  block

Replaces each object with the object returned by the block.

Parameters:
blockThe block which returns a new object for each object
- (void) setObject: (id)  object
forKey: (id)  key 

Sets an object for a key.

A key can be any object that conforms to the OFCopying protocol.

Parameters:
keyThe key to set
objectThe object to set the key to

The documentation for this class was generated from the following files:
 All Classes Functions Variables Properties