• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
A Question about and applications structure...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Cocoa Style Question
  • Next by Date: Re: Apple's Code Level Support
  • Previous by thread: Re: Cocoa Style Question
  • Next by thread: NSImageView.
  • Index(es):
    • Date
    • Thread