Wednesday 15 May 2013

core data - Rest Kit load to CoreData by ID -


Did the ruskit load relation object be created automatically by id and put them into core data?

Here is my JSONs

Waypoint:

  {"Date": "23/09/2012", "places_ids": [1182, 1065, 1140, 1126]} <   {"id": 1182, "name": "new-york", "temperature": 32}   / Pre> 

I want to map the option not only on loading and option to load the resetkit, but all related place objects such as: "Restrict, please, load this point with the URL

  ... / api / waypoints /: id "  

and this pathway loads all the place objects from the URL

 . . / Api / Places /: id   

Now there are 'places_ids' variable attributes and 'places' connections in the route point and it does not match those locations to load locations.

Wow is correct that the restaurant will not automatically go to the web and will get a place for you. At least it was in RestKit 0.1, you need to change your Jason the way you have to do something like this:

  {"date": "23/09/2012 "," Places_ids ": [{" id ": 1182}, {" id ": 1065}, {" id ": 1140}, {" id ": 1126}]}   

To understand that place_ids represent any other object in your graph.

No comments:

Post a Comment