Re: Why is it like this?
Re: Why is it like this?
- Subject: Re: Why is it like this?
- From: "Brian O'Brien" <email@hidden>
- Date: Tue, 31 May 2005 09:42:02 -0600
On May 31, 2005, at 5:29 AM, Gregory Weston wrote:
On May 30, 2005, at 11:33 PM, Andy Lee wrote:
On May 30, 2005, at 11:38 PM, Brian O'Brien wrote:
Why do views get mouse and keyboard input but my controller class
doesn't?
Brian, in the
case of your problem: how have you determined that your controller/
view is not getting mouse and keyboard input?
Tangentially -- why did you call your object a controller? What
function is it serving that is controller-like?
After noticing my own typo while reading follow-ups, it occurs to me
that another possibility is that Brian, while typing "controller" was
actually talking about a control.
I also failed to mention that I did indeed instantiate a 'true'
controller class (A subclass of NSObject) but it only recieves button
events, no mouse events or keyboard events.
So that is why I called the Sub-Class of NSView my controller class
because it needs to do the most work handling input.
_______________________________________________
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
_______________________________________________
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