Nico113 / mpoauthconnection

Automatically exported from code.google.com/p/mpoauthconnection
0 stars 0 forks source link

Another performMethod helper method #39

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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

Attachments: