I seem to be having a bit of trouble with using classes from other files in my interface. The way I have written it so far is...
#import "NodeBase.h"
@interface Node : NSObject {
@public
Node * testnode;
}
where NodeBase is a header file that deals with the importing of the other classes i.e.
#import <Foundation/Foundation.h>
#import "Node.h"
#import "NodeConnection.h"
#import "NodeProperty.h"
The error I am getting is a "Parse Issue: Expected a type", is there no way to use a class in this context? Or have I got the syntax completely wrong?
Nodewhich contains aNode. Looks like some kind of circular reference thing going on there in yourNodedeclarations.