Mac How to set title of NSBox from an array controller via cocoa- bindings

Monaj

macrumors regular
Original poster
May 24, 2009
193
0
Hi all,

I have an array controller holding some values, say - subjects. I am displaying these values in a table view. I want to set the title of NSBox as subject in selected row.

I tried to do it in following way:
Binding pane: Title, Controller Key: selection, Model Key Path: subject.

But it is always displaying nil as box title.

Can anyone suggest me how to do it correctly?

Thanks,

Monaj
 

kainjow

Moderator emeritus
Jun 15, 2000
7,958
5
Are you sure you have bound to the array controller and not something else? Do you get errors or just nothing?

Try reproducing in a separate blank project. It worked fine for me.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.