A Question about and applications structure...
A Question about and applications structure...
- Subject: A Question about and applications structure...
- From: "Brian O'Brien" <email@hidden>
- Date: Thu, 31 Mar 2005 12:01:23 -0700
I'm a bit confused about how to structure my application...
I have an NSImageView which I've sub-classed and I am handling mouse
input in my sub class.
MyController class is oblivious to the mouse input that is going to my
MyNSImageView sub class.
I have three such viewer on my application.
If I want mouse input to go to each of the controllers (like the mouse
wheel for instance) then should
not the controller class have been the one to handle the mouse input?
I mean if the controller class
is a sub class of NSObject then I doubt it gets mouse input.. (I'm a
bit of a novice so maybe I'm wrong)
Also for each of my viewers there is a button and some text. Can I
group these three objects together
into a new object and have a class control the group of three objects?
_______________________________________________
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