私はObjective-Cにかなり慣れていません。
すべてのデータがResponse
Dictionary に格納されている .plist を作成しました。
NSString *myListPath = [[NSBundle mainBundle] pathForResource:@"OffersList" ofType:@"plist"];
dic = [NSDictionary dictionaryWithContentsOfFile:myListPath];
tableData = [dic objectForKey:@"Response"];
今、私はそれtabledata
を辞書に変換しました。
NSDictionary *dict = [tableData objectAtIndex:indexPath.row];
cell.titleLabel.text = [dict objectForKey:@"title"];
cell.nowLabel.text = [dict objectForKey:@"price"];
cell.saveLabel.text = [dict objectForKey:@"rondel"];
さて、問題は、最初の 10 個のデータしかロードしないことです。また、ログに出力しようとしましたが、10 番目のデータの後、値は と表示されNULL
ます。