Re: Using NSCell to bold cells in a tableview
Re: Using NSCell to bold cells in a tableview
- Subject: Re: Using NSCell to bold cells in a tableview
- From: Ben Mackin <email@hidden>
- Date: Sat, 28 Dec 2002 10:29:53 -0800
On 12/28/02 9:20 AM, "matt neuburg" <email@hidden> wrote:
>
Certainly, because dataCellForRow returns the very same cell (the entire
>
column's single dataCell), regardless of the row, and the docs are quite clear
>
on this. Therefore, *this* (i.e. dataCellForRow) is what you need to be
>
overriding if you want to change this behavior, and the docs are clear about
>
this too. In short, it's just a matter of RTFM for dataCellForRow.
So why would they even include this routine, if all it does is call on
dataCell? If we have to roll our own, then what is it even there for? Maybe
someone can explain this to a Cocoa newb, but I just don't get it. When
Apple goes out of the way to specify another name for a routine, but it is
just "aliased" (for lack of a better term) to another routine, why did they
do it?
Oh, and BTW, thanks for being such a great help. I already got another email
offlist saying this (in a bit of a nicer way), and a pointer in a better
direction. So thanks Matt :)
Ben
_______________________________________________
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.