• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Interface declaration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Interface declaration (From: Sanri Parov <email@hidden>)

  • Prev by Date: Re: is this string styled?
  • Next by Date: Re: is this string styled?
  • Previous by thread: Interface declaration
  • Next by thread: Getting the results out of Applescript
  • Index(es):
    • Date
    • Thread