Im using the following piece of code to add elements to array dynamically.
for (response in jsonDic[@"value"][@"options"]){
NSMutableArray *notifyText = [[NSMutableArray alloc]init];
[notifyText addObject: jsonDic[@"value"][@"options"][response]];
NSLog(@"it is%@",notifyText[1]);
}
When i try to access using notifyText[1] ,what is the logic that I'm missing?