Re: Calculations in a tableview
Re: Calculations in a tableview
- Subject: Re: Calculations in a tableview
- From: Thomas Davie <email@hidden>
- Date: Thu, 28 Jul 2011 23:52:57 +0100
On 28 Jul 2011, at 23:48, Andre Masse wrote:
> Hi,
>
> For example, lets say I have a tableview with 3 columns: quantity, unit price and total. I want to calculate total using (quantity * unit price). Pretty simple using a datasource but I've no idea how to do that with bindings (using an NSArrayController).
>
> Any pointer to an example of this would be greatly appreciated.
To be honest, this, along with the many debugging issues of bindings is exactly why I still use data sources.
Bob_______________________________________________
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