Re: Binding to an NSArrayController subclass
Re: Binding to an NSArrayController subclass
- Subject: Re: Binding to an NSArrayController subclass
- From: mmalc Crawford <email@hidden>
- Date: Fri, 15 May 2009 13:35:53 -0700
Don't bind the column to a different object; instead, implement the
table view data source methods (either in your array controller
subclass or in the controller class that manages the array) and
implement them just for that column to return the derived value. (And
set the datasource for the table view appropriately.)
The table view will take values from bindings first, then look for a
value using the data source methods, so the other columns will
continue to work as they did before.
mmalc
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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