Re: Creating a subclass of an *unknown* object
Re: Creating a subclass of an *unknown* object
- Subject: Re: Creating a subclass of an *unknown* object
- From: glenn andreas <email@hidden>
- Date: Wed, 15 Jun 2005 09:32:08 -0500
On Jun 15, 2005, at 9:21 AM, Ofri Wolfus wrote:
The problem is that when simply #import the header, i'm getting an
undefined symbols error. Am i doing something wrong?
- Ofri
In order to be able to subclass something, the linker needs to have a
reference to the class itself - the compiler is happy with the
declaration in the header, but the linker needs to know where it is.
Normally, this is done by having a common framework that both the
application and the plug in link against (which has the plug in root
class, as well as any other useful classes/routines that are to be
exposed to the plug in).
Glenn Andreas email@hidden
<http://www.gandreas.com/> wicked fun!
Widgetarium | the quickest path to widgets
_______________________________________________
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