Search code examples
macosxcode4nsdictionarynstableviewnsarraycontroller

NSArrayController , arrangedObjects and tableColumn IB connection


I am new to mac development. I am trying to make this app from apple.com
At one point i am stucked in interface builder.

enter image description here

How do i connect arrangedObjects.firstName to the Value - Table Column - First Name and Last Name?

Edit:
this is my array controller and its bindings.

enter image description here

Thank you in advance..!!


Solution

  • Ctrl Shift click with a mouse on a column in your table (NOT column's header). You should see the list of views which are parent to each other:

    enter image description here

    Select NSTableColumn view. Then just open bindings tab and perform same procedure as with arrangedObjects' binding.