Re: NSTreeController w/Core Data: chaining NSManagedObjects in a hierarchy
Re: NSTreeController w/Core Data: chaining NSManagedObjects in a hierarchy
- Subject: Re: NSTreeController w/Core Data: chaining NSManagedObjects in a hierarchy
- From: Keith Wilson <email@hidden>
- Date: Mon, 20 Mar 2006 19:51:06 +1100
Maybe you should change your datamodel to be more generic, for example
put all your places in an Entity called Location
have a "Location Type" = { Hemisphere, Continent, Region, Country,
State, County, Province, City, Suburb, Street Address, MyPlace, ...
whatever, ...)
have a relationship called "Location contains Location"
BTW: I used to work for an oil company that divided the world into
four (4) hemispheres - so don't get too hung up on pedantics of
"Location Type" -it's really only a "label of convenience".
Keith from DownUnder
On 20/03/2006, at 6:37 PM, Frederick C. Lee wrote:
So my question is, How can I mimic the Core Data entity diagram in
NSOutlineview?
... In particular, how can I display 'Province' and below?
_______________________________________________
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