Convert an existing object model to an object-oriented data model

I am developing an iOS application and have several object models. Now I want to transform them into basic data-driven objects, so creating entities and attributes from an object instead of the standard opposite way of generating objects from a model. What is the best way to do this?

I tried the extension from NSManagedObjectinstead NSObject, then manually created entities and attributes and set the class name for the object, but this did not work: - (

thank

+5
source share
1 answer

I recently did this for a large project with a very large and complex data model. Here is a workflow that I found very doable.

Xcode . , , , .

Xcode . , , (, Event.h Event.m, Xcode, Event + Additions.h Event + Additions.m ).

+7

All Articles