compiler error for NSValueTransformer subclass
compiler error for NSValueTransformer subclass
- Subject: compiler error for NSValueTransformer subclass
- From: Koen van der Drift <email@hidden>
- Date: Wed, 21 Sep 2005 18:44:21 -0400
Hi,
I am subclassing NSValueTransformer and get the following compiler
error: cannot find interface declaration for 'NSValueTransformer',
superclass of 'KTransformer'
The header file looks like this:
#import <Foundation/Foundation.h>
@interface KTransformer : NSValueTransformer
{
}
@end
The implementation file:
#import "KTransformer.h"
@implementation KTransformer
...
@end
If I comment out #import "KTransformer.h", the compiler error goes
away, but now I get a warning in return: cannot find interface
declaration for 'KTransformer'. I am using the SDK for 10.3.9 under
Cross-Develop, so NSValueTransformer should be known. I also set
MACOSX_DEPLOYMENT_TARGET = 10.3 for the Target. Maybe there is
another place where I need to set the SDK, or did I miss something else?
thanks,
- Koen.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden