US-State-Abbreviations icon indicating copy to clipboard operation
US-State-Abbreviations copied to clipboard

Fixes stateFullNameFromAbbreviation method

Open JamesPerlman opened this issue 9 years ago • 0 comments

The method was incorrect. Line 31 was attempting to search for the located value as a key for the dictionary.

Ex. [@"HI" stateFullNameFromAbbreviation]:

Line 30: The loop finds "HI" in the values for the dictionary Line 31: [self.stateAbbreviationsMap objectForKey:@"HI"] returns nil because the key is "Hawaii" and the value is "HI"

JamesPerlman avatar Jun 06 '15 06:06 JamesPerlman