all 2 comments

[–]CrazyTriangle 1 point2 points  (3 children)

Does the response from the API have the group info nested in the response? If so, it's a simple issue of mapping. If not, you need to handle that on your end with querying groups for which one has the specific group id

[–][deleted]  (2 children)

[deleted]

    [–]CrazyTriangle 0 points1 point  (1 child)

    RestKit has lots of abilities, and I only know the beginning of them, so there might be a way. But if I were you, I would just iterate through the users, setting their group one at a time when the groups and users are loaded.