• 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
Calculations in a tableview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Calculations in a tableview


  • Subject: Calculations in a tableview
  • From: Andre Masse <email@hidden>
  • Date: Thu, 28 Jul 2011 18:48:47 -0400

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.

Thanks,

Andre Masse
_______________________________________________

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

  • Follow-Ups:
    • Re: Calculations in a tableview
      • From: Quincey Morris <email@hidden>
    • Re: Calculations in a tableview
      • From: Thomas Davie <email@hidden>
  • Prev by Date: Re: NSFileManager - a cautionary tale
  • Next by Date: Re: Calculations in a tableview
  • Previous by thread: Re: Return causes EXC_BAD_ACCESS
  • Next by thread: Re: Calculations in a tableview
  • Index(es):
    • Date
    • Thread