Map relations between objects from different requests

19 views
Skip to first unread message

Bart

unread,
Nov 13, 2012, 5:09:22 AM11/13/12
to res...@googlegroups.com
Hi,

I was wondering if it's possible to map relations between objects that come from different requests and if so how? Here's an example of what I'm trying to achieve:

Let's say there's a Project object that contains Task objects. Do get all the details of a project I make the following request:

project/12.json, which returns a name and a description

Now when I want to retrieve that tasks for this project I use the following request:

project/12/tasks.json, giving me all the tasks for this project.

I'm using Core Data for persistence, but I have no idea how to make the relations between project and tasks and I can't find any example. Any help would be welcome!

Bart

unread,
Nov 19, 2012, 5:24:08 AM11/19/12
to res...@googlegroups.com
Could anyone please point me in the right direction? Thanks in advance

Bart

unread,
Nov 21, 2012, 5:29:14 AM11/21/12
to res...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages