title: -[__NSCFNumber isEqualToString] error
body: <p>I'm getting this crash, but, in my code I am using a string. I've been working on this one piece of code for 2 hours now and I just can't see what I'm missing! Any ideas?</p>
  
  <pre><code> NSString *codeR = [NSString stringWithFormat:@"%@", [[object objectForKey:@"code"] stringValue]];
  
      if([codeR isEqualToString:@"200"])
  </code></pre>
  
  <p>Error: </p>
  
  <blockquote>
    <p>Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFNumber isEqualToString:]: unrecognized selector sent to instance 0x181cf0'</p>
  </blockquote>
  
  <p>I would be very grateful input, this is confusing the hell out of me!</p>
  
  <p>Thanks.</p>