I have just created a path using NSBezierPath and did [path fill] to draw it onto the view. My question is how do I remove what I have drawn?
One possible solution is to use [path fill] again with the background color but this will not work if there is a background image instead of a simple background color. So anyone has any ideas?