Re: "... may not respond to -someMethod ..."
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