OS X Cocoa App.
I have a Popover window that allows the user to choose a colour for a line on a graph.
It uses an NSColorWell. When the user clicks in the well, the Colour Picker appears - which is good.
When the user is done, they click away from the Popover and it disappears, but unless they specifically dismiss the colour picker it remains on screen.
How can I programatically dismiss the colour picker?
See the following screen shots for the sequence of events I am referring to. In Screen Shot 4 I would like the colour picker to disappear.
Thanks!