Samond Classes Library 1.2.6-STABLE build 219
|
Mutable keyed collection protocol. More...
#import <SCCollectionProtocols.h>
Adding and Changing Objects | |
(void) | - setObject:forKey: |
(void) | - setObject:forKeyedSubscript: |
(void) | - setValue:forKey: |
Removing Objects | |
(void) | - removeObjectForKey: |
Mutable keyed collection protocol.
Declares the mandatory methods for changing the content of the keyed collections.
- (void) removeObjectForKey: | (NSString *) | key |
Removes a given key and its associated object from the receiving dictionary.
key | - the key to remove |
SCCollectionException | - collection error detected |
Reimplemented in SCDictionary.
- (void) setObject: | (id< SCCollectioning >) | object | |
forKey: | (NSString *) | key | |
Adds a given key-object pair to the dictionary.
object | - the object for the specified key |
key | - the key for the specified object |
SCCollectionException | - collection error detected |
Reimplemented in SCDictionary.
- (void) setObject: | (id< SCCollectioning >) | object | |
forKeyedSubscript: | (NSString *) | key | |
Adds a given key-value pair to the dictionary.
object | - the value for a given key |
key | - the key for a goven value |
SCCollectionException | - collection error detected |
Reimplemented in SCDictionary.
- (void) setValue: | (id< SCCollectioning >) | value | |
forKey: | (NSString *) | key | |
Adds a given key-value pair to the dictionary.
value | - the value for the specified key |
key | - the key for the specified value |
SCCollectionException | - collection error detected |
Reimplemented in SCDictionary.