Okay, say I have the Obj-C classes, ObjectA and ObjectB. Until now, if I want ObjectA to "use" ObjectB, I include the line:
...in ObjectA.h. But when I also want ObjectB to use ObjectA, and I try to do it the other way round at the same time, by having the line:
...in ObjectB.h, I get compile errors. So, basically, how do I allow ObjectA and ObjectB use each other?
Thanks,
Aquis
Code:
#include <ObjectB.h>
Code:
#include <ObjectA.h>
Thanks,
Aquis