- (void)viewDidEndLiveResize { [super viewDidEndLiveResize]; [self setNeedsDisplay:YES]; }
Copyright © Scott Stevenson 2004-2015
by Coriander — Oct 04
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]; }