一,报以下错误
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'unable to dequeue a cell with identifier txTableCell - must register a nib or a class for the identifier or connect a prototype cell in a storyboard'
解决方法:
把用UITableViewController来做storyboard中您要显示的UITableview的视图控制器。确保UITableView不是嵌在一个View中。(原因不明)。