Skip to content

Instantly share code, notes, and snippets.

@jpavley
Last active December 19, 2015 01:08
Show Gist options
  • Save jpavley/5873177 to your computer and use it in GitHub Desktop.
Save jpavley/5873177 to your computer and use it in GitHub Desktop.
data source methods for app delegates
- (void)awakeFromNib
{
NSLog(@"%@" , NSStringFromSelector(_cmd));
}
- (NSInteger)numberOfRowsInTableView:(NSTableView *)tv
{
NSLog(@"%@" , NSStringFromSelector(_cmd));
return (NSInteger)0;
}
- (id)tableView:(NSTableView *)tv objectValueForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row
{
NSLog(@"%@" , NSStringFromSelector(_cmd));
return nil;
}
- (void)tableViewSelectionDidChange:(NSNotification *)notification
{
NSLog(@"%@" , NSStringFromSelector(_cmd));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment