1 #import "ITTableView.h"
2 #import "ITTableCornerView.h"
5 @implementation ITTableView
7 - (id)initWithFrame:(NSRect)frame {
8 self = [super initWithFrame:frame];
10 corner = [[ITTableCornerView alloc] initWithFrame:[[self cornerView] frame]];
11 [corner setPullsDown:YES];
12 [self setCornerView:corner];
17 - (id)initWithCoder:(NSCoder*)coder {
18 self = [super initWithCoder:coder];
20 corner = [[ITTableCornerView alloc] initWithFrame:[[self cornerView] frame]];
21 [corner setPullsDown:YES];
22 [self setCornerView:corner];
27 - (void)encodeWithCoder:(NSCoder*)coder {
28 [super encodeWithCoder:coder];
31 - (void)setCornerImage:(NSImage*)image {
32 [corner setImage:image];
35 - (NSImage*)cornerImage {
36 return [corner image];
39 - (void)setCornerMenu:(NSMenu*)menu {
40 [corner setMenu:menu];
43 - (NSMenu*)cornerMenu {