• 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: "... may not respond to -someMethod ..."
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "... may not respond to -someMethod ..."


  • Subject: Re: "... may not respond to -someMethod ..."
  • From: Fritz Anderson <email@hidden>
  • Date: Tue, 17 May 2005 10:38:00 -0500

On 17 May 2005, at 10:15 AM, Tilo Broszies wrote:

I have a subclass of NSView which I want to access
from within a NSDocument subclass. Whatever method of
the subclassed NSView I call, I get the compiler
message " <TheView> may not respond to
-theMessageSent". Even with messages, that are
inherited from NSView and which I did not add to the
class. I included all headers where necessary, but the
complain remains.

Among the necessary #imports of headers is the #import of your view subclass's header in your document subclass's implementation file. The view @interface should declare every method that is not already defined in NSView that your document subclass calls.


    -- F

_______________________________________________
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


References: 
 >"... may not respond to -someMethod ..." (From: Tilo Broszies <email@hidden>)

  • Prev by Date: Using Services - not quite how they were intended
  • Next by Date: Bindings & empty strings
  • Previous by thread: "... may not respond to -someMethod ..."
  • Next by thread: Using Services - not quite how they were intended
  • Index(es):
    • Date
    • Thread