• 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
How to sum numbers using NSTableView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to sum numbers using NSTableView?


  • Subject: How to sum numbers using NSTableView?
  • From: Sebastijan Bauman <email@hidden>
  • Date: Sun, 05 Jul 2009 16:43:40 +0200

Hi everyone.

I am using NSTableView and Core Data and would like to sum numbers from two columns and show the sum in third column for every row. Like this:

http://www.shrani.si/f/3r/5h/4MNSm4Th/1/picture-2.png

what is the easiest way to do this?
is there a way to do this in Table Column Bindings / Value Transformers (like we do for @sum, @count, etc.) or maybe in xcdatamodel?


thanks for help in advance!
_______________________________________________

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: How to sum numbers using NSTableView?
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: Switching Contents of NSView
  • Next by Date: Re: Switching Contents of NSView
  • Previous by thread: Re: Switching Contents of NSView
  • Next by thread: Re: How to sum numbers using NSTableView?
  • Index(es):
    • Date
    • Thread