UITableView-FDTemplateLayoutCell
這貨使用時(shí)的一些坑:
1、UITableView關(guān)聯(lián)到父類,而在子類中注冊(cè)nib,會(huì)報(bào)錯(cuò)'Cell must be registered to table view for identifier
2、UITableView在故事板中做約束,如果排除其他錯(cuò)誤,仍報(bào)錯(cuò)'Cell must be registered to table view for identifier。刪除UITableView的約束,重新添加試試。