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
I have a Flights Entity and these settings in the Data Model Inspector worked for me :
Set the Name to nothing(You will see some grayed out text of "NSManagedObject"). The default will be written as "Flights" just remove that.
Nothing in the module."Global Namespace" greyed out is what you will see.
Codegen to Manual/None.
Then Goto Editor -> Create NSManagedObject Subclass to create the swift files
Rename the Flights+CoreDataClass.swift to just Flights.swift
Here's the link to the Screenshot(For some reason imgur was rejecting it :( ) https://drive.google.com/file/d/0B8a3rG93GTRedkhvbWc5Ujl4Unc/view?usp=sharing