環境: Xcode 4.3+ を使用する iOS 4.3+
null を含むデータを返す次の文字列を実装すると、常に iOS/Xcode がクラッシュします。
[NSString stringWithContentsOfURL:myURL encoding:NSUTF8StringEncoding error:&error];
NSDictionary *myResult = (NSDictionary *)[myString JSONValue];
結果:
-[NSNull isEqualToString:]: unrecognized selector sent to instance 0x17315e8
データ ストリームに null が含まれていない場合 (ほとんどの場合)、問題なく動作します。これは既知の問題ですか?
何か救済策はありますか?