• 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: "Selector not recognized" for existing selector : how is this possible??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Selector not recognized" for existing selector : how is this possible??


  • Subject: Re: "Selector not recognized" for existing selector : how is this possible??
  • From: Jonathan del Strother <email@hidden>
  • Date: Fri, 20 May 2005 23:37:54 +0100


On 20 May 2005, at 16:15, Greg Parker wrote:

Jonathan del Strother wrote:

My GasLight plugin works fine for most people, but it certain cases it
crashes, complaining of the following:

-[Controller initWithVisData:]: selector not recognized [self = 0x11fea00]

Now...the initWithVisData method clearly exists, because it works fine
on most people's machines, it's in the same file as the above function,
declare in a header file,and so on...


You may be seeing a duplicate class name collision. Your code is an 
iTunes plugin, and it's using the rather generic class name "Controller". 
If some other plugin or iTunes itself also defines a class named 
"Controller", there will be a conflict and one of the classes will 
be ignored. If some other class called "Controller" wins, it probably 
won't have a -initWithVisData: method like yours.


Thanks for the suggestion - renaming the class seems to have fixed the problem.  I assumed that the bundle would act as a kinda namespace - didn't think it would try and load similar classes from other executable code...


Cheers,
Jon
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: "Selector not recognized" for existing selector : how is this possible??
      • From: Shawn Erickson <email@hidden>
References: 
 >"Selector not recognized" for existing selector : how is this possible?? (From: "Jonathan del Strother" <email@hidden>)
 >Re: "Selector not recognized" for existing selector : how is this possible?? (From: Greg Parker <email@hidden>)

  • Prev by Date: Re: AddressBook-like TextFields?
  • Next by Date: Re: Creating an Offscreen NSView
  • Previous by thread: Re: "Selector not recognized" for existing selector : how is this possible??
  • Next by thread: Re: "Selector not recognized" for existing selector : how is this possible??
  • Index(es):
    • Date
    • Thread