I am trying to modify a iPhone app in order to improve its performance. The original app has intensive computation so it expends much battery power. I am trying to make some parts of the app executed remotely: suspend local procedure, execute methods/threads on server, and return results back to phone.
I see some useful tools that may help, such as XML-RPC, NSStream, NSTask, and Apple's Web Services Core. But I am not sure which is the best practice.
Hope I have explained well enough. I am not very familiar with these frameworks, so I hope someone can explain a little bit and give me some suggestions about my goal.