Theocacao
Leopard
Design Element
Comment on "NSTreeController and Drag and Drop"
by Frederick C. Lee — Mar 19
Great write-up.
I would love to see an example using CORE DATA + NSTreeController; specifically something with multiple nodes:

Region -->> Country -->> Province -->> City
| | | |
Maps Maps Maps Maps

Should I chain NSTreeControllers together?
How do I set up the respective Children Key Path/NSTreeController?
I understand the theory, but am getting confused with the implementation.

It appears I would need two (2) NSTreeControllers per region entity:
1) link to subRegion, 2) link to map.

That is, a Region's subRegion & map are siblings; one being a Leaf node (the map).

I would like to see a demo of something of this caliber.
Back to "NSTreeController and Drag and Drop"
Design Element

Copyright © Scott Stevenson 2004-2015