I would like the popup to be transparent except for the arrow and the bottom-most part of it (bottom part is no problem, of course). I have a NSTableView in the middle so far.
So in NSPopover I added an NSView on the top and coloured it:
viewTop.wantsLayer = true
viewTop.layer?.backgroundColor = myBackgroundColor
But the topmost part is still transparent. This is that little thing on the very top like an arrow or so. I would like to make it the same light yellow colour as the NSView I put there. Please refer to my screenshots:

I need to colour the topmost little thing here:
