• 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: Crash when saving my Core Data context
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash when saving my Core Data context


  • Subject: Re: Crash when saving my Core Data context
  • From: Chris Hanson <email@hidden>
  • Date: Mon, 20 Jun 2005 00:38:38 -0700

On Jun 19, 2005, at 5:49 PM, Joseph Jones wrote:
I currently have a project that takes an XSD file, generates a core data object graph and populates the graph from the associated XML. Graph creation works fine. Graph population works fine. Saving the graph, however, does not work so well.

How do you create your object graph? Do you simply create managed objects using +[NSEntityDescription insertNewObjectForEntityForName:inManagedObjectContext:] and relate them to each other? Managed objects returned from that method are autoreleased.


I do have inverse relationships on all my objects so that you can completely navigate the model. I am not sure if that is a bad thing or not. If it is that seems to be a problem with Core Data. :-(

It is neither a good thing nor a bad thing. If there are inverse relationships, it means that Core Data can maintain them for you.


  -- Chris

_______________________________________________
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


References: 
 >Crash when saving my Core Data context (From: Joseph Jones <email@hidden>)

  • Prev by Date: Problem with very large scrolled NSViews
  • Next by Date: Delete rule "deny"
  • Previous by thread: Re: Crash when saving my Core Data context
  • Next by thread: NSTableView: data does not appear
  • Index(es):
    • Date
    • Thread