• 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
Re: Returning a Related Array of Attributes?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Returning a Related Array of Attributes?


  • Subject: Re: Returning a Related Array of Attributes?
  • From: Art Isbell <email@hidden>
  • Date: Fri, 17 Sep 2004 08:18:04 -1000

On Sep 17, 2004, at 4:23 AM, James Cicenia wrote:

Then why can't I do something like:

list.addObjects((String[])portfolio.portfolioMetrics().valueForKey("nam e"));

As you stated, addObjects() is incorrect, but also portfolio.portfolioMetrics().valueForKey("name") is not a String [], but is an NSArray. So you also have an invalid cast.


Aloha,
Art

_______________________________________________
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


References: 
 >Returning a Related Array of Attributes? (From: James Cicenia <email@hidden>)
 >Re: Returning a Related Array of Attributes? (From: Chuck Hill <email@hidden>)
 >Re: Returning a Related Array of Attributes? (From: James Cicenia <email@hidden>)

  • Prev by Date: Re: Returning a Related Array of Attributes?
  • Next by Date: Re: Application not found....
  • Previous by thread: Re: Returning a Related Array of Attributes?
  • Next by thread: Re: Returning a Related Array of Attributes?
  • Index(es):
    • Date
    • Thread