• 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: NSTableView & different columns
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSTableView & different columns
      • From: Dave Hersey <email@hidden>
References: 
 >Re: NSTableView & different columns (From: Sanri Parov <email@hidden>)

  • Prev by Date: Re: NSSearchField problem under 10.3
  • Next by Date: Re: gcc2 on 10.4.1 with Xcode 2.1 installed
  • Previous by thread: Re: NSTableView & different columns
  • Next by thread: Re: NSTableView & different columns
  • Index(es):
    • Date
    • Thread