I have the requirement to support multiple connections (multiple baseURLs). So some get and post request should go to baseURL1 some to baseURL2 an so forth.
I think one way to do this is by constantly switching the baseURL to the needed one right before a get or post. I'm not sure how well RestKit 0.20 would handles this and if there are some side-effects. Generally I think it would be a bad idea with a lot of overhead. But I'm not a RestKit expert when it comes to the internal workings.
The other idea I have is to use multiple RKObjectManagers, one per baseURL and then somehow use the right one for the calls. But I have no idea if RestKit is designed for that and can be used in this scenario. How would you manage multiple RKObjectManagers? Or is this a bad idea to solve my problem?
What's the way to go?