title: numberOfRowsInTableView is not being called
body: <p>I'm setting up a view-based NSTableView, however the method numberOfRowsInTableView is not being called. When I check whether it is being called, the log returns nil.</p>
  
  <p>I have set up my AppDelegate to conform to the datasource and the delegate protocols and have connected these through IB to the AppDelegate. My array that will feed the table is initialised when app finishes loading.</p>
  
  <p>My code is as follows:</p>
  
  <p>Interface</p>
  
  <pre><code>#import &lt;Cocoa/Cocoa.h&gt;
  
  @interface RLTAppDelegate : NSObject &lt;NSApplicationDelegate, NSTableViewDataSource, NSTableViewDelegate&gt;
  
  @property (assign) IBOutlet NSWindow *window;
  @property (weak) IBOutlet NSTableView *tableView;
  @property (copy) NSArray *nameArray;
  
  @end
  </code></pre>
  
  <p>Implementation</p>
  
  <pre><code>#import "RLTAppDelegate.h"
  
  @implementation RLTAppDelegate
  
  - (void)applicationDidFinishLaunching:(NSNotification *)aNotification
  {
    self.nameArray = [[NSArray alloc] initWithObjects:@"Ryan", nil];
  }
  
  - (NSInteger)numberOfRowsInTableView:(NSTableView *)tableView {
  
    return [self.nameArray count];
    NSLog(@"%lu", self.nameArray.count);
  }
  
  - (NSView *)tableView:(NSTableView *)tableView
     viewForTableColumn:(NSTableColumn *)tableColumn
                row:(NSInteger)row {
  
  NSTextField *result = [tableView makeViewWithIdentifier:@"name" owner:self];
  result.stringValue = [self.nameArray objectAtIndex:row];
  return result;
  }
  
  @end
  </code></pre>