CoreData 报错 Failed to call designated initializer on NSManagedObject class
Resolving ‘Failed to call designated initializer on NSManagedObject class’ The problem lies not in the code in your question, but in the snippet you included as comments to the other answer: 1var cu