开发者

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.


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

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜