I have an array inside an array named as officeList in the following format :-
(
(
Prospect,
Propose
),
(
Open,
Fund,
Propose
),
(
Settle,
Review
)
)
Problem is I got this array by converting the JSON file into an array and as a result of that I got this array of string inside an array. What I want is to fetch each value one by one like : "prospect", "propose", etc.
I am using following code to fetch data :
for (int i = 0;i<[_officelist count];i++)
{
id val=[officeSize objectAtIndex:i];
CGFloat val1=[val floatValue];
UILabel *newLabel = [[UILabel alloc] initWithFrame:CGRectMake(x, 20,val1,15)];
newLabel.text=[NSString stringWithFormat:@"%@",_officelist[i]];
newLabel.textAlignment = NSTextAlignmentCenter;
[self.roadmapCollectionView addSubview:newLabel];
x=x+val1;
}
_officelist[i]?