当cell是用代码实现的时候用registerclass,当cell是用xib文件实现的时候用registernib 转载于:https://www.cnblogs.com/yibinpan/p/5366239.html