Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
iOSでRestKitを使用していて、ルートを設定した後:
[[RKObjectManager sharedManager].router routeClass:[MyClass class] toResourcePath:@"/myresource" forMethod:RKRequestMethodPOST];
「MyClass」クラスのこのルートを削除して、新しいルートに置き換えたいと思います。
どうやってやるの?
ありがとう。
最も簡単な方法は、sharedManager を使用しないことだと思いますが、代わりに、やりたい 2 つの異なることごとに 1 つのオブジェクト マネージャーを作成します。