I am writing a simple program that uses an object *center from an XYPoint class as an instance variable.
@interface Circle : NSObject {
int radius;
XYPoint *center;
}
however, I get this error message when compiling the code:
error: expected specifier-qualifier-list before 'XYPoint'
how can I fix this?