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
addResponseDescriptors more than one
I wanna ask something in here. I've mapping the the object and add it to RKResponseDescriptor and it works, but there's a problem here. when the data from JSON is different, it doesn't mapping to the object that already created I just realize that…

maharprasetio
- 13
- 3
0
votes
1 answer
What is the preferred way of updating properties that are not part of mapping in RestKit
All the mapping of objects within a response object to objects in my data model is clear how to do and works well. However I need to update certain properties on the data model every time values change through mapping, which are not part of the…

Michael Loistl
- 271
- 3
- 10
0
votes
1 answer
RestKit 0.20 NSArray serialization problems
I'm trying to serialize an NSArray of objects.
The object serializes as:
{"age":1,"name":"Foo"}
If I have an NSArray Containing these objects, it should serialize…

GreenKiwi
- 1,025
- 13
- 28
0
votes
1 answer
RestKit - Multiple request descriptors for the same class (for different HTTP methods)
I have to use different request descriptors for the same class (for different HTTP methods).
Use case is the following:
I have User class with some attributes (properties), for example, identity, username, password, firstname, lastname.
I want to…

Oxygen
- 11
- 1
0
votes
2 answers
RestKit 0.20 — POST for all API calls leading to problems
I'm working with an API that only has POST calls. Create, edit, and delete. This is causing some problems with RestKit for editing and deleting.
Create works as expected. However, when I make an edit to an object it's not saved to my device until I…

rosem
- 1,311
- 14
- 19
-1
votes
1 answer
RestKit - Sync Data Base with local JSON file
I have provided with a sample JSON file (for testing purpose I haven't early access to the web service). after loading the file and converting to NSDictionary how can I use that dictionary and sync my data base? all the tutorials and samples I've…

Hashem Aboonajmi
- 13,077
- 8
- 66
- 75
-1
votes
2 answers
RestKit : how to map an array with correct type?
Got:
@property(nonatomic, retain) NSString *user;
@property(nonatomic, retain) NSString *token;
@property(nonatomic, retain) NSArray *list;// NSNumber only please!
And:
RKObjectMapping *mapping = [RKObjectMapping mappingForClass:[MyResponse…

Cœur
- 37,241
- 25
- 195
- 267
-1
votes
1 answer
RestKitObjectMapping Array off null objects
RestKitObjectMapping Array off null objects
I want to map CapitalImage object in Capital images object property.
//------------------------ The mapping I try to
[RKMIMETypeSerialization registerClass:[RKNSJSONSerialization class]
…

Imodeveloper
- 394
- 4
- 13
-1
votes
2 answers
Use RESTKit for two way synchronization
is it possible to use RESTKit for two way synchronization?
I played aroud with RESTKit and CoreDate. Now I can download all data from my REST service and all changes (create/modify/delete objects) in CoreDate will be overwritten by RESTKit.
Now I…

Obenland
- 856
- 16
- 28
-1
votes
1 answer
Combine server with local data using RestKit
I am using RestKit to download data from an API, namely an array of book descriptions. In my app, this data is read-only. I need that the user can mark some of the items downloaded as favourites.
I would like to save this bookmarks also in Core…

davidhernando
- 72
- 3
-2
votes
2 answers
Are self signed certificates considered invalid?
So we have been asked to use HTTP SSL with our current APP and i am not the most knowledgable about the whole deal, and with some frustration and much...much trial and error we got it connecting the server...However we had to set it so that it…

Genhain
- 1,937
- 1
- 19
- 38