NSDictionary case insensitive objectForKey:
问题 NSDictionary has objectForKey but it's case-sentive for keys. There is No function available like - (id)objectForKey:(id)aKey options:(id) options; where in options you can pass "NSCaseInsensitiveSearch" To get key's from NSDictionary which is case-insesitive one can use the following code written below. 回答1: This isn't included for a couple of reasons: NSDictionary uses hash equality, and for pretty much any good hashing algorithm, any variation in the source string results in a different