I come from Android dev, so sorry if I\'m missing obvious iOS concepts here.
I have a JSON feed that looks like:
{\"directory\":[{\"id\":0,\"fName\":\"...\
For this, you can SBJSON framework.
You have to convert the response string into an NSDictionary like
NSString *responseString = [[NSString alloc]initWithData:responseData encoding:NSUTF8StringEncoding];
NSDictionary *dic = [responseString JSONValue];
Now you can create an object for Staff class.
Staff *staff = [[Staff alloc]init];
Then you can store values in this object like
staff.firstname = [[[dic objectForKey:@"directory"] objectAtIndex:0] objectForKey:@"fName"];
Now you can pass this single object to other classes