• 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
Key Value Binding - Array Operators
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Key Value Binding - Array Operators


  • Subject: Key Value Binding - Array Operators
  • From: Lee Morgan <email@hidden>
  • Date: Sat, 9 Apr 2005 03:24:50 -0400

I'm not sure if this can be done in IB using array ops or not but I'm trying my best to find a way - since I want to be lazy and not code it :-)

Heres how I have my code setup...

AuthorsArray contains AuthorObjects
AurthorObjects contains BookObjects
BookObjects contains PropertiesDictionary
PropertiesDictionary contains priceNumber

And what I'm trying to do is display the total price in a text field by using some combination of @unionOfArrays and @sum
However I can't seem to find the proper way of doing this.
Just to be clear I want a sum of all the priceNumber objects for all the AuthorObjects.

The closest I've been able to get is "@email@hiddennalPrice" which provides an array with the sums of each author instead of the total sum.

Any help would be greatly appreciated.

- lee
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Creating Menu Bar Extras?
  • Next by Date: Re: ADC Core Data article (was: Re: Cocoa-dev Digest, Vol 2, Issue 490)
  • Previous by thread: Re: Creating Menu Bar Extras?
  • Next by thread: Re: Key Value Binding - Array Operators
  • Index(es):
    • Date
    • Thread