3

I have a storyboard view controller scene the contains an NSArrayController object and an NSCollectionView. The bindings of the collection view look like this:

collection view bindings

The bindings of the array controller look like this:

array controller bindings

This seems like it should be enough but the array controller's selectionIndexes doesn't update when the collection view's does. How do I keep these in sync?

I should say, ticking the top two boxes here:

enter image description here

means they do stay in sync. However, I have to select both and I'd rather not have 'Avoid Empty Selection' as this means the first item in the collection view is always selected when the app starts.

Rik
  • 493
  • 1
  • 3
  • 12

0 Answers0