I have a custom NSView (MyView), which is rendered by the NSViewCollectionItem.

MyView has a property of type MyObject.

My main NSWindowController has IBOutlets to NSViewCollection and NSArrayController.

NSArrayController is bound to an array of objects of type MyObject.

I'd like to have the values from the array to be bound to "myView.myObject" path.

I can't figure out how to set this up in IB. I don't understand which keys I should be using. Should my array be a collection of NSDictionary objects instead, so that I can have a key named "myObject" rather than storing the values directly?

I'm very new to bindings, so it's a bit of a struggle. Please help.