Re: CoreData, inheritance and plug-ins
Re: CoreData, inheritance and plug-ins
- Subject: Re: CoreData, inheritance and plug-ins
- From: Dave Hayden <email@hidden>
- Date: Thu, 15 Dec 2005 17:38:10 -0800
On Dec 8, 2005, at 5:17 PM, Miguel Sanchez wrote:
Strange, the calling setSubentities should only modify the
structure of the model before it's actually used to load data. Yet
you say that you get an infinite recursion while creating the DB,
which would be another step. Are you still having this problem? If
so, could you please file a bug or send a sample backtrace.
And sorry, we don't have an example for this, but modifying the
model in code should work as long as the result is a logical and
correct model.
Just to follow up, I've tried to reproduce this but haven't had the
same results. I tossed the original source after I decided to take a
different tack, assuming that I was doing something fundamentally
wrong. The only thing odd I remember was that when I looked at the
model in gdb, it showed that the entity in the parent's subentity
list had the parent set properly, but when shown in the top-level
list, its parent was (null). Now, of course, it seems to work as
advertised.
If I run into this again (or any other oddness) I'll be sure to make
a copy of the project.
Thanks!
-Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden