I’d like to know if there’s a way to directly insert an existing NSManagedObject into Core Data instead of creating a new one and filling its instance variables.
Edit:
removing from the ManagedObjectContext won’t work for me because I can’t handle it when user presses the back button on the Navigation Bar. That’s why I don’t wanna insert it.
Thank you
It’s kind of going beside the Core Data patterns, but it’s possible.
The code is smth like:
Perhaps, this discussion will be useful in your case also.