#import "TableDelegate.h"


@implementation TableDelegate

// ----------------------------------------------------------------------------------------
// Adding
// ----------------------------------------------------------------------------------------

- (IBAction) doAdd:(id)sender
{
	NSMutableDictionary *newRow = [NSMutableDictionary dictionary];
	int rowNum = [oData count];

	[oData addObject:newRow];	// Add an empty object to the data array
	[oTable selectRow:rowNum byExtendingSelection:NO];
	[oTable editColumn:0 row:rowNum withEvent:nil select:YES];
}


@end
