uicollectionview registerclass vs registernib时间:2024-08-20 00:06:02当cell是用代码实现的时候用registerclass,当cell是用xib文件实现的时候用registernib