What's the best way to switch between https and and http with my RKObjectManager in Restkit?
What's the best way to switch between having a http and https base url for RKObjectManager. Should I let 开发者_Python百科the shared manager be set to the http base url and then new up a whole new instance or RKOjbectManager for https requests? Are there any pitfalls or gotchas I should be worried about?
I did just the same thing - i keep three instances of the RKObjectManager (http, https and the third one with different baseUrl to interface with some portions of legacy API) and it works like a charm.
精彩评论