Skip navigation.
 
mlRe: Repost: KVO Problem with NSCollectionView
FROM : Joachim Deelen
DATE : Mon Apr 21 00:22:33 2008

Am 20.04.2008 um 22:08 schrieb Hamish Allan:

> On Sun, Apr 20, 2008 at 7:34 PM, Joachim Deelen <cocoa-
> <email_removed>> wrote:
>

>> does really no one have a solution or a hint for the Problem 
>> mentioned
>> below? Maybe I'm understanding something wrong? Any help or Ideas 
>> would be
>> appreciated

>
> Are you using an NSArrayController between your NSCollectionView and
> your model objects?
>

Of course. Content is being provided by a NSArrayController. And I've 
added an observer to the key "selectionIndexes" of the 
ArrayController. But: I forgot to connect the "Selection Indexes" 
Binding of the NSCollectionView to the ArrayControllers 
"selectionIndexes" in IB. After connecting them together it works 
without errors.

So, thanks for the Tip with the ArrayController, that made me check my 
bindings..

regards
Joachim

> Hamish

Related mailsAuthorDate
mlKVO Problem with NSCollectionView Joachim Deelen Apr 16, 19:50
mlRepost: KVO Problem with NSCollectionView Joachim Deelen Apr 20, 19:34
mlRe: Repost: KVO Problem with NSCollectionView Hamish Allan Apr 20, 22:08
mlRe: Repost: KVO Problem with NSCollectionView Joachim Deelen Apr 21, 00:22