Swift Tip : named Images

I haven’t figured out exactly what the issue is… but is seems Swift doesn’t like certain “names” for catalog images…
I had this code


and the compiler could not find the image (and yes it was spelled and cased correctly)

but if I changed the names and used

 NSColor(patternImage: NSImage(named:"f_IND3")!)

it works just fine.

so I don’t know if “find” was a “keyword” or what

but a heads up if you ever run into a similar situation, change the image names


yeah… took me a few hours of hair-pulling