title: conflicting types for '-(id)tableView:(NSTableView *)tableView objectValueForTableColumn:(NSTableColumn *)tableColumn row:(int)row'
body: <p>I have this code:</p>
  
  <pre><code>- (id)tableView:(NSTableView *)tableView objectValueForTableColumn:(NSTableColumn *)tableColumn row:(int)row
  {
      if ([[tableColumn identifier] isEqualToString:@"friend name"]) {
          if (row == 0) {
              return @"All friends";
          } else {
              return [[friendsArray objectAtIndex:row - 1] name];
          }
      }
  
      return nil;
  }
  </code></pre>
  
  <p>And I get this warning, although the program runs as expected:</p>
  
  <pre><code>conflicting types for '-(id)tableView:(NSTableView *)tableView objectValueForTableColumn:(NSTableColumn *)tableColumn row:(int)row'
  </code></pre>
  
  <p>How can I get rid of this warning? Thanks.</p>
  
  <hr>
  
  <p>Answers related to <code>UITableViews</code> instead of <code>NSTableViews</code> will be <strong>down voted</strong>.</p>