bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

distant object introspection doesn't work


From: Benjamin S Um
Subject: distant object introspection doesn't work
Date: Sun, 18 Aug 2002 10:05:11 -0500 (EST)

I am passing an NSMutableDictionary as an argument to an NSProxy:

myProxy=[myConnection rootProxy];
[myProxy someMessage:someArgument];

someArgument is an NSMutableDictionary and when I try to use introspection
to determine the classes of keyed objects within the dictionary I have
problems using the return value from isKindOfClass for a conditional
statement:

if ([[someArguement objectForKey:@"myNSArray"] isKindOfClass:[NSArray
class]) .....;

It seems that some objects keyed in the dictionary are being represented
as a "distant object". Does introspection not work with distant objects.
The following statement outputs something like {Distant Object 12213123}

NSLog([[someArgument objectForKey:@"myNSArray"] description]);

thanks,
ben
um@shay.ecn.purdue.edu







reply via email to

[Prev in Thread] Current Thread [Next in Thread]