Hello, i am having problems with the synthesize/property statement.
In the header i write
@property int fillColor;
and in the implementation file i write
@synthesize fillColor;
I've read that setter methods are created this way so,when i use the function below, it should work...right?
[object1 setfillColor 2] ;
I get a message saying "[GraphicObject fillColor:]: unrecognized selector sent to instance 0x10010c6d0"
GraphicObject is my class.
obviously i've omitted all the commands from the headers/footers for clarity.
can anybody help?
In the header i write
@property int fillColor;
and in the implementation file i write
@synthesize fillColor;
I've read that setter methods are created this way so,when i use the function below, it should work...right?
[object1 setfillColor 2] ;
I get a message saying "[GraphicObject fillColor:]: unrecognized selector sent to instance 0x10010c6d0"
GraphicObject is my class.
obviously i've omitted all the commands from the headers/footers for clarity.
can anybody help?