Re: Annoying Superclass Implemenation Warning
Re: Annoying Superclass Implemenation Warning
- Subject: Re: Annoying Superclass Implemenation Warning
- From: Ben Einstein <email@hidden>
- Date: Mon, 21 Jan 2008 18:17:07 -0500
I understand why the message is occurring, I'm just not sure the
appropriate way to get rid of it. The plugin build fails if I remove
the superclass from the plugin target and place it in the main app
target (can't find class symbol). Do I need to add another build phase?
Ben
On Jan 21, 2008, at 6:03 PM, Mike Abdullah wrote:
Well the message means exactly what it says: You've implemented the
class in multiple plugins. Thus, the ObjC runtime cannot be sure
which implementation to use. I would suggest you place the
superclass within the main framework/application that the plugins
are built against.
Mike.
On 21 Jan 2008, at 22:20, Ben Einstein wrote:
Hi All:
I have 15 or so preference panes implemented in my own preference
pane viewer. Because the app started with only 2 or 3 panes, every
pane had 6 or 7 identical methods. I had some free time this
weekend and made a superclass to handle this dull pane stuff. I now
get this annoying message in the console every time a user switches
between panes:
objc[5347]: Class <SuperclassName> is implemented in both /Path/To/
Preference/Pane1/PaneName1 and /Path/To/Preference/Pane2/PaneName2.
Using implementation from /Path/To/Preference/Pane1/PaneName1.
Any ideas to get the console to shut up? Not sure what I'm doing
wrong.
_______________________________________________
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
_______________________________________________
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