Ios 在UITableView中获取JsonData
我有一个类似这样的json数据Ios 在UITableView中获取JsonData,ios,objective-c,json,uitableview,Ios,Objective C,Json,Uitableview,我有一个类似这样的json数据 LearnerNotes = ( ( { Notes = "Neely down"; NotesDate = "2014-10-27 13:53:47"; NotesID = 15; }, {
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";
}
现在我只收到了学习笔记,比如
NSArray *notesArray=[[[jsondata valueForKey:@"LearnerNotes"] objectAtIndex:0] valueForKey:@"Notes"];
在这种情况下
notesarray (
(
"Neely down",
Imposition
)
)
现在我想在UITableView中显示它,但它并没有出现,只有最后一个值出现(强制)。
我是iOS新手,请帮助….获取JSON数据并使用所有注释构建一个
NSArray
后,将此NSArray保留在某些属性中
通过实现所有必需的UITableViewDataSource