Hi all,

I have a Core Data entity that has an attribute called charge (stored as a float). So I am storing a number of records each of which has a charge. I simply want to be able to show a running total of charges as I add or remove items. I was hoping that I might be able to use a simple binding for this: I created a label and thought I might be able to bind its value to array controller.arrangedObjects.charge.sum or something like that. No luck though.

I cannot see anything in the documentation or from searches. Can anyone point me towards either examples or documentation?


Thanks,


Ian.
--
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to