Jenny,

I think what you want is to set the Entity on the NSTreeController to be the
Alpha entity, not Delta.

The predicate 'parent == nil' will only give you back Delta objects where
parent == nil.  From what you've said, this will never be true as the Alpha
objects are your top level objects.

Alpha (parent == nil)
|
|->Beta (parent == Alpha)
     |
     |->Delta (parent == Beta)
     |->Delta (parent == Beta)

---
Mark Townsend
http://www.markltownsend.com


On Wed, Feb 17, 2010 at 7:38 PM, Jenny M <safflo...@gmail.com> wrote:

> Sorry, realizing that the object chain isn't quite right. The Alpha-
> Beta relationship is one to one, NOT many to one. Each alpha has one
> beta, and one beta has multiple deltas. (I have multiple alpha
> objects, hence my initial comment of multiple, but the relationship is
> one-to-one.)
>
>
> On Feb 17, 7:22 pm, Jenny M <safflo...@gmail.com> wrote:
> > My objects are chained like:
> > Alpha (multiple) -> Beta (one) -> Delta (multiple) (delta has
> > references to itself via parent and children relationships)
> _______________________________________________
>
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/mltownsend%40gmail.com
>
> This email sent to mltowns...@gmail.com
>
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to