Wednesday, March 16, 2011

make previously created classes part of an object graph in core data

I have an iPhone project with several classes I need to make NSmanagedObjects so I can use them with Core Data, I know how to create new classes from the model, but is there a way to do the opposite, link the classes with the object model graph.

From stackoverflow
  • Consider use the Factory Method design pattern. Upon request, instantiate a new object and place it in the graph, and return the newly created object as a result..

0 comments:

Post a Comment