我正在添加NSDictionary
电话号码,NSMutableArray
如下所示:
NSMutableArray *main_level = [NSMutableArray array];
[main_level addObject:@{@"phone":@[@"052443223",@"763765347647",@"763765347647",@"763765347647",@"763765347647",@"763765347647",@"763765347647"]}];
这是日志打印的内容:
2013-10-14 10:49:27.544 tfv[44111:907] (
{
phone = (
052443223,
763765347647,
763765347647,
763765347647,
763765347647,
763765347647,
763765347647
);
}
)
但预期的结果是没有这样的大括号:当我记录这个时NSLog(@"%@",[main_level objectAtIndex:0]);
2013-10-14 10:50:22.539 tfv[44129:907] {
phone = (
052443223,
763765347647,
763765347647,
763765347647,
763765347647,
763765347647,
763765347647
);
}
为什么要添加这个大括号,我该如何避免?