I'm trying to develop a new static library using Xcode 3.2.3.
Xcode is giving strange error messages show below in my G.h file. What is the cause of these errors?
Charles
#import <Foundation/Foundation.h>
#import <CoreGraphics/CoreGraphics.h>
#import <UIKit/UIKitDefines.h>
@interface G : NSObject {
int fontSize, canvasWidth, canvasHeight;
}
UIColor *lightslategray;
error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
@property int fontSize, canvasWidth, canvasHeight;
-(void) DrawLine:(float)x1 :(float)y1 :(float)x2 :(float)y2 :(float) lineWidth: (UIColor *)color;
error: expected ')' before 'UIColor'
@end