After I installed RestKit according to instructions (get source with github) and after importing , I get a "Use of undeclared identifier 'RKClient'" Error in XCode.
According the instructions, after installation and linking, I've put following code in didFinishedLaunchingWithOptions:
RKClient *client = [RKClient clientWithBaseURLString:@"http://restkit.org"];
Any ideas? Thanks
RKClient is no part of RestKit 0.20.x anymore. RestKit now use AFNetworking under the hood. You can access the new HTTP Client like that:
[RKObjectManager sharedManager].HTTPClient
See https://github.com/RestKit/RestKit/wiki/Upgrading-from-v0.10.x-to-v0.20.0
You'll find most of the changes about the upgrade :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With