• 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: Using NSCell to bold cells in a tableview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Using NSCell to bold cells in a tableview
      • From: Mike Ferris <email@hidden>
  • Prev by Date: Re: Little problem with NSPopUpButton
  • Next by Date: Re: Newbie Question regarding Tutorials and Project Builder
  • Previous by thread: Re: Using NSCell to bold cells in a tableview
  • Next by thread: Re: Using NSCell to bold cells in a tableview
  • Index(es):
    • Date
    • Thread