title: Convert existing object model to Core Data managed object model
body: <p>I am developing an iOS app and have several object models. Now I want to convert them to core data managed objects, so creating the entities and attributes from the object instead of the standard opposite way of generating the objects from the model. What is the best way to accomplish this?</p>
  
  <p>I tried extending from <code>NSManagedObject</code> instead of <code>NSObject</code>, then manually creating the entities and attributes and setting up the Class name for the entity but that didn't work :-(</p>
  
  <p>Thanks</p>