我正在嘗試執行一些RESTKit http請求,並且當我使用RKResponseDescriptor代碼行時,它說'responseDescriptorWithMapping:pathPattern:keyPath:statusCodes:'已棄用。RESTKit中的RKResponseDescriptor已過時
這是我如何編碼它:
RKResponseDescriptor *responseDescriptor = [RKResponseDescriptor
responseDescriptorWithMapping:mapping pathPattern:nil keyPath:nil
statusCodes:statusCodeSet];
究竟是處理在這裏,我怎麼能解決這個問題?