Re: NSTableColumn binding problem
Re: NSTableColumn binding problem
- Subject: Re: NSTableColumn binding problem
- From: Steve Weller <email@hidden>
- Date: Fri, 18 May 2007 06:49:39 -0700
In my experience no. As soon as you set up one column it also sets up
he table binding (check it with the inspector). Then when you set up
the other column, it sets the table binding again and you start a
debugging session to figure out why it is not working.
My solution has always been to bind the controller to an NSArray of
NSDictionaries and relate columns to dictionary keys. Of course you
can substitute any object for the NSDictionary as long as it is KVO/
KVC compliant.
On May 18, 2007, at 12:42 AM, shaun bear wrote:
Is it possible to have 2 NSTableColumns, with different array
controllers that have a one to one relationship, in the same
tableview? If so, could you point me to a description or explain
how this is achieved.
cheers
Shaun
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
Bagelturf Blog http://www.bagelturf.com/
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden