Hello I am getting this error:
error: expected '=',',',';', 'asm' or 'attribute' before '.' token
I am not sure what is causing it, it's probably something stupid which I have over looked, here is the problem code.
This is a mac app btw
DataClass *obj=[DataClass getInstance];
obj.str= @"test";