4
4

More than 5 years have passed since last update.

[NSNull isEqualToString:] クラッシュする件

Last updated at Posted at 2014-04-22

[object isEqualToString:@"string"]; で、object が NSNull の場合がある時、[@"string" isEqualToString:object] にするとよい。
API などで取得したデータを評価する時にこの問題が起こる事がある。

4
4
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4