我有这样的json数据
LearnerNotes = (
(
{
Notes = "Neely down";
NotesDate = "2014-10-27 13:53:47";
NotesID = 15;
},
{
Notes = Imposition;
NotesDate = "2014-10-27 13:22:28";
NotesID = 14;
}
)
);
PeriodDate = "2014-11-04T10";
PeriodID = 58127;
PersonID = 12735;
SubjectName = English;
TeacherNotes = "My Learning Choices: This note contoins the some text as the learner provide for the teacher when booking it and will always be shown first";
}现在我只得到了像LearnerNotes一样的…
NSArray *notesArray=[[[jsondata valueForKey:@"LearnerNotes"] objectAtIndex:0] valueForKey:@"Notes"];在控制台,目标是像这样
notesarray (
(
"Neely down",
Imposition
)
)现在我想在UITableView中显示它,但它并不是只会出现最后的值(强制)。我是iOS的新手,请帮助…。
发布于 2014-10-28 09:46:47
在获取JSON数据并使用所有注释构建NSArray之后,将此NSArray保存在某些属性中。
通过实现所有必需的NSArray,将此UITableViewDataSource用作UITableView的数据源
https://stackoverflow.com/questions/26604884
复制相似问题