I can't seem to find a way for the Objective-C OData client to return the value of a web service function that just returns something simple, like an integer.
For example,
[WebInvoke]
public Int32 xyx()
{
return ( 3 );
}
The proxy-generated client code generates a function that when called, returns an XML formatted NSString with the value 3 in it. Am I going to have to parse out this value and then map it to an int? I thought it would be easier. Even harder for bools. Net bools are true/false, when Obj-C are YES/NO. You would have to write code that parses the XML, finds the true/false, ifs it to YES/NO, arrgggg.
I thought the OData client would map these, am I wrong?