Skip navigation.
 
mlWhen do table column bindings get setup from nib?
FROM : Ian Gillespie
DATE : Wed Apr 13 19:00:02 2005

I am trying to write a table view subclass that will offer adding/
removing table columns.  I want all of the possible table columns 
allowed to be setup in the nib and then the user can show/hide table 
columns via a matrix of checkboxes or a menu item with a submenu.  I 
am trying to write this so that it will be re-usable because I always 
seem to find myself in need of table views with easy hide/show table 
column behavior.

I first approached this by grabbing all of the columns from the 
table's awakeFromNib and archiving them saving them to the user 
defaults if it is the first time that the table is launched.  The 
problem is, the bindings are not archived (not too surprisingly).  So 
my question is, when a table view is created from a nib, when does it 
remove table columns based on the autosaveTableColumns.  It doesn't 
seem to call removeTableColumn, which I was hoping so that I could 
grab the table column with the bindings setup and cache it away if 
the user wanted to add it again.

Related mailsAuthorDate
mlWhen do table column bindings get setup from nib? Ian Gillespie Apr 13, 19:00
mlRe: When do table column bindings get setup from nib? Jonathon Mah Apr 13, 19:21
mlRe: When do table column bindings get setup from nib? Ian Gillespie Apr 13, 19:38
mlRe: When do table column bindings get setup from nib? Jonathon Mah Apr 13, 19:42