Skip navigation.
 
mlRe: Annoying Superclass Implemenation Warning
FROM : Ben Einstein
DATE : Tue Jan 22 00:17:07 2008

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_removed>)
>>
>> 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/<email_removed>
>>
>> This email sent to <email_removed>

>

Related mailsAuthorDate
mlAnnoying Superclass Implemenation Warning Ben Einstein Jan 21, 23:20
mlRe: Annoying Superclass Implemenation Warning Mike Abdullah Jan 22, 00:03
mlRe: Annoying Superclass Implemenation Warning Ben Einstein Jan 22, 00:17
mlRe: Annoying Superclass Implemenation Warning Steve Christensen Jan 22, 00:52
mlRe: Annoying Superclass Implemenation Warning Chris Hanson Jan 22, 01:40
mlRe: Annoying Superclass Implemenation Warning Gregory Weston Jan 22, 03:17
mlRe: Annoying Superclass Implemenation Warning Ben Einstein Jan 22, 03:47