• 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
KVC NSArray attribute to double[] ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

KVC NSArray attribute to double[] ?


  • Subject: KVC NSArray attribute to double[] ?
  • From: James Cicenia <email@hidden>
  • Date: Sun, 27 Aug 2006 20:22:49 -0500

Hello -

Is there a way to use KVC to:

1) Given an array of EOs
2) Get an array of attribute A1 which is a double.

I was hoping to do:

double[] y = (double[])projects.valueForKeyPath ("calculatedRewardScore");

but this throws an exception.

What am I doing wrong?

- James Cicenia

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


  • Follow-Ups:
    • Re: KVC NSArray attribute to double[] ?
      • From: Sacha Michel Mallais <email@hidden>
  • Prev by Date: Re: Is WebObjects 4.5 going open source?
  • Next by Date: Re: KVC NSArray attribute to double[] ?
  • Previous by thread: WO + Active Directory
  • Next by thread: Re: KVC NSArray attribute to double[] ?
  • Index(es):
    • Date
    • Thread