#include "Controller.h"

@implementation Controller

- (void)buttonPressed:(id)sender
{
  NSString* text
      = [NSString stringWithFormat:@"\"%@\" button pressed", [sender title]];

  [textField setStringValue:text];
}

- (id)window
{
  return [textField window];
}

@end
