- (void)viewDidEndLiveResize { [super viewDidEndLiveResize]; [self setNeedsDisplay:YES]; }
Technorati ProfileCopyright © Scott Stevenson 2004-2006
by Coriander — Oct 04, 07
The effect can be greater by using NSImageInterpolationNone instead of NSImageInterpolationLow.
Also, remember to refresh the view at the end of live resizing to bring it back to high image quality:
- (void)viewDidEndLiveResize { [super viewDidEndLiveResize]; [self setNeedsDisplay:YES]; }