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
Delivered-to: email@hidden
Delivered-to: email@hidden
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:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden
This email sent to email@hidden
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.