What are the subclasses of "filename + CoreDataProperties.swift" and "filename.swift" of NSmanagedObject?

I recently noticed that when creating a subclass of NSManagedObject, two classes are created. One is the file name + CoreDataProperties.swift, and the other is the .swift filename. Is filename + CoreDataProperties.swift similar to filename.h and filename.swift to filename.m in Objective-c? If so, I can put my project in my logic inside filename.swift using the + CoreDataProperties.swift class.

I seriously could not find out the differences between these two files and what should I use? Any help is appreciated

+4
source share
1

, filename+CoreDataProperties.swift , Editor > Create NSManagedObject Subclass (, , ).

- ( ), .

, Core Data, , Core Data , , -Core Data.

+4

Source: https://habr.com/ru/post/1615357/


All Articles