++ (void)initialize {
+ if (self == [ITImageView class]) {
+ [self setCellClass:[ITImageCell class]];
+ }
+}
+
++ (Class)cellClass {
+ return [ITImageCell class];
+}
+
+- (id)initWithFrame:(NSRect)rect {
+ if ((self = [super initWithFrame:rect])) {
+ [self setScalesSmoothly:YES];
+ }
+ return self;
+}
+
+- (BOOL)scalesSmoothly {
+ return [[self cell] scalesSmoothly];
+}
+
+- (void)setScalesSmoothly:(BOOL)flag {
+ [[self cell] setScalesSmoothly:flag];
+}
+
+- (BOOL)castsShadow {
+ return [[self cell] castsShadow];
+}
+
+- (void)setCastsShadow:(BOOL)newSetting {
+ [[self cell] setCastsShadow:newSetting];
+}