www.cgdm.net > 请教关于遍历NSMutABlEArrAy

请教关于遍历NSMutABlEArrAy

for (NSDictionary *_ mydictionary in myarray ) { NSArray *keys=[_ mydictionary allKeys]; for(NSString *_key in keys) { NSString *value=[_ mydictionary objectofkey:_key]; } } 转载仅供参考,版权属于原作者。祝你愉快,满意请采纳哦

NSArray *a1 = [NSArray arrayWithObjects:@"Boston", @"1111", nil]; NSArray *a2 = [NSArray arrayWithObjects:@"NewYork", @"2222", nil]; NSArray *a3 = [NSArray arrayWithObjects:@"Boston", @"3333", nil]; NSArray *a4 = [NSArray array...

网站地图

All rights reserved Powered by www.cgdm.net

copyright ©right 2010-2021。
www.cgdm.net内容来自网络,如有侵犯请联系客服。zhit325@qq.com