[XcodeCapp] App controller should conform to NSTableView data source and delegate protocols. Protocol methods don't need to be declared in the adopting class' interface because they will have already been declared in the protocol declaration.

This commit is contained in:
lowell committed 2011-11-24 13:58:03 -08:00
1 parent bc14ad6b9d
commit 50b447b05d
1 file changed
+1 -6
+1 -6
View File
@@ -21,7 +21,7 @@
#import "PRHEmptyGrowlDelegate.h"
#import "TNXCodeCapp.h"
@interface AppController : NSObject <NSMenuDelegate>
@interface AppController : NSObject <NSMenuDelegate, NSTableViewDataSource, NSTableViewDelegate>
{
IBOutlet NSMenu *statusMenu;
IBOutlet NSMenuItem *menuItemOpenXCode;
@@ -66,10 +66,5 @@
- (IBAction)openAbout:(id)aSender;
- (IBAction)updatePreferences:(id)aSender;
- (CGFloat)tableView:(NSTableView *)tableView heightOfRow:(int)aRow;
- (id)tableView:(NSTableView *)aTableView objectValueForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row;
- (NSInteger)numberOfRowsInTableView:(NSTableView *)aTableView;
- (NSInteger)numberOfRowsInTableView:(NSTableView *)aTableView;
@end