我正在从 Web 服务获取数据并存储在NSMutableArray
app.firstName=[[NSMutableArray alloc]initWithObjects:[[[luckyNumbers valueForKey:@"findProviders"]valueForKey:@"quotes"]valueForKey:@"firstName"], nil];
NSLog(@"app.first %@",app.firstName);
app.first
(
(
"Tom ",
shamu,
Shiva
)
)
cell.Phone.text=[app.firstName objectAtIndex:indexPath.row];
由于以下未捕获的异常,控制台终止了应用程序:
'NSRangeException',原因:'*** -[__NSArrayM objectAtIndex:]:索引 1 超出范围 [0 .. 0]'