I have:
@interface A
@property (nonatomic, retain) B *toB;
@end
@interface B
@property (nonatomic, retain) A *toA;
@end
This causes the compiler to give me this:
error: expected specifier-qualifier-list before 'Property'
Now, it appears this has something to do with the order of parsing the files as independently, they work as long as the pointed to object is declared first.
How can I get round this?