A Question about and applications structure...
site_archiver@lists.apple.com Delivered-To: cocoa-dev@lists.apple.com I'm a bit confused about how to structure my application... I have three such viewer on my application. _______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/site_archiver%40lists.apple... 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. 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? This email sent to site_archiver@lists.apple.com
participants (1)
-
Brian O'Brien