I have a
SKView with a picture of a keyboard in a window as shown below. I would like the background color of the
SKScene it's presenting to be the same color as the window behind it, so that it would appear as if the keyboard was just in the window, and not in something else that was in the window. After consulting the
NSColor documentation, I tried setting the background color of the
NSColor.windowBackgroundColor(). The color below is what I got. I'm assuming there was some kind of error and so it defaulted to black. That being said, how do I access the default color of a window?