I have a class with readwrite int properties:
readwrite
int
@interface PlayScene : UIView @property (readwrite, assign) int Figure1; @property (
wrong syntax!
call
[self setFigure1:1];
or
self.Figure1 = 1;
(it's the same, thanks to @synthesize [i hope you did add a synthesize]!)
And: BTW: you might use lowercase-camelcase for your instance variable. It's kind of global-common. :)