I have a very annoying problem with coredata. I have a NSManagedObject sublcass, i.e. "Customer" and everything is fine. Sometime i need to create a new Customer outside the coredata stack, and only in some case i need to save it.
I know i can use NSUndomanager, but it doesn't seem a good idea.
Now i have two classes Customer_managed (subclass of NSManagedObject) and Customer_unmanaged (subclass of NSObject). In Customer_unmanaged i've added a -(void)save method, but this two classes are very coupled, i'm looking for a best pattern.
thanks