Nsarraycontroller selection not updating

With the project highlighted in the Xcode Navigator pane use the “ ” button to add a target: Choose the “Cocoa Application” template for the new target from the OS X section: The product name for the target needs to be unique within the Xcode project so we will call the OS X target .

If you select an object with a binding like this, it will appear in Interface Builder's bindings panel (select the object and press Command-4) at the bottom under the "Parameters" section.

If you add no other support, this will be sufficient to support basic binding of an arbitrary object to this property.

But perhaps the expectations are different in the context of data binding.

So the bug here would be to ensure that a data-bound .

There is a fix for this unfortunate behavior: get the values when they are initially set, save them to persistent attributes (which you need to inform Interface Builder about) and then ignore any attempt in Interface Builder to set your options to binding has the "section Content Key", "row Display Key", "section Header Data Key" and "section Row Sort Key" values filled in, so the Column View will know where to find the rows for each section, the object used to display the row, the name for each section and the sort order for each section respectively.

Last modified 10-Dec-2016 15:16