I currently have a view controller that implements ASIHTTP for handling API calls.
My view controller fires 2 separate calls. I need to be able to distinguish between t
You can check the url/originalUrl properties OR you can subclass it and add your own property to indicate the call how I do it because it is easier/faster to compare ints than strings.
i.e.
myRequest.callType = FACEBOOK_LOGIN;
I have all the calls in an enum like this:
enum calls {
FACEBOOK_LOGIN = 101,
FACEBOOK_GETWALL = 102,
...
}