3 #import "ITTableView.h"
6 @implementation ITTableView
8 - (id)initWithFrame:(NSRect)frame {
9 self = [super initWithFrame:frame];
11 corner = [[ITTableCornerView alloc] initWithFrame:[[self cornerView] frame]];
12 [corner setPullsDown:YES];
13 [self setCornerView:corner];
18 - (id)initWithCoder:(NSCoder*)coder {
19 self = [super initWithCoder:coder];
21 corner = [[ITTableCornerView alloc] initWithFrame:[[self cornerView] frame]];
22 [corner setPullsDown:YES];
23 [self setCornerView:corner];
28 - (void)encodeWithCoder:(NSCoder*)coder {
29 [super encodeWithCoder:coder];
32 - (void)setCornerImage:(NSImage*)image {
33 [corner setImage:image];
36 - (NSImage*)cornerImage {
37 return [corner image];
40 - (void)setCornerMenu:(NSMenu*)menu {
41 [corner setMenu:menu];
44 - (NSMenu*)cornerMenu {