Re: Repost: KVO Problem with NSCollectionView
Re: Repost: KVO Problem with NSCollectionView
- Subject: Re: Repost: KVO Problem with NSCollectionView
- From: Joachim Deelen <email@hidden>
- Date: Mon, 21 Apr 2008 00:22:33 +0200
Am 20.04.2008 um 22:08 schrieb Hamish Allan:
On Sun, Apr 20, 2008 at 7:34 PM, Joachim Deelen <cocoa-
email@hidden> 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
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden