Re: programmatically binding to a NSTableColumn
Re: programmatically binding to a NSTableColumn
- Subject: Re: programmatically binding to a NSTableColumn
- From: Scott Anguish <email@hidden>
- Date: Mon, 21 Aug 2006 19:27:09 -0400
you don't need to add a new key to the array controller.. that is only
used in IB.
just create the binding programmatically as you would any other binding.
On Aug 21, 2006, at 5:00 PM, joe OneNinetyTwo wrote:
I am adding a NSTableColumn to a tableview ...
NSTableColumn *aTableColumn = [[NSTableColumn alloc]
initWithIdentifier: @"newcolumn"];
[tableView addTableColumn:aTableColumn];
and would like to add a new key to the
NSArrayController that controls pre-existing
tablecolumns, and bind that new key to tableColumn I
just added. I've searched the Cocoa Bindings
Programming Topics and Reference, and I can't seem to
find how I do this programmatically.
_______________________________________________
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