NSDictionary error
NSDictionary error
- Subject: NSDictionary error
- From: Jerrod Fowkes <email@hidden>
- Date: Thu, 13 Apr 2006 12:07:26 -0700 (PDT)
Hi, I have been pounding away at this for awhile. I am fairly a newbie so bare with me:
NSString* value;
value = [[NSString alloc] initWithString: [result objectForKey: (NSString*) kWSMethodInvocationResult]];
and I am getting this error:
-[NSCFDictionart length]:selector not recognized
[result objectForKey* returns a NSCFDictionary...which I am assuming to be a pointer to a NSDictionary Object. Well I would think that initWithString would be able to take that address and then copy the correct data out of the dictionary for the key kWSMethod*. What am I doing wrong here?
---------------------------------
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden