Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jul 4, 2009, 08:30 PM   #1
sebastijan
macrumors member
 
Join Date: May 2005
Location: London, UK
how to sum numbers using NSTableview?

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:



what is the easiest way to do this?

thanks for help in advance!
sebastijan is offline   0 Reply With Quote
Old Jul 5, 2009, 04:11 AM   #2
Azrel
macrumors regular
 
Join Date: Jun 2005
something like Cell.text on the two adjacent cells?
Azrel is offline   0 Reply With Quote
Old Jul 5, 2009, 05:13 AM   #3
sebastijan
Thread Starter
macrumors member
 
Join Date: May 2005
Location: London, UK
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.
sebastijan is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Numbers vs Excel when mixing text & numbers TheBlackLabEdge Mac Applications and Mac App Store 5 Mar 6, 2014 09:29 PM
iPad: Big Boss Repo Hash Sum mismatch The Reason Jailbreaks and iOS Hacks 18 Feb 23, 2014 02:10 AM
So the sum of all natural numbers from 1 to infinity is... AustinIllini Community Discussion 16 Jan 22, 2014 02:39 PM
General: Hash sum mismatch cclloyd Jailbreaks and iOS Hacks 7 Mar 10, 2013 02:24 PM

Forum Jump

All times are GMT -5. The time now is 05:35 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC