Setting NSTableView column header with Cocoa bindings

  • I'm having trouble setting the column header title in an NSTableView
    using Cocoa bindings. No matter what my value method returns, the
    header title displays as a single open parenthesis. I know, by setting
    a breakpoint, that my value method is getting called. All other uses
    of bindings within the table (text color, value cell contents, etc.)
    behave as expected.

    Has anyone else run into this? Is it a known bug?

    - lc
  • Did you bind to an NSArray?
    „open parenthesis“ sounds like it.

    atze

    Am 03.12.2008 um 22:46 schrieb Larry Campbell:

    > I'm having trouble setting the column header title in an NSTableView
    > using Cocoa bindings. No matter what my value method returns, the
    > header title displays as a single open parenthesis. I know, by
    > setting a breakpoint, that my value method is getting called. All
    > other uses of bindings within the table (text color, value cell
    > contents, etc.) behave as expected.
    >
    > Has anyone else run into this? Is it a known bug?
    >
    > - lc