• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Annoying Superclass Implemenation Warning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Annoying Superclass Implemenation Warning


  • Subject: Re: Annoying Superclass Implemenation Warning
  • From: Mike Abdullah <email@hidden>
  • Date: Mon, 21 Jan 2008 23:03:15 +0000

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


  • Follow-Ups:
    • Re: Annoying Superclass Implemenation Warning
      • From: Ben Einstein <email@hidden>
References: 
 >Leopard - interaction with Spaces from own applications (From: Dennis Schmidt <email@hidden>)
 >Re: Leopard - interaction with Spaces from own applications (From: Mike Abdullah <email@hidden>)
 >Re: Leopard - interaction with Spaces from own applications (From: glenn andreas <email@hidden>)
 >Re: Leopard - interaction with Spaces from own applications (From: Twisted Theory Software <email@hidden>)
 >Annoying Superclass Implemenation Warning (From: Ben Einstein <email@hidden>)

  • Prev by Date: Re: Using assembly in objective-c
  • Next by Date: Re: Annoying Superclass Implemenation Warning
  • Previous by thread: Annoying Superclass Implemenation Warning
  • Next by thread: Re: Annoying Superclass Implemenation Warning
  • Index(es):
    • Date
    • Thread