The synchronous API has the method
- (NSData *)dataForMethod:(NSString *)inMethod withParameters:(NSArray
*)inParameters;
If we want parameters in the asynchronous API we must use:
- (void)performMethod:(NSString *)inMethod atURL:(NSURL *)inURL
withParameters:(NSArray *)inParameters withTarget:(id)inTarget
andAction:(SEL)inAction;
This requires us to send in atUrl. I think a suitable middle function would be:
- (void)performMethod:(NSString *)inMethod withParameters:(NSArray
*)inParameters withTarget:(id)inTarget andAction:(SEL)inAction;
The supplied patch adds this helper function.
Original issue reported on code.google.com by micke.p...@gmail.com on 22 Oct 2010 at 7:00
Original issue reported on code.google.com by
micke.p...@gmail.com
on 22 Oct 2010 at 7:00Attachments: