|
I am also interested in the ability to execute requests asynchronously. For now, I am going to try to implement it myself in the following way:
- write a method that calls oData service and processes the response. After the response is received, a notification should be sent using postNotificationName:object:userInfo: method of the NSNotificationCenter class. It is possible to use the
userInfo dictionary to pass data received from the service;
- add an observer for the notification. It will extract data from the userInfo dictionary and process it according to my application's logic;
- call this method using performSelectorInBackground:withObject:
I think it should be easy to implement. However, I'd like to see similar functionality implemented in the client library.
|