JulianM
JulianM

Reputation: 2550

Core Data Model Subclassing (Not NSManagedObject subclassing)

I would like to know if anyone knows if it is possible to subclass a Core Data Model.

In my case I am developing a library that I would like to use in 2 projects. Both projects have nearly the same Data Objects that i would like to outsource into the library, because there are some classes and methods in this library which requires to know about the existence of these Entities.

Some ideas on that?

Upvotes: 0

Views: 105

Answers (1)

paulrehkugler
paulrehkugler

Reputation: 3271

It would probably be more stable through future releases to add a Category on NSManagedObjectModel, instead of subclassing it.

Upvotes: 1

Related Questions