Is there any way of getting the parent from the child nsArraycontroller?

52 Views Asked by At

using cocoa bindings, i have bound to the following:

ChildArrayController

ContentSet
bindto: ParentArrayController
controllerkey: selection
modelkeypath: children

Is there any way of getting the parent from the child controller?

[childArrayController arrangedObjects] is the children.

[childArrayController selectedObjects] is the selected children.

[childArrayController content] is an array

[childArrayController selection] is a proxy for the selected child.

I want to do something like id parent = [childArrayController xxx];

0

There are 0 best solutions below