I am trying to find a way to link an array controller with an array. I know through an outlet that I can fill the textfield and even tableviews in the .xib file created with the interface builder.
I expected that it would be possible to have an easy outlet (NSARRA) and it would be an array controller. In return, a table will link the contents of your content to the array in the array. Is it possible or is I just thinking about non-Cocoa too much?
Right now, I have an object reference in the interface builder, which already passes through a couple of fields and some action handles buttons. If I try to link the controller with the outlet 'FileArere' then I can only link it to the object, not its outlet.
I am only starting one so I do not know why this is not possible?
Thank you!
You just need to go to the interface builder inspector in the Binding Pane and under "Controller Content" an NSArrayController You have to connect with the desired aura. After that you can tie NSTableColumn with the NSArray controller.
Look for an example of using NSArrayController.
In addition to this, the CoCiveV and gives some more precise instructions about using NSArrayController and using it with TableViews
Comments
Post a Comment