I'm currently diving further into Core Data and have some minor confusion about using Core Data NSManagedObject Models.
For example, I would have a "Contact" Entity that has properties such as firstname, lastname, address, etc...
What I'm trying to understand is if there's any "best practice" for using NSManagedObject as regular NSObjects, if that is at all possible.
For example, I have a server returning some contacts data in JSON, But I want to return it as some sort of a NSObject so it would have its own properties, methods, etc ... But on the other hand it would be stupid to create 2 classes to represent the Contact Entity - One for handling situations where I want to provide a sanitised object from server data (NSObject), and another when I want to handle Core Data (NSManagedObject). Is there any way to use a single object for both purposes ? What would be the best practice in this situation ?
Edit: Here's the general problem I'm having : http://pastebin.com/WHWNqj2f