The following line of code returns the error "error: syntax error before 'CATextLayer"...
@interface core : NSView {
CATextLayer *textLayer = [CATextLayer layerWithText
"Hello" fontSize:25];
}
I am importing <Coaco/Cocoa.h>
How can I fix this problem and use CATextLayer in my program, any help would be great. Thanks,
@interface core : NSView {
CATextLayer *textLayer = [CATextLayer layerWithText
}
I am importing <Coaco/Cocoa.h>
How can I fix this problem and use CATextLayer in my program, any help would be great. Thanks,