Core Data: Could not cast value of type 'MyType_MyType_2' to MyType

前端 未结 4 1855
温柔的废话
温柔的废话 2020-12-29 21:10

I have an Objective-C model class MyType. This class is used in Swift code:

NSEntityDescription.insertNewObjectForEntit         


        
4条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-29 21:29

    1. Set Entity Class Name
    2. Set Module "Current Product Module" like below

提交回复
热议问题