Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why is it like this?




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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

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: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: Why is it like this? (From: Gregory Weston <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.