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: Strausz Riccardo <email@hidden>
- Date: Wed, 3 Sep 2003 06:55:20 -0500
Hola Art!
On miircoles, sept 3, 2003, at 17:20 America/Mexico_City, Art Isbell
wrote:
On Tuesday, September 2, 2003, at 11:14 PM, Strausz Riccardo wrote:
problem:
it seem that the probles is with the bridge; since I am calling the
keys.addObject("aKey"); from ObjC (with [keys addObject:@"aKey"];),
the
bridge is serching for a method with signature
com.webobjects.foundation.NSMutableArray.addObject(String aString);
which does not exists.
I am trying to cast my strings to id (Object) to fool the bridge, but
have not yes a clean solution...
id != Object and id != NSObject. Have you tried this (just a guess)?
[keys addObject:(NSObject)@"aKey"];
I hadn't but a soon I recived your mail, I did... no success.
I did try also
NSObject* o = (NSObject*)[NSString stringWithCString:"aKey"];
[keys addObject:o];
No good!
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...
En fin, solo queda seguir tratando!
Dino
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.
_______________________________________________
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.