It's always the simple errors that get me.
I had dragged the InputView* class files into my project, but they
weren't successfully added. Removing them and adding them again got
rid of the errors.
I feel a little silly now, but that's ok. Thanks for the point in the
right direction, and the advice on +(Class) class;
Cheers,
Dave
On 27 Sep, 2008, at 8:59 PM, Andrew Farmer wrote:
On 27 Sep 08, at 19:38, Dave DeLong wrote:
I'm building an app, and I've got a bunch of interface object
definitions called "InputElements". There are a couple subclasses,
such as InputElementButton and InputElementSlider.
<snip>
When I try to compile, I'm getting two errors:
"_OBJC_CLASS_$_InputViewSlider", referenced from:
[EMAIL PROTECTED] in CosMouseViewController.o
"_OBJC_CLASS_$_InputViewButton", referenced from:
[EMAIL PROTECTED] in CosMouseViewController.o
This error appears to indicate that the InputViewSlider and
InputViewButton classes are not defined in your application. If you
haven't written them yet, you may need to stub them out for your
code to work.
My question is, do I need to override the +(Class) class method for
each InputElement subclass, and if so how do I make a Class object?
Leave -[NSObject class] alone. Overriding it will probably lead to
all sorts of crazy misbehavior.
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]