jjzjj

objective-c - afnetworking json到多维数组

真的很难弄清楚这一点。只是想从php获取数据curRow=[[NSMutableArrayalloc]init];[curRowaddObject:[JSONvalueForKeyPath:@"question"]];[curRowaddObject:[JSONvalueForKeyPath:@"answers"]];[curRowaddObject:[JSONvalueForKeyPath:@"correct_answer"]];[gameQuestionsaddObject:curRow];用另一种方法,我正在做这个inti=arc4random()%[gameQuestionsc