Data-binding in a NSCollectionView
-
30-10-2019 - |
Question
I've got a NSCollectionView
for which I do have a dataArray
and a selectedIndexes
NSIndexSet
defined in it's File's Owner
. (Since I'm working with MonoMac on that project I've had some trouble working with a simple NSArrayController
and so I decided to implement the source myself.) When initializing my controller I'm adding some data (NSMutableDictionary
s) to the dataArray
. When the application shows it's window all the data I just added is being displayed nicely.
The problem is that changes to the data source do not affect the interface in any way. Shouldn't the interface update itself automatically when I add, change or remove an item from the data source since I bound the values using it's corresponding keys?
Am I missing something? Any thoughts on that?
Thanks a lot
–f
No correct solution