so for windows and panels i can write:
but if i want to say if my color is red:
any thoughts?
Code:
if (myWindow isVisible) {bla bla bla};
but if i want to say if my color is red:
Code:
if (NSColor = redColor) {doesn't work};
if (NSColor isEqual:redColor) {doesn't work, etc.};
any thoughts?