NSDictionary (EDExtensions)


Declared In:
NSDictionary+Extensions.h


Category Description

Various common extensions to NSDictionary.


Method Types

- objectForStringKeyCaseInsensitive:

Instance Methods

objectForStringKeyCaseInsensitive:

- (id)objectForStringKeyCaseInsensitive:(NSString *)searchKey

Based on the assumption that all keys are instances of NSString returns the object for a key that is equal to searchKey when compared case insensitively. Note that the dictionary might contain multiple keys that fullfill this criterion and no assumptions should be made regarding the key chosen. In fact, different keys might be chosen in subsequent invocations of this method.


Version 2.0 Copyright ©2002. All Rights Reserved.