Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sebastijan

macrumors member
Original poster
May 22, 2005
62
2
London, UK
hi everyone.

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

picture-2.png


what is the easiest way to do this?

thanks for help in advance!
 
cell.text, how?

is there no way to do this in Table Column Bindings / Value Transformer (like we do for column: @sum, @count, etc.) or maybe in xcdatamodel?

can someone provide solution? i would be very grateful.

thanks.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.