You need to sign in to do that
Don't have an account?
victor92
2 RESTREQUESTS
I have sent 2 querys in the same viewController. So I will be getting to the "- (void)request:(SFRestRequest *)request didLoadResponse:(id)jsonResponse" twice. So how can I distinguish 2 requests ??
I'd highly recommend you check out the new block methods in the SDK, which solves this problem very neatly :)
Hi
TAke one BOOL variable set it first it NO.
when you calling 1st query set YES..in your didrecieve response check whether if it YES .IF it is YES take the respone in ur dictionary and assign NO to BOOL.after second query in did receive respnse check for NO if it is no handle respnse.