Returns a new array containing the keys corresponding to all occurrences of a given object in the dictionary.
Original signature is '- (NSArray *)allKeysForObject:(id)anObject'
Available in Mac OS X v10.0 and later.
Declaration Syntax
Parameters
- anObject (Id)
- The value to look for in the dictionary.
Return Value
A new array containing the keys corresponding to all occurrences of anObject in the dictionary. If no object matching anObject is found, returns an empty array.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)