• 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
Core Data complex structure
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Core Data complex structure


  • Subject: Core Data complex structure
  • From: Sergio Bacchin <email@hidden>
  • Date: Tue, 14 Jun 2005 18:50:52 +0200

Hi,
I'm planning to build a core data app for the first time. My data structure is quite complex: a tree of entities (all one-to-many relationships) as follows:

    / C1
  B1- D1
 /  \ E1
/
A   
\  / G
 \F- H / C2
   \ B2- D2
       \ E2


1) The Bx entity (and its related Cx,Dx,Ex) is repeated 2 times in the graph (they are the same classes). How can I do it in a neater way? (eg. defining the B->C,D,E subtree, and then instantiating many times...)

2) Is it possible to represent an attribute in common to all entities (e.g. name) in a outlineview+treecontroller using bindings? Any hints?

Thank you very much for your attention.
SB

 _______________________________________________
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: Core Data complex structure
      • From: Bill Bumgarner <email@hidden>
  • Prev by Date: Re: Over-release *inside* framework when setting NSTextView attributes
  • Next by Date: Re: NSSliderCell does not use drawBarInside:flipped:?
  • Previous by thread: Re: Over-release *inside* framework when setting NSTextView attributes
  • Next by thread: Re: Core Data complex structure
  • Index(es):
    • Date
    • Thread