Xcode 8 generates broken NSManagedObject subclasses for iOS 10

后端 未结 22 936
栀梦
栀梦 2020-11-27 11:13

I updated my iOS app project recently to iOS 10. Now I\'m trying to change the Core Data Model of my app but the new NSManagedObject subclasses which Xcode generates are bro

22条回答
  •  情书的邮戳
    2020-11-27 12:04

    I found this Post from David Atkinson which is helpful in some way. If I generate the code the way David described. I just get the code with some Syntax errors and if I fix the errors everything works like before. There are no missing files starting with '.' any more.

    The syntax errors i Have to correct are - the unnecessary import - and some public properties which are not intended to be public in my code

提交回复
热议问题