hey i’m new to iOS and having a hard time with RestKit
can anyone help me on how to do these two post requests
1)post a long value and map the response to
@interface CountResultVO : NSObject
{
long offercount;
long insertCount;
long favouriteOfferCount;
long favouriteInsertCount;
}
2)post the above object and map response to
@interface FooList : NSObject
{
NSArray * foo;
}
my main problem is posting payloads of primitive variables like int, long etc instead of mapped objects.
this may be useful to you: http://liebke.github.com/restkit-github-client-example/