FROM : j o a r
DATE : Fri Jan 24 16:59:16 2003
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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
DATE : Fri Jan 24 16:59:16 2003
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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
| Related mails | Author | Date |
|---|---|---|
| Alexander Schutte | Jan 24, 14:40 | |
| j o a r | Jan 24, 15:42 | |
| Alexander Schutte | Jan 24, 16:51 | |
| j o a r | Jan 24, 16:59 |






Cocoa mail archive

