• 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
Re: Getting multiple sliders to interact in an NSMartix
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting multiple sliders to interact in an NSMartix


  • Subject: Re: Getting multiple sliders to interact in an NSMartix
  • From: j o a r <email@hidden>
  • Date: Fri, 24 Jan 2003 16:59:16 +0100

Why do you need to subclass NSMatrix? The Cocoa framework are carefully constructed to avoid from unneccesary subclassing. If you need an easy way of constructing matrices with sliders I'd suggest that you create a custom category to NSMatrix and a convenience factory method. You should place custom logic in a delegate or controller, rather than in the view / control.

Why do you need to find the names of the matrix cells (cells doesn't have names)? You would use the tag, or the coordinates, of the cell to locate it in a matrix.

j o a r

On Friday, Jan 24, 2003, at 16:51 Europe/Stockholm, Alexander Schutte wrote:

So if i get ir Right, SliderAction: is a action of an custom class of NSMatrix say sliderMatrix,
how then does sliderMatrix know which slider is which aka how do you set the ne value for the second slider if the first changes. I don't seem to find a way to get names into the NSMatrix cells.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Getting multiple sliders to interact in an NSMartix (From: Alexander Schutte <email@hidden>)

  • Prev by Date: Re: Getting multiple sliders to interact in an NSMartix
  • Next by Date: Re: Core Graphics -> PostScript
  • Previous by thread: Re: Getting multiple sliders to interact in an NSMartix
  • Next by thread: Parsing XML pre cocoa days?
  • Index(es):
    • Date
    • Thread