Re: NSTableView & different columns
Re: NSTableView & different columns
- Subject: Re: NSTableView & different columns
- From: Jerry Krinock <email@hidden>
- Date: Sat, 02 Jul 2005 12:45:35 -0700
on 05/07/02 12:11, Sanri Parov at email@hidden wrote:
> For such complicated things, I'd suggest Apple a much higher level of
> details in the docs.
Tables are confusing for beginners. Look at some of their sample code,
"Examples" in your ADC Reference Library.
> Nevertheless, how can I return multiple different behaviour for
> multiple different columns?
> If the identifiers of the columns are, e.g. "Numbers" and "Buttons",
> how can I in a single method return different values for column
> behaving?
By using "if - else" to branch depending on the value of aTableColumn.
(For some reason, that obvious answer is not intuitive. I remember
scratching my own head for quite a few minutes over that one and then
jumping up and slapping my forehead!)
_______________________________________________
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