• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Calculations in a tableview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calculations in a tableview


  • Subject: Re: Calculations in a tableview
  • From: Rajendran P <email@hidden>
  • Date: Fri, 29 Jul 2011 06:58:40 +0530
  • Acceptlanguage: en-US
  • Thread-topic: Calculations in a tableview

Try value transformers

Thanks
Rajendran P


On 7/29/11 6:18 AM, "Andre Masse" <email@hidden> wrote:

Well, I may end up doing this...

Thanks

Andre Masse


On 28/07/2011, at 18:52 , Thomas Davie wrote:

>
> 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

_______________________________________________

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

References: 
 >Re: Calculations in a tableview (From: Andre Masse <email@hidden>)

  • Prev by Date: Freaking out a bit...
  • Next by Date: Re: Calculations in a tableview
  • Previous by thread: Re: Calculations in a tableview
  • Next by thread: Re: Calculations in a tableview
  • Index(es):
    • Date
    • Thread