I am trying to build the Clustering Plug in my project under Leopard. I have following two questions.
In the project an interface class is defined as
@interface ClusteringController : NSWindowController
{
.......
.....
....
}
@end.
And this class is used in implementation class using forward declaration:
@class ClusteringController;
then in one fuction it is used as:
- (long) filterImage:(NSString*) menuName
{
ClusteringController *cluster = [[ClusteringController alloc] init];
[cluster showWindow:self];
return 0;
}
When I build this project it produces the warning:
warning: receiver 'ClusteringController' is a forward class and corresponding @interface may not exist
Also there is one more warning produced:
warning: no '-updateProxyWhenReconnect' method found
This warning is coming for the following line of code:
if(delegate) [delegate updateProxyWhenReconnect];
Can anybody help me to overcome these warnings?