Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jul 4, 2009, 07: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, 03: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, 04: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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
How to convince my parents to let me buy a 17" MacBook Pro Ulf1103 Buying Tips and Advice 58 Nov 27, 2013 11:45 AM
Tutorial: How to get PCSX2 to run on Mac (without BootCamp) Mirrors Mac Applications and Mac App Store 22 Jun 14, 2013 08:19 PM
Does anybody know how to get TweetTask? xmelissaxmayhem Jailbreaks and iOS Hacks 3 Jul 3, 2011 01:21 AM
[HOW TO] DIY iPhone 4 Swivel Car Mount QuarterSwede iPhone Accessories 13 Mar 8, 2011 02:51 PM
Core Data: how to sum numbers in NSTableView sebastijan Mac Programming 2 May 6, 2007 06:33 AM


All times are GMT -5. The time now is 02:12 PM.

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

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