• 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
COREDATA - setSubEntities doesn't work
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

COREDATA - setSubEntities doesn't work


  • Subject: COREDATA - setSubEntities doesn't work
  • From: email@hidden
  • Date: Sun, 5 Feb 2006 22:35:30 -0800

Hi list,

I'm having trouble with linking two models at runtime, so I have distilled the problem into a model built at runtime, following apple's docs and examples.
Setting the subEntity to another works as far as its name is concerned, but no attributes are inherited...... very.... surprising.


I hope I am doing something stupid, but it looks like maybe not...

Here's a very simple example of an object graph constructed at runtime.
http://homepage.mac.com/son_gohan/ SimpleLinkedModelThatShouldWorkButDoesnt.zip


If your interested, please look at the app delegate and its - managedObjectModel method, this is from the coredata application template from Xcode.

I hope I can find a solution without going to DTS...

Thanks in advance for any info.

Andre
email@hidden



_______________________________________________
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 - setSubEntities doesn't work
      • From: email@hidden
  • Prev by Date: Re: Property name clashes with a method implemented by NSManagesObject or NSObject
  • Next by Date: test - please ignore
  • Previous by thread: Re: NSImage and layer transparency
  • Next by thread: Re: COREDATA - setSubEntities doesn't work
  • Index(es):
    • Date
    • Thread