Re: Interface declaration
Re: Interface declaration
- Subject: Re: Interface declaration
- From: j o a r <email@hidden>
- Date: Sat, 7 Jan 2006 16:44:40 +0100
On 7 jan 2006, at 12.56, Sanri Parov wrote:
I'm using a class which is son of another one. When it comes to
compile it happens this message:
/Users/sanri/Desktop/trial/trial.h:16: error: cannot find interface
declaration for 'x', superclass of 'y'
What am I supposed to do?
You need to import the header of the superclass in the header of the
subclass:
=====================================
#import "MySuperclass.h"
@interface MySubclass : MySuperclass
@end
=====================================
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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