Can I make NSManagedObject in singleton?
You've already gone around NSManagedObjectContext. You can use this to get the required data at any time.
I don't know how Core Data will react when you make one instance of this item. For example, NSmanagedObject does not use the same initialization methods as NSObject.
It uses -awakeFromInsert and -awakeFromFetch. So you already have a problem.
See this article by Marcus Zarra (Core Data Guru).
In short, just do a fresh fetch to get the data you want, no need to work with a single.
source to share
It depends on why you want to make it singleton, if you cannot manage to pass it to all entities that need to access the data, using a singleton solution is not a good solution anyway. This usually creates more problems than solving any problems.
If you are concerned about multiple changes to the same object, Core Data has mechanisms to fix it, see the Change Management chapter in the Master Data Programming Guide
source to share