Core Data: Keypath Error Not Found in Entity

后端 未结 4 1083
陌清茗
陌清茗 2021-02-19 02:05

Could any one tell me what\'s the wrong with this code? It raises the following error and cause application to crash:

reason: \'keypath Studies.patients.Patient         


        
4条回答
  •  感情败类
    2021-02-19 02:28

    Either the Studies entity does not have a patient property, or whatever entity the patients relationship points to does not have a PatientName property (pay attention to upper/lowercase issues) or both.

提交回复
热议问题