NSString or NSCFString in xcode?
问题 I m taking a NSMutabledictionary object in NSString like this : NSString *state=[d valueForKey:@"State"]; Now sometimes state may be null and sometimes filled with text.So Im comparing it.While comparing state becomes NSString sometimes and NSCFString othertimes..So unable to get the desired result.. if([state isEqualToString@""]) { //do something } else { //do something } So while comparing it is returning nil sometimes.So immediately jumping into the else block. I need a standard way to