OK, so I read that in Swift, we need to prefix our Core Data entity class names in the inspector with our project namespace.
Let's assume my project is called "MyProject", so for each on my Core Data entity in DataModel.xcdatamodeld
I add "MyProject":
MyProject.Book
MyProject.Library
When I select the two entities in the Data Model interface builder and go
Editor > Create NSManagedObject Subclass
It only generated 1 class file called MyProject
instead of the usual
Book class
Library class
That's how I normally do it with Objective C.
Is there an extra step with Swift that I'm not aware of ?