ViewController1
에 UITableView
을 구현했으며 Array를 통해 TableView 셀 내용을 전달하고 표시했습니다.UITableview 셀 데이터를 동적으로
_tableData=[[NSMutableArray alloc]initWithObjects:@"1",@"2" ,@"3",@"4",nil];
cell.detailTextLabel.text=[_tableData objectAtIndex:indexPath.row];
이제 정적으로 데이터를 전달 했으므로 Model 클래스를 사용하여 동적으로 구현하고 싶습니다.
어떻게 모델 클래스 배열을 통해 배열을 변경할 수 있습니까? 당신이해야 할