views:

170

answers:

0

I'm programmatically observing the arrangedObjects of an NSArrayController and am having problem getting the index where something was changed.

Is it at all possible to get the Index/IndexSet where the change occured. It seems like it should be, since NSKeyValueChangeIndexesKey is defined for the change-dictionary. When inspecting the change-dictionary after an update of the NSArrayControllers array the value for NSKeyValueChangeIndexesKey is always null. Other values like for the NSKeyValueChangeKindKey are correct but the indexset is always missing.

What am I missing?

Cheers Johan