I am desperately trying to learn COCOA, by first learning Objective-C. In Stephen Kochan's book "Programming in Objective-C", I have tried the following code lifting verbatim code from his text, which does run without error, but the following code tutorial produces the error message: 'Point' redeclared as a different kind of symbol:
#import <stdio.h>
// ------ @interface section ------
@interface Point: NSObject
{
int pointX;
int pointY;
}
any suggestions anybody??
Thanks!
#import <stdio.h>
// ------ @interface section ------
@interface Point: NSObject
{
int pointX;
int pointY;
}
any suggestions anybody??
Thanks!