当执行var f = NSFetchRequest(entityName: “Users”)时候
报错:Generic parameter ‘ResultType’ could not be inferred
解决方法:
改为——
var f = NSFetchRequest<NSFetchRequestResult>(entityName: “Users”)
❤ 点击这里 -> 订阅《PAT | 蓝桥 | LeetCode学习路径 & 刷题经验》by 柳婼
当执行var f = NSFetchRequest(entityName: “Users”)时候
报错:Generic parameter ‘ResultType’ could not be inferred
解决方法:
改为——
var f = NSFetchRequest<NSFetchRequestResult>(entityName: “Users”)
❤ 点击这里 -> 订阅《PAT | 蓝桥 | LeetCode学习路径 & 刷题经验》by 柳婼