Xcode Issues


#1

Hi.

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?

Thanks.


#2

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

:slight_smile: