I tried to put this in the header file of my view object:

@property (nonatomic) UIColor color;

to store the color that lines should be drawn with in this view.

Xcode gives me an error on this line:

Interface type cannot be statically allocated

What does that mean, and what should I do?

EDIT:

I did add a *, and at the point of synthesis, it said:

ARC forbid synthesizing a property of Objective C object with unspecified ownership or storage attribute?

Edit
Report