I've found NSView's setNeedsDisplayInRect: method, which is obviously better than just calling setNeedsDisplay on the whole thing... [originally from svn r5258]