Re: NSMatrix -objectValue always gives 1. What good is that?
Re: NSMatrix -objectValue always gives 1. What good is that?
- Subject: Re: NSMatrix -objectValue always gives 1. What good is that?
- From: Jerry Krinock <email@hidden>
- Date: Mon, 29 May 2006 16:01:47 -0700
- Thread-topic: NSMatrix -objectValue always gives 1. What good is that?
on 06/05/29 13:40, Greg Herlihy at email@hidden wrote:
> I don't think objectValue will indicate which cell in a matrix is selected.
> But selectedIndex, selectedObject, selectedTag and selectedValue certainly
> sound like they would.
Indeed they do, but it seems so unCocoa-like that I have to add extra code
to handle a special case. I just find it hard to believe that Apple (or
NeXT) would have implementedd a method which returns a useless result in one
subclass. Oh well, maybe they made a mistake. If no one explains this,
I'll file a bug report. But this has apparently been true for many years.
Jerry
_______________________________________________
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