• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CoreData, inheritance and plug-ins
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: CoreData, inheritance and plug-ins
      • From: Dave Hayden <email@hidden>
References: 
 >Re: CoreData, inheritance and plug-ins (From: Dave Hayden <email@hidden>)
 >Re: CoreData, inheritance and plug-ins (From: Miguel Sanchez <email@hidden>)

  • Prev by Date: Re: Crash in CFStringHash - can I do anything about this?
  • Next by Date: Re: test
  • Previous by thread: Re: CoreData, inheritance and plug-ins
  • Next by thread: Re: CoreData, inheritance and plug-ins
  • Index(es):
    • Date
    • Thread