2014-10-28 23 views
1

我有這樣獲得JsonData在UITableView的

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"; 
} 

一個JSON數據現在我只得到像LearnerNotes ...

NSArray *notesArray=[[[jsondata valueForKey:@"LearnerNotes"] objectAtIndex:0] valueForKey:@"Notes"]; 

在控制檯的目標,得到了下面

notesarray (
     (
     "Neely down", 
     Imposition 
    ) 
) 

現在我想在UITableView中顯示它,但它不是隻有最後一個值來了(拼版)。Iam新的iOS請幫助...。

回答