I have been playing around with Restkit for about a day now and its complexity is driving me insane.
I am looking for a simple, well maintained, restful client on iOS that can communicate with my web server written in rails. I only require the following: Easy call to CREATE/UPDATE/DELETE with flexibility to check the response code as well as the response body (I rely on the response body to set certain server related ids to my objects)
Unfortunately Resty doesn't' really support ARC so it's out of my realms right now.
Any recommendations?
I highly recommend AFNetworking. It's small, fast, well maintained and easy to use.
In addition to AFNetworking there is also another lib that has been recently released called NSRails, which aims particularly to simplifying CRUD when using Rails. It is a newer lib though and personally I haven't used it, but it looks promising.
Use NSURLSession
and NSJSONSerialization
to retrieve and parse your JSON, then use Github's Mantle framework for mapping that JSON to your ObjC classes. Mantle is far more straightforward than RestKit.
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