Xcode Issues



I’m porting my app to OS-X, and I have this annoying compilation error:
when calling the constructor DrawableButton(const String, ButtonStyle buttonStyle) with values:

DrawableButton(“drawableButton”, DrawableButton::ButtonStyle::ImageFitted);
I get an error message: “Expected a class or namespace”.

I’m using xcode 4.

What am I doing wrong?



Got it, I need to use DrawableButton::ImageFitted .