完整报错信息:
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'unable to dequeue a cell with identifier cellId - must register a nib or a class for the identifier or connect a prototype cell in a storyboard'
原因:在代码中给定了控件id的时候却没有在面板storyboard中写上相应的id,给相应的控件写上id即可