I have strange new feature in xcode 7, when I generate new NSManagedObject subclass then xcode create two classes: entity and their CoreDataProperties category, which contain fu
For Swift and Xcode 7 it is the same as the answer from Leszek S but only 2 files are created initially:
Later, if you make changes to the CoreData model and regenerate the NSManagedObject
subclass only the DBUser+CoreDataProperties.swift
gets updated. DBUser.swift
is left untouched.
So put all your code in DBUser.Swift
.