RestKit 0.2x is the latest major release of RestKit which includes several new features as well as significant changes since the previous 0.10.x. RestKit is a modern Objective-C framework for implementing RESTful web services clients on iOS and Mac OS X. It provides a powerful object mapping engine that seamlessly integrates with Core Data and a simple set of networking primitives for mapping HTTP requests and responses built on top of AFNetworking.
Questions tagged [restkit-0.20]
731 questions
0
votes
1 answer
Designing an app that consumes 2 Restful Web Services
using RestKit 0.2x, i want to build an iPhone app that will consume 2 different RESTful web services (two different base URLs):
web service A will use Core Data to persist ~ 6000 objects in the persistent store.
web service B will not use core…

JAHelia
- 6,934
- 17
- 74
- 134
0
votes
0 answers
RestKit Post Failing URL Key
I am working on an iPhone app that uses RestKit. I am having trouble POSTing objects to the server. When I save a post it shows up in the TableView feed but it doesn't save to the server.
I get an error in xcode saying:
Object request failed:…

grantvansant
- 45
- 9
0
votes
1 answer
RKConnectionDescription only works sometimes with Restkit 0.20.1
I'm trying to update multiple models during one GET request with RestKit using the shared manager, eg:
[[RKObjectManager sharedManager] addResponseDescriptor:responseDescriptor];
where responseDescriptor has a mapping, key path, and path…

James
- 1,118
- 7
- 13
0
votes
2 answers
iOS, RESTKit and oAuth - simple sample not working
I am writing a simple application on iOS and I am trying to consume a RESTFull webservice
To have some tips and get some knowledge I first start with twitter without using ios integrated libs, but I always get stocked on Auth.
Any working sample or…

Gregoire Mulliez
- 1,132
- 12
- 20
0
votes
2 answers
RestKit - Mapping Entities with CoreData - Response Error
I'm building an iOS app that needs to implement search results from Foursquare.
I'm using RestKit, but keep running into the same error:
"no response descriptors match the response loaded"
Here's the relevant portion of my code:
…

khaliq
- 3,125
- 4
- 17
- 23
0
votes
1 answer
Nested Dictionary with RestKit 0.2.0
I'm trying to process a rest response containing a nested dictionary using RestKit 0.20. here is the json response that I'm trying to process:
{
"name": "Tom",
"msgTo": "Hi ",
"msgFrom": "Hey",
"uuid": "4",
"ClientInfo": {
"Tom": {
…

chris fabri
- 1
- 1
- 1
0
votes
1 answer
Allow excerpt in JSON RestKit
If I have a JSON view that looks like this for a user object in my API:
{
"id": 1,
"posts": [
{ "id": 102 },
{ "id": 101 },
{ "id": 100 }
]
}
There are never more than three items in the posts array, it is…

Alyssa Ross
- 2,169
- 16
- 26
0
votes
1 answer
RestKit: connect relationships with routing
I have a CoreData relationship between a Car and a CarSetting. CarSetting can store different types of settings for a new car like rims, painting, transmission and so on. The Car has a relationship "carsettings" and the CarSetting has a relationship…

kohaXun
- 147
- 1
- 8
0
votes
1 answer
RestKit different mime type for one response
I would like to support different mime types for different responses. Most of the time the server returns json, but there are a few situations where it returns nothing and RestKit identifies these cases as plain/text mime types. Is there any…

Infinite Possibilities
- 7,415
- 13
- 55
- 118
0
votes
1 answer
RestKit / Core Data -- reset objects in backing store, not update
I'm running into a problem with updating objects in my local backing store in my iOS app. Lets say I have an object (in JSON format)
{
attr1: 'Hello',
attr2: 'World'
}
The corresponding NSManagedObject in my iOS app has two attributes: NSString…

DarezGhost
- 59
- 11
0
votes
2 answers
RestKit 0.20 Named Post requests
I am trying to post an object1 (managed object) and receive another object2 (not managed object).
I receive the following error:
W restkit.object_mapping:RKMapperOperation.m:98 Adding mapping error: Expected an object mapping for class of type…

Infinite Possibilities
- 7,415
- 13
- 55
- 118
0
votes
1 answer
How to send a XML formatted POST request with RestKit 0.20.1
I have an iOS app that is using RestKit 0.20.1 to pull data from a server. The server at this time can send JSON formatted data but is not able to receive JSON formatted data.
This is where my problem is. POST requests require HTTP Body and the…

Ben
- 967
- 3
- 9
- 23
0
votes
1 answer
RestKit 0.20: flattening the hierarchy with dynamic in JSON
I am using RestKit 0.20 and have a problem with mapping a JSON with hierarchy which contains dynamic keys into one Object.
The JSON looks like this:
{
"id": 42,
"name": "Name of this entity",
"specialDataMap": {
"2091:10": {
…

Michael Mühlebach
- 89
- 1
- 9
0
votes
0 answers
Could not locate sqlite database with RestKit 0.2
I am using RestKit 0.2 with CoredData in my project but I am not able find sqlite database file in my project. Normally (Without Restkit) Sqlite database is located at
~/Library/Application Support/iPhone Simulator/[SDK version]/Applications/[App…

tek3
- 2,095
- 2
- 20
- 50
0
votes
1 answer
No mappable values found when using RKXMLReaderSerialization
I have an iOS app using Restkit 0.20.1 along with RKXMLReaderSerialization 0.20.0 to pull xml formatted data from a server. The code works great if the server sends me JSON data but now that I am attempting to pull the data in XML format I have hit…

Ben
- 967
- 3
- 9
- 23