Re: Need to override +(Class) class?
Re: Need to override +(Class) class?
- Subject: Re: Need to override +(Class) class?
- From: Jamie Hardt <email@hidden>
- Date: Sat, 27 Sep 2008 19:53:06 -0700
Not sure exactly what your problem is, have you tried isMemberOfClass:
instead of isKindOfClass:?
the is*OfClass: methods have certain... dangers. You might try
testing the given object to see if they respond to slider selectors
versus button selectors, and discriminate in that way.
On Sep 27, 2008, at 7:38 PM, Dave DeLong wrote:
When I try to compile, I'm getting two errors:
"_OBJC_CLASS_$_InputViewSlider", referenced from:
__objc_classrefs__DATA@0 in CosMouseViewController.o
"_OBJC_CLASS_$_InputViewButton", referenced from:
__objc_classrefs__DATA@0 in CosMouseViewController.o
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?
Jamie Hardt
The Sound Department
http://www.soundepartment.com/
http://www.imdb.com/name/nm0362504/
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden