I have an NSDictionary json response object which is printed after calling a service URL.
Looks like this:
{
geofenceType="a";
resourceType="b";
requestType="c";
monitoringType="d";
},
{
geofenceType="a1";
resourcetype="b1";
requestType="c1";
monitoringType="d1";
}, ...and so on for different users.
Now I have a button infront of each user in a tableViewController, and on pressing the button, I need to call another service URL which takes as parameters the geofenceType and the requestType of that user. Can you help me with how to pass the parameters.
Firstly give each cellButton (When created in cellForRowATIndexPath)should be assigned a tag..supposedly indexPath.row.From your response it seems u have array of dictionaries.Set the Array in datasource method.
Then in the button selector..
use this
finally
shall give u the desired value