class CustomCell: UITableViewCell {
override func awakeFromNib() {
super.awakeFromNib()
self.textLabel.backgroundColor = UIColor.redColor
//do other configurations
}
这是我的UI类,我需要在这里导入视图类。它一直给我错误“无法将视图解析为组件实现”。
答案 0 :(得分:0)
检查项目中是否加载了正确的SWC