ios10个随机数中取出4个互相不重复的数值
//10个随机数
NSMutableArray *arrayBegin = [[NSMutableArray alloc]initWithObjects:@"0",@"1",@"2",@"3",@"4",@"5",@"6",@"7",@"8",@"9",nil];
//结果存入的数组
NSMutableArray *arrayCunFang = [[NSMutableArray alloc]init
原创
2015-04-29 10:46:54 ·
1033 阅读 ·
0 评论