Re: hiding table columns

  • Don't write mails without a subject, please. I usually ignore those ...

    Am 14.10.2007 um 21:29 Uhr schrieb Steve Cronin:

    > However, during a later application launch, when I read the [tv
    > tableColumns] in the tableView's -awakeFromNib what I find  is that
    > only the columns which were visible when the application was last
    > terminated are there.

    NSTableView is saving the column info in the user defaults.

    It's using these two private methods:

    - (void)_readPersistentTableColumns;
    - (void)_writePersistentTableColumns;

    I've got a working system for hiding and showing columns in a table
    view. Source code is here:

    http://www.harmless.de/cocoa-code.php#removable

    Andreas
previous month october 2007 next month
MTWTFSS
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        
Go to today