CollectionViewCell返回表达式类型错误

时间:2019-05-25 04:31:46

标签: swift uicollectionview

let cell = collectionView.dequeueReusableCell(withReuseIdentifier: "", for: indexPath) as! Products_Collection

return cell // Cannot convert return expression of type 'Products_Collection' to return type 'UICollectionViewCell' (error)

0 个答案:

没有答案