Nested models

2 views
Skip to first unread message

imunteanu

unread,
Apr 18, 2011, 12:55:00 AM4/18/11
to ObjectiveResource
First I'd like to thanks the authors for this handy lib they've
created.

My question is how ObjectiveResource is handling responses (JSON) with
one-to-many relations. I have a CATALOG model as response who contains
also many PRODUCTS and many IMAGES.

How should I organize the classes so I can receive the response in my
objective-c classes properly: CATALOG to go to Catalog.h class,
PRODUCTS to an NSArray of Product etc.

Thanks
Ionut Munteanu

Reply all
Reply to author
Forward
0 new messages