I'm working with Swift and SceneKit in Xcode 9.2. I've been applying color to geometry with `NSColor`, but all of a sudden (gradually) most of my colors get the type `NSColor` has no member `.colorname`. Like my game compiled and ran just fine, and then on the next compile, I got an error with `.cyan`. I changed it to `.black` and it ran. Then another color got an error, and then most of the colors got an error. 

Here's an example:

```
node.geometry?.firstMaterial?.diffuse.contents = NSColor.black

```

the options that I have left are: 

`.blue`, `.green`, `.int`, `.rawValue`, `.red`, `.yellow`.

What happened to all the colors?

EDIT: I cleaned up the project, it all compiles without warnings but I still only have 4 colors and they all render gray. I printed out the nodes diffuse colors to console and they read correct. 

I've also imported Cocoa framework.

EDIT: I FOUND MY MISTAKE.

I accidentally replaced the name of an enum with `NSColor` while doing a find and replace. That's why `SKColor` worked, because it was a new name. 

I am so embarrassed.