¡@

Home 

2014/10/15 ¤U¤È 10:14:43

iphone Programming Glossary: tabletesttableviewcontroller

UITableView issue when using separate delegate/dataSource

http://stackoverflow.com/questions/254354/uitableview-issue-when-using-separate-delegate-datasource

out to a separate class first create a new file in Xcode choosing UITableViewController subclass and calling the class TableTestTableViewController Remove the above code snippet from TableTestViewController.m and place it into TableTestTableViewController.m replacing.. the class TableTestTableViewController Remove the above code snippet from TableTestViewController.m and place it into TableTestTableViewController.m replacing the default implementation of these three methods with ours. Back in Interface Builder within the same TableTestViewController.xib.. delete the new UITableView object that automatically came with it Set the class for this new UITableViewController to TableTestTableViewController Remove the dataSource and delegate bindings from the existing previously working UITableView and reconnect the same two..