title: Comparing NSStrings and warning about NSNumbers
body: <p>Sometimes JSON returns <code>(null)</code> from the database where it gets data, so I do a check to see if its has returned that <code>(null)</code>.</p>
  
  <pre><code>else if (NSOrderedSame == [[clubsArray objectAtIndex:indexPath.row] compare:@"(null)"] )
  </code></pre>
  
  <p>But Xcode is warning me</p>
  
  <blockquote>
    <p>Incompatible Objective-C types 'struct NSString *', expected 'struct NSNumber *' when passing argument 1 of 'compare:' from distinct Objective-C type</p>
  </blockquote>
  
  <p>I add <code>NSString</code>s into that array so I'm confused as to why its talking about a struct.</p>
  
  <pre><code>NSString *clubNameReturned = [message objectForKey:@"clubname"];
  [clubsArray addObject:clubNameReturned];
  </code></pre>
  
  <p>Is anybody able to shed some light on what's going on here?</p>
  
  <p>The code executes as I expect it to, but I don't want to be doing something that's not correct.</p>