Re: [partially solved]: com.webobjects.foundation.NSMutableArray.addObject("anString");
Re: [partially solved]: com.webobjects.foundation.NSMutableArray.addObject("anString");
- Subject: Re: [partially solved]: com.webobjects.foundation.NSMutableArray.addObject("anString");
- From: Art Isbell <email@hidden>
- Date: Wed, 3 Sep 2003 14:30:05 -1000
On Wednesday, September 3, 2003, at 01:55 AM, Strausz Riccardo wrote:
On miircoles, sept 3, 2003, at 17:20 America/Mexico_City, Art Isbell
wrote:
[keys addObject:(NSObject)@"aKey"];
Too much Java and not enough ObjC lately. Should have been:
[keys addObject:(NSObject *)@"aKey"];
I assume this is what you tried.
More over, I'd run an alert panel to show [o class], just before it is
intended to be added, and it prints an NSCFString which is documented
NOWHERE...
NSString is a public class in the NSString class cluster, so
NSCFString must be a private class within the NSString class cluster.
You shouldn't have to be concerned about the actual private class.
You are the Cocoa-EOF expert, so you know more than the rest of us
about dealing with the Java bridge. I don't know what else to
suggest. Is this really the first time that you have had to use a
NSMutableArray across the bridge?
Aloha,
Art
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.