1 #import "ITImageView.h"
2 #import "ITImageCell.h"
5 @implementation ITImageView
10 if ( self == [ITImageView class] ) {
11 [self setCellClass:[ITImageCell class]];
17 return [ITImageCell class];
20 - (id)initWithFrame:(NSRect)rect
22 if ( (self = [super initWithFrame:rect]) ) {
23 [self setScalesSmoothly:YES];
29 - (BOOL)scalesSmoothly
31 return [[self cell] scalesSmoothly];
34 - (void)setScalesSmoothly:(BOOL)flag
36 [[self cell] setScalesSmoothly:flag];