Re: Building with Subclasses
Re: Building with Subclasses
- Subject: Re: Building with Subclasses
- From: "M. Uli Kusterer" <email@hidden>
- Date: Mon, 17 Jan 2005 00:34:59 +0100
At 17:32 Uhr -0500 16.01.2005, August Trometer wrote:
I #import the main class header in the headers of each of the
subclasses. The "duplicate symbol" error leads me to believe that
it's somehow trying to declare the class more than once, but my
understanding of the #import statements is that this prevents
multiple declarations.
Are you perhaps defining a global variable or something similar in
the header? You mustn't define anything in the header, only
declarations are allowed. Definitions go in only one of the .m files.
Does it error on your class name, or on other symbols in the file?
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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