Samond Classes Library 1.2.6-STABLE build 219
|
Keyed collections protocol. More...
#import <SCCollectionProtocols.h>
Querying a Collection | |
(id) | - objectForKey: |
(id) | - objectForKeyedSubscript: |
(id) | - valueForKey: |
Keyed collections protocol.
Declares the mandatory methods for support keyed collections.
- (id) objectForKey: | (NSString *) | key |
Returns the object associated with a given key.
key | - the key for which to return the corresponding object |
Reimplemented in SCDictionary.
- (id) objectForKeyedSubscript: | (NSString *) | key |
Returns the value associated with a given key.
key | - the key for which to return the corresponding value |
SCCollectionException | - collection error detected |
Reimplemented in SCDictionary.
- (id) valueForKey: | (NSString *) | key |
Returns the value associated with a given key.
key | - the key for which to return the corresponding value |
Reimplemented in SCDictionary.